diff --git a/404.html b/404.html index 6aabb4b3..e1d7d362 100644 --- a/404.html +++ b/404.html @@ -5,14 +5,14 @@ -Page Not Found | Syscoin Docs - - +Page Not Found | Syscoin Docs + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - + + \ No newline at end of file diff --git a/assets/css/styles.f30439f9.css b/assets/css/styles.1eaaa00e.css similarity index 71% rename from assets/css/styles.f30439f9.css rename to assets/css/styles.1eaaa00e.css index a7a5e2a1..ed716984 100644 --- a/assets/css/styles.f30439f9.css +++ b/assets/css/styles.1eaaa00e.css @@ -22,4 +22,4 @@ --ifm-color-danger-darker );border-color:var( --ifm-color-danger-darker - )}.button-group,summary{display:inline-flex}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:var(--ifm-button-group-margin)}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group>.button--active{z-index:1}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column}.card--full-height,body,html{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style-type:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color)}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{appearance:none;background:none;border:none;color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__menu,.menu__link,.menu__link:hover{transition-duration:var(--ifm-transition-fast)}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;transform:scale(1);visibility:visible}.dropdown--right .dropdown__menu{right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);list-style:none;min-width:10rem;opacity:0;padding:.5rem;position:absolute;top:100%;transform:scale(.8);transition-property:opacity,transform,visibility;transition-timing-function:cubic-bezier(.24,.22,.015,1.56);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.dropdown__link{border-radius:.375rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;padding:.375rem .5rem}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown:not(.dropdown--nocaret)>.navbar__link{padding-right:calc(var(--ifm-navbar-item-padding-horizontal) + 1.1em)}.dropdown:not(.dropdown--nocaret)>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:absolute;top:55%;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:10rem}.footer__item,.pills__item+.pills__item{margin-top:0}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.footer__items{margin-bottom:0;padding-left:0}[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title,.mainline_jjKP{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0}.menu__list .menu__list{margin-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item{margin:.25rem 0}.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__link{border-radius:.25rem;display:flex;justify-content:space-between;line-height:20px;padding:var(--ifm-menu-link-padding-vertical) calc(var(--ifm-menu-link-padding-horizontal) + 1.25rem) var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal);position:relative}.menu__link,.menu__link:hover{color:var(--ifm-menu-color);transition-property:color,background;transition-timing-function:var(--ifm-transition-timing-default)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-timing-function:ease-in-out;visibility:hidden;left:0;top:0}.menu__link:hover{background:var(--ifm-menu-color-background-hover);text-decoration:none}.menu__link--sublist:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;content:" ";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;position:absolute;right:var(--ifm-menu-link-padding-horizontal);top:var(--ifm-menu-link-padding-vertical);transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.menu__link--active:not(.menu__link--sublist){background:var(--ifm-menu-color-background-active)}.menu--responsive .menu__button{bottom:2rem;display:none;position:fixed;right:1rem;z-index:var(--ifm-z-index-fixed)}.menu--show{background:var(--ifm-background-surface-color);bottom:0;left:0;overscroll-behavior:contain;padding:1rem;position:fixed;right:0;top:0;z-index:var(--ifm-z-index-overlay)}.menu--show .menu__list{display:inherit;opacity:1;transition:opacity var(--ifm-transition-fast) linear}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal);width:100%}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{align-items:stretch;display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;color:var(--ifm-navbar-link-color);display:flex;font-weight:700;height:2rem;margin-right:1rem;min-width:0}.navbar__brand:hover{color:inherit;text-decoration:none}.navbar__title{flex:1 1 auto}.navbar__toggle{background:none;border:none;color:inherit;cursor:pointer;display:none;margin-right:.5rem;padding:0}.navbar__item,.navbar__link{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__logo{height:100%;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__item{display:inline-block}.navbar__item.dropdown{padding:0}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{color:var(--ifm-navbar-link-color);font-weight:var(--ifm-font-weight-semibold);position:relative;text-decoration:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark{--ifm-navbar-background-color:#303846;--ifm-navbar-link-color:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);overflow:auto;position:fixed;transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translateZ(0)}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-duration:.1s;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.pagination__item,.pagination__link{display:inline-block}.navbar-sidebar__items{padding:.5rem}.pagination{font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item:not(:first-child){margin-left:var(--ifm-pagination-page-spacing)}.pagination__item:not(:last-child){margin-right:var(--ifm-pagination-page-spacing)}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.docs-wrapper,.flex,.pagination-nav{display:flex}.pagination-nav__item{display:flex;flex:1 50%;max-width:50%}.pagination-nav__item--next{text-align:right}.pagination-nav__item+.pagination-nav__item{margin-left:var(--ifm-spacing-horizontal)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);flex-grow:1;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pills__item--active{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background-color:var(--ifm-pills-color-background-active)}.pills__item:not(:first-child){margin-left:var(--ifm-pills-spacing)}.pills__item:not(:last-child){margin-right:var(--ifm-pills-spacing)}.pills--block{display:flex;justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto;padding-left:0}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;margin:0;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden}.text--break{word-wrap:break-word!important;word-break:break-word!important}.text--no-decoration,.text--no-decoration:hover{text-decoration:none}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}html[data-theme=dark]{--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#18191a;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%);--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#333437;--ifm-color-primary:#4e89e8;--ifm-color-primary-dark:#003545;--ifm-background-color:#020210}@font-face{font-display:auto;font-family:primeicons;font-style:normal;font-weight:400;src:url(/assets/fonts/primeicons-dfbfef2de4bfb34e9722e83542173aaf.eot);src:url(/assets/fonts/primeicons-dfbfef2de4bfb34e9722e83542173aaf.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/primeicons-3a0d4a58da62cf7c55bb243e98b172b5.ttf) format("truetype"),url(/assets/fonts/primeicons-e61f3495a7ecd3d571a4c9a98797e955.woff) format("woff"),url(/assets/images/primeicons-c55d94a248721abbd2205460c2ca9cea.svg?#primeicons) format("svg")}.pi{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:primeicons;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none}.pi:before{--webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{text-align:center;width:1.28571429em}.pi-spin{animation:2s linear infinite a}@keyframes a{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.pi-send:before{content:"\e9ca"}.pi-slack:before{content:"\e9c9"}.pi-sun:before{content:"\e9c8"}.pi-moon:before{content:"\e9c7"}.pi-vimeo:before{content:"\e9c6"}.pi-youtube:before{content:"\e9c5"}.pi-flag:before{content:"\e9c4"}.pi-wallet:before{content:"\e9c3"}.pi-map:before{content:"\e9c2"}.pi-link:before{content:"\e9c1"}.pi-credit-card:before{content:"\e9bf"}.pi-discord:before{content:"\e9c0"}.pi-percentage:before{content:"\e9be"}.pi-euro:before{content:"\e9bd"}.pi-book:before{content:"\e9ba"}.pi-shield:before{content:"\e9b9"}.pi-paypal:before{content:"\e9bb"}.pi-amazon:before{content:"\e9bc"}.pi-phone:before{content:"\e9b8"}.pi-filter-slash:before{content:"\e9b7"}.pi-facebook:before{content:"\e9b4"}.pi-github:before{content:"\e9b5"}.pi-twitter:before{content:"\e9b6"}.pi-step-backward-alt:before{content:"\e9ac"}.pi-step-forward-alt:before{content:"\e9ad"}.pi-forward:before{content:"\e9ae"}.pi-backward:before{content:"\e9af"}.pi-fast-backward:before{content:"\e9b0"}.pi-fast-forward:before{content:"\e9b1"}.pi-pause:before{content:"\e9b2"}.pi-play:before{content:"\e9b3"}.pi-compass:before{content:"\e9ab"}.pi-id-card:before{content:"\e9aa"}.pi-ticket:before{content:"\e9a9"}.pi-file-o:before{content:"\e9a8"}.pi-reply:before{content:"\e9a7"}.pi-directions-alt:before{content:"\e9a5"}.pi-directions:before{content:"\e9a6"}.pi-thumbs-up:before{content:"\e9a3"}.pi-thumbs-down:before{content:"\e9a4"}.pi-sort-numeric-down-alt:before{content:"\e996"}.pi-sort-numeric-up-alt:before{content:"\e997"}.pi-sort-alpha-down-alt:before{content:"\e998"}.pi-sort-alpha-up-alt:before{content:"\e999"}.pi-sort-numeric-down:before{content:"\e99a"}.pi-sort-numeric-up:before{content:"\e99b"}.pi-sort-alpha-down:before{content:"\e99c"}.pi-sort-alpha-up:before{content:"\e99d"}.pi-sort-alt:before{content:"\e99e"}.pi-sort-amount-up:before{content:"\e99f"}.pi-sort-amount-down:before{content:"\e9a0"}.pi-sort-amount-down-alt:before{content:"\e9a1"}.pi-sort-amount-up-alt:before{content:"\e9a2"}.pi-palette:before{content:"\e995"}.pi-undo:before{content:"\e994"}.pi-desktop:before{content:"\e993"}.pi-sliders-v:before{content:"\e991"}.pi-sliders-h:before{content:"\e992"}.pi-search-plus:before{content:"\e98f"}.pi-search-minus:before{content:"\e990"}.pi-file-excel:before{content:"\e98e"}.pi-file-pdf:before{content:"\e98d"}.pi-check-square:before{content:"\e98c"}.pi-chart-line:before{content:"\e98b"}.pi-user-edit:before{content:"\e98a"}.pi-exclamation-circle:before{content:"\e989"}.pi-android:before{content:"\e985"}.pi-google:before{content:"\e986"}.pi-apple:before{content:"\e987"}.pi-microsoft:before{content:"\e988"}.pi-heart:before{content:"\e984"}.pi-mobile:before{content:"\e982"}.pi-tablet:before{content:"\e983"}.pi-key:before{content:"\e981"}.pi-shopping-cart:before{content:"\e980"}.pi-comments:before{content:"\e97e"}.pi-comment:before{content:"\e97f"}.pi-briefcase:before{content:"\e97d"}.pi-bell:before{content:"\e97c"}.pi-paperclip:before{content:"\e97b"}.pi-share-alt:before{content:"\e97a"}.pi-envelope:before{content:"\e979"}.pi-volume-down:before{content:"\e976"}.pi-volume-up:before{content:"\e977"}.pi-volume-off:before{content:"\e978"}.pi-eject:before{content:"\e975"}.pi-money-bill:before{content:"\e974"}.pi-images:before{content:"\e973"}.pi-image:before{content:"\e972"}.pi-sign-in:before{content:"\e970"}.pi-sign-out:before{content:"\e971"}.pi-wifi:before{content:"\e96f"}.pi-sitemap:before{content:"\e96e"}.pi-chart-bar:before{content:"\e96d"}.pi-camera:before{content:"\e96c"}.pi-dollar:before{content:"\e96b"}.pi-lock-open:before{content:"\e96a"}.pi-table:before{content:"\e969"}.pi-map-marker:before{content:"\e968"}.pi-list:before{content:"\e967"}.pi-eye-slash:before{content:"\e965"}.pi-eye:before{content:"\e966"}.pi-folder-open:before{content:"\e964"}.pi-folder:before{content:"\e963"}.pi-video:before{content:"\e962"}.pi-inbox:before{content:"\e961"}.pi-lock:before{content:"\e95f"}.pi-unlock:before{content:"\e960"}.pi-tags:before{content:"\e95d"}.pi-tag:before{content:"\e95e"}.pi-power-off:before{content:"\e95c"}.pi-save:before{content:"\e95b"}.pi-question-circle:before{content:"\e959"}.pi-question:before{content:"\e95a"}.pi-copy:before{content:"\e957"}.pi-file:before{content:"\e958"}.pi-clone:before{content:"\e955"}.pi-calendar-times:before{content:"\e952"}.pi-calendar-minus:before{content:"\e953"}.pi-calendar-plus:before{content:"\e954"}.pi-ellipsis-v:before{content:"\e950"}.pi-ellipsis-h:before{content:"\e951"}.pi-bookmark:before{content:"\e94e"}.pi-globe:before{content:"\e94f"}.pi-replay:before{content:"\e94d"}.pi-filter:before{content:"\e94c"}.pi-print:before{content:"\e94b"}.pi-align-right:before{content:"\e946"}.pi-align-left:before{content:"\e947"}.pi-align-center:before{content:"\e948"}.pi-align-justify:before{content:"\e949"}.pi-cog:before{content:"\e94a"}.pi-cloud-download:before{content:"\e943"}.pi-cloud-upload:before{content:"\e944"}.pi-cloud:before{content:"\e945"}.pi-pencil:before{content:"\e942"}.pi-users:before{content:"\e941"}.pi-clock:before{content:"\e940"}.pi-user-minus:before{content:"\e93e"}.pi-user-plus:before{content:"\e93f"}.pi-trash:before{content:"\e93d"}.pi-external-link:before{content:"\e93c"}.pi-window-maximize:before{content:"\e93b"}.pi-window-minimize:before{content:"\e93a"}.pi-refresh:before{content:"\e938"}.pi-user:before{content:"\e939"}.pi-exclamation-triangle:before{content:"\e922"}.pi-calendar:before{content:"\e927"}.pi-chevron-circle-left:before{content:"\e928"}.pi-chevron-circle-down:before{content:"\e929"}.pi-chevron-circle-right:before{content:"\e92a"}.pi-chevron-circle-up:before{content:"\e92b"}.pi-angle-double-down:before{content:"\e92c"}.pi-angle-double-left:before{content:"\e92d"}.pi-angle-double-right:before{content:"\e92e"}.pi-angle-double-up:before{content:"\e92f"}.pi-angle-down:before{content:"\e930"}.pi-angle-left:before{content:"\e931"}.pi-angle-right:before{content:"\e932"}.pi-angle-up:before{content:"\e933"}.pi-upload:before{content:"\e934"}.pi-download:before{content:"\e956"}.pi-ban:before{content:"\e935"}.pi-star-o:before{content:"\e936"}.pi-star:before{content:"\e937"}.pi-chevron-left:before{content:"\e900"}.pi-chevron-right:before{content:"\e901"}.pi-chevron-down:before{content:"\e902"}.pi-chevron-up:before{content:"\e903"}.pi-caret-left:before{content:"\e904"}.pi-caret-right:before{content:"\e905"}.pi-caret-down:before{content:"\e906"}.pi-caret-up:before{content:"\e907"}.pi-search:before{content:"\e908"}.pi-check:before{content:"\e909"}.pi-check-circle:before{content:"\e90a"}.pi-times:before{content:"\e90b"}.pi-times-circle:before{content:"\e90c"}.pi-plus:before{content:"\e90d"}.pi-plus-circle:before{content:"\e90e"}.pi-minus:before{content:"\e90f"}.pi-minus-circle:before{content:"\e910"}.pi-circle-on:before{content:"\e911"}.pi-circle-off:before{content:"\e912"}.pi-sort-down:before{content:"\e913"}.pi-sort-up:before{content:"\e914"}.pi-sort:before{content:"\e915"}.pi-step-backward:before{content:"\e916"}.pi-step-forward:before{content:"\e917"}.pi-th-large:before{content:"\e918"}.pi-arrow-down:before{content:"\e919"}.pi-arrow-left:before{content:"\e91a"}.pi-arrow-right:before{content:"\e91b"}.pi-arrow-up:before{content:"\e91c"}.pi-bars:before{content:"\e91d"}.pi-arrow-circle-down:before{content:"\e91e"}.pi-arrow-circle-left:before{content:"\e91f"}.pi-arrow-circle-right:before{content:"\e920"}.pi-arrow-circle-up:before{content:"\e921"}.pi-info:before{content:"\e923"}.pi-info-circle:before{content:"\e924"}.pi-home:before{content:"\e925"}.pi-spinner:before{content:"\e926"}article header h1{font-size:1.7rem!important}h2{font-size:1.55rem!important}h3,h4{font-size:1.3rem!important}.dropdown__link{font-size:inherit}.docusaurus-highlight-code-line{background-color:#484d5b;display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.navbar{height:3rem}#nprogress .bar{background:#29d;height:2px;left:0;position:fixed;top:0;width:100%;z-index:5}#nprogress .peg{box-shadow:0 0 10px #29d,0 0 5px #29d;height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}#docusaurus-base-url-issue-banner-container,.themedImage_TMUO{display:none}.skipToContent_OuoZ{background-color:var(--ifm-background-surface-color);border:none;border-radius:var(--ifm-global-radius);color:var(--ifm-color-emphasis-900);font:inherit;left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_OuoZ:focus{left:1rem}.announcementBar_axC9{background-color:var(--ifm-color-primary);color:var(--ifm-color-black);height:var(--docusaurus-announcement-bar-height);position:relative;width:100%}.announcementBarClose_A3A1{background:none;border:none;color:inherit;cursor:pointer;font-size:1.25rem;height:100%;padding:0;position:absolute;right:0;top:0;width:55px}.announcementBarContent_6uhP{font-size:85%;padding:5px 0;text-align:center;width:100%}.announcementBarCloseable_y4cp{margin-right:55px}.announcementBarContent_6uhP a{color:inherit;text-decoration:underline}.addButton,a:hover{text-decoration:none}.toggle_iYfV{align-items:center;display:flex;height:10px;justify-content:center;width:10px}.toggle_iYfV:before{position:absolute}.react-toggle{cursor:pointer;position:relative;touch-action:pan-x;user-select:none}.react-toggle-screenreader-only{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.react-toggle--disabled{cursor:not-allowed}.react-toggle-track{background-color:#4d4d4d;border-radius:30px;height:24px;transition:.2s;width:50px}.react-toggle-track-check,.react-toggle-track-x{bottom:0;height:10px;margin:auto 0;top:0;position:absolute}.react-toggle-track-check{left:8px;opacity:0;transition:opacity .25s;width:14px}.react-toggle--checked .react-toggle-track-check,.react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-check{opacity:1;transition:opacity .25s}.react-toggle-track-x{right:10px;width:10px}.react-toggle--checked .react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-x{opacity:0}.react-toggle-thumb{background-color:#fafafa;border:1px solid #4d4d4d;border-radius:50%;height:22px;left:1px;position:absolute;top:1px;transition:.25s;width:22px}.react-toggle--checked .react-toggle-thumb,[data-theme=dark] .react-toggle .react-toggle-thumb{left:27px}.react-toggle--focus .react-toggle-thumb,.react-toggle:hover .react-toggle-thumb{box-shadow:0 0 2px 3px var(--ifm-color-primary)}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{box-shadow:0 0 5px 5px var(--ifm-color-primary)}html[data-theme=dark] .themedImage--dark_uzRr,html[data-theme=light] .themedImage--light_4Vu1{display:initial}.navbarHideable_RReh{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_FBwS{transform:translate3d(0,calc(var(--ifm-navbar-height)*-1),0)}.footerLogoLink_SRtH{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.codeBlockContent_csEI:hover>.copyButton_M3SB,.codeBlockTitle_oQzk:hover+.codeBlockContent_csEI .copyButton_M3SB,.copyButton_M3SB:focus,.footerLogoLink_SRtH:hover,.hash-link:focus,:hover>.hash-link{opacity:1}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.main-wrapper{flex:1 0 auto}details>summary:before{content:"ᐅ"}details[open]>summary:before{content:"ᐁ"}ul{padding-left:1.2em}.li-param{display:contents;line-height:1.2}.md-type{margin-bottom:0;margin-top:0;padding-bottom:0;padding-top:0}.short{height:1.6em}.short-spacing{line-height:1.2;margin-bottom:0;margin-top:.7em;padding:0}.required{color:#ff5512;font-size:small;padding-left:.5em}.react-tabs__tab-list{border-bottom:1px solid #aaa;margin:0 0 10px;padding:0}.react-tabs__tab{border:1px solid #0000;border-bottom:none;bottom:-1px;cursor:pointer;display:inline-block;list-style:none;padding:6px 12px;position:relative}.react-tabs__tab--selected{background:#fff;border-color:#aaa;border-radius:5px 5px 0 0;color:#000}.react-tabs__tab--disabled{color:GrayText;cursor:default}.react-tabs__tab:focus{border-color:#0188fe;box-shadow:0 0 5px #0188fe;outline:0}.react-tabs__tab:focus:after{background:#fff;bottom:-5px;content:"";height:5px;left:-4px;position:absolute;right:-4px}.collapseSidebarButton_eoK2,.react-tabs__tab-panel,.sidebarLogo_hmkv{display:none}.react-tabs__tab-panel--selected{display:block}.toggle-button{background-color:#0000;border:0;color:var(--ifm-background-surface-color-inverse);font-size:1.2em;padding-left:0}.lastUpdatedDate_nN9m{font-weight:700}.tableOfContents_vrFS{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.iconEdit_mS5F{margin-right:.3em;vertical-align:sub}.docTitle_-X99{font-size:3rem;margin-bottom:calc(var(--ifm-leading-desktop)*var(--ifm-leading))}.docItemContainer_oiyr{margin:0 auto;padding:0 .5rem}.sidebarMenuIcon_iZzd{vertical-align:middle}.sidebarMenuCloseIcon_6kU2{align-items:center;display:inline-flex;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);height:24px;justify-content:center;line-height:.9;width:24px}.menu__list .menu__list{overflow-y:hidden;transition:height var(--ifm-transition-fast) linear;will-change:height}.menu__list-item--collapsed .menu__list{overflow:hidden;height:0!important}.menuLinkExternal_anpt{align-items:center}.menuLinkExternal_anpt:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,0.5)' d='M21 13v10H0V4h12v2H2v15h17v-8h2zm3-12H13.012l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07L24 12V1z'/%3E%3C/svg%3E") no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.15rem;margin:0 0 0 3%;min-width:1.15rem;width:1.15rem}.codeBlockContent_csEI{direction:ltr;position:relative}.codeBlockTitle_oQzk{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:var(--ifm-global-radius);border-top-right-radius:var(--ifm-global-radius);font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_rtdJ{border-radius:var(--ifm-global-radius);overflow:auto}.codeBlockWithTitle_ZT05{border-top-left-radius:0;border-top-right-radius:0}.copyButton_M3SB{background:#0000004d;border:none;border-radius:var(--ifm-global-radius);color:var(--ifm-color-white);cursor:pointer;opacity:0;padding:.4rem .5rem;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);transition:opacity .2s ease-in-out;-webkit-user-select:none;user-select:none}.codeBlockLines_1zSZ{float:left;font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);min-width:100%;padding:var(--ifm-pre-padding);white-space:pre}.anchor{display:block;position:relative;top:-.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast)}.enhancedAnchor_WiXH{top:calc(var(--ifm-navbar-height)*-1 - .5rem)}.docMainContainer_r8cw,.docPage_lDyR{display:flex;width:100%}.addButton{align-items:flex-start;background-color:#153fab;border-radius:80px;clear:none;color:#fff;display:inline-block;font-family:Roboto,sans-serif;font-size:.75rem;font-weight:500;justify-content:flex-start;letter-spacing:.1em;margin:0 20px 0 0;padding:7px 15px;text-align:center;text-transform:uppercase;transition:background-color .35s,transform .35s;width:auto}.addButton:hover{background-color:#003f7e;color:#fff}.heroBanner_etFc{overflow:hidden;padding:2rem 0 0;position:relative;text-align:center}.buttons_\+YzY{align-items:center;display:flex;justify-content:center}.tagline_0m2L{font-size:1rem}.features_n4mZ{display:flex;flex-wrap:wrap;justify-content:center;padding-bottom:10px;width:100%}.featurePng_4RoP{height:12rem;width:12rem}.feature_TYIJ{background-color:#121212;height:20rem;padding-top:2rem;width:11rem}.featureButton_EIHW,.feature_TYIJ{word-wrap:break-word;align-items:center;text-align:center}.featureButton_EIHW{background-color:initial;border:none;color:#000;cursor:pointer;display:inline-block;margin:4px 5px}a:hover{color:#000}.box_DDom{height:20rem;width:12rem}@media (min-width:997px){.sidebar_a3j0{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_VlPv{padding-top:0}.sidebarHidden_OqfG{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_hmkv{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_hmkv img{height:2rem;margin-right:.5rem}.menu_cyFh{flex-grow:1;padding:.5rem}.menuLinkText_lRH\+{cursor:auto}.menuLinkText_lRH\+:hover{background:none}.menuWithAnnouncementBar_\+O1J{margin-bottom:var(--docusaurus-announcement-bar-height)}.collapseSidebarButton_eoK2{background-color:var(--ifm-button-background-color);border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_e\+kA{margin-top:4px;transform:rotate(180deg)}.expandSidebarButtonIcon_cxi8,html[dir=rtl] .collapseSidebarButtonIcon_e\+kA{transform:rotate(0)}html[data-theme=dark] .collapseSidebarButton_eoK2,html[data-theme=dark] .collapsedDocSidebar_zZpm:focus,html[data-theme=dark] .collapsedDocSidebar_zZpm:hover{background-color:var(--collapse-button-bg-color-dark)}.collapsedDocSidebar_zZpm:focus,.collapsedDocSidebar_zZpm:hover,html[data-theme=dark] .collapseSidebarButton_eoK2:focus,html[data-theme=dark] .collapseSidebarButton_eoK2:hover{background-color:var(--ifm-color-emphasis-200)}.docMainContainer_r8cw{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_SOUu{max-width:none}.docSidebarContainer_0YBq{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_Qlt2{cursor:pointer;width:30px}.collapsedDocSidebar_zZpm{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;position:sticky;top:0;transition:background-color var(--ifm-transition-fast) ease}html[dir=rtl] .expandSidebarButtonIcon_cxi8{transform:rotate(180deg)}.docItemWrapperEnhanced_aT5H{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))}}@media (min-width:997px) and (max-width:1320px){.docItemWrapper_NJLN{max-width:calc(var(--ifm-container-width) - var(--doc-sidebar-width) - var(--ifm-spacing-horizontal)*2)}.docItemWrapperEnhanced_aT5H{max-width:calc(var(--ifm-container-width) - var(--ifm-spacing-horizontal)*2)}}@media only screen and (min-width:997px){.docItemCol_zHA2{max-width:75%!important}}@media screen and (min-width:1024px){:root{--docusaurus-announcement-bar-height:30px}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1200px){h1{--ifm-h1-font-size:calc(1.375rem + 1.5vw)}}@media screen and (max-width:997px){.displayOnlyInLargeViewport_cxYs{display:none!important}}@media (max-width:996px){.row .col.col.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0;max-width:var(--ifm-col-width)}.footer{--ifm-footer-padding-horizontal:0}.footer__link-separator,.navbar__item{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.menu--responsive .menu__button,.navbar__toggle{display:inherit}.menu--responsive:not(.menu--show) .menu__list{display:none;opacity:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.pills--block .pills__item:not(:first-child){margin-top:var(--ifm-pills-spacing)}.pills--block .pills__item:not(:last-child){margin-bottom:var(--ifm-pills-spacing)}.tabs--block .tabs__item:not(:first-child){margin-top:var(--ifm-tabs-spacing)}.tabs--block .tabs__item:not(:last-child){margin-bottom:var(--ifm-tabs-spacing)}.searchWrapper_f8aU{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docSidebarContainer_0YBq{margin-top:0}}@media only screen and (max-width:996px){.tableOfContents_vrFS{display:none}.docItemContainer_VKW9,.docItemContainer_oiyr{padding:0 .3rem}}@media screen and (max-width:966px){.heroBanner_etFc{padding:2rem}}@media screen and (max-width:576px){.announcementBarClose_A3A1{width:35px}.announcementBarContent_6uhP{width:auto}.announcementBarCloseable_y4cp{margin-right:35px}}@media print{.announcementBar_axC9,.footer,.menu,.navbar,.pagination-nav,.table-of-contents{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_1zSZ{white-space:pre-wrap}} \ No newline at end of file + )}.button-group,summary{display:inline-flex}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:var(--ifm-button-group-margin)}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group>.button--active{z-index:1}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column}.card--full-height,body,html{height:100%}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style-type:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color)}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{appearance:none;background:none;border:none;color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__menu,.menu__link,.menu__link:hover{transition-duration:var(--ifm-transition-fast)}.close:hover{opacity:.7}.close:focus{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;transform:scale(1);visibility:visible}.dropdown--right .dropdown__menu{right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);list-style:none;min-width:10rem;opacity:0;padding:.5rem;position:absolute;top:100%;transform:scale(.8);transition-property:opacity,transform,visibility;transition-timing-function:cubic-bezier(.24,.22,.015,1.56);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.dropdown__link{border-radius:.375rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;padding:.375rem .5rem}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown:not(.dropdown--nocaret)>.navbar__link{padding-right:calc(var(--ifm-navbar-item-padding-horizontal) + 1.1em)}.dropdown:not(.dropdown--nocaret)>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:absolute;top:55%;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:10rem}.footer__item,.pills__item+.pills__item{margin-top:0}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.footer__items{margin-bottom:0;padding-left:0}[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title,.mainline_jjKP{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu{font-weight:var(--ifm-font-weight-semibold);overflow-x:hidden}.menu__list{margin:0;padding-left:0}.menu__list .menu__list{margin-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item{margin:.25rem 0}.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__link{border-radius:.25rem;display:flex;justify-content:space-between;line-height:20px;padding:var(--ifm-menu-link-padding-vertical) calc(var(--ifm-menu-link-padding-horizontal) + 1.25rem) var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal);position:relative}.menu__link,.menu__link:hover{color:var(--ifm-menu-color);transition-property:color,background;transition-timing-function:var(--ifm-transition-timing-default)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;transition-timing-function:ease-in-out;visibility:hidden;left:0;top:0}.menu__link:hover{background:var(--ifm-menu-color-background-hover);text-decoration:none}.menu__link--sublist:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;content:" ";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;position:absolute;right:var(--ifm-menu-link-padding-horizontal);top:var(--ifm-menu-link-padding-vertical);transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.menu__link--active:not(.menu__link--sublist){background:var(--ifm-menu-color-background-active)}.menu--responsive .menu__button{bottom:2rem;display:none;position:fixed;right:1rem;z-index:var(--ifm-z-index-fixed)}.menu--show{background:var(--ifm-background-surface-color);bottom:0;left:0;overscroll-behavior:contain;padding:1rem;position:fixed;right:0;top:0;z-index:var(--ifm-z-index-overlay)}.menu--show .menu__list{display:inherit;opacity:1;transition:opacity var(--ifm-transition-fast) linear}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal);width:100%}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar__inner{align-items:stretch;display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;color:var(--ifm-navbar-link-color);display:flex;font-weight:700;height:2rem;margin-right:1rem;min-width:0}.navbar__brand:hover{color:inherit;text-decoration:none}.navbar__title{flex:1 1 auto}.navbar__toggle{background:none;border:none;color:inherit;cursor:pointer;display:none;margin-right:.5rem;padding:0}.navbar__item,.navbar__link{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__logo{height:100%;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__item{display:inline-block}.navbar__item.dropdown{padding:0}#nprogress,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.navbar__link{color:var(--ifm-navbar-link-color);font-weight:var(--ifm-font-weight-semibold);position:relative;text-decoration:none}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark{--ifm-navbar-background-color:#303846;--ifm-navbar-link-color:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);overflow:auto;position:fixed;transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar--show .navbar-sidebar{transform:translateZ(0)}.navbar-sidebar__backdrop{background-color:#0009;position:fixed;right:0;transition-duration:.1s;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.pagination__item,.pagination__link{display:inline-block}.navbar-sidebar__items{padding:.5rem}.pagination{font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item:not(:first-child){margin-left:var(--ifm-pagination-page-spacing)}.pagination__item:not(:last-child){margin-right:var(--ifm-pagination-page-spacing)}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.docs-wrapper,.flex,.pagination-nav{display:flex}.pagination-nav__item{display:flex;flex:1 50%;max-width:50%}.pagination-nav__item--next{text-align:right}.pagination-nav__item+.pagination-nav__item{margin-left:var(--ifm-spacing-horizontal)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);flex-grow:1;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pills__item--active{background:var(--ifm-pills-color-background-active);color:var(--ifm-pills-color-active)}.pills__item:not(.pills__item--active):hover{background-color:var(--ifm-pills-color-background-active)}.pills__item:not(:first-child){margin-left:var(--ifm-pills-spacing)}.pills__item:not(:last-child){margin-right:var(--ifm-pills-spacing)}.pills--block{display:flex;justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto;padding-left:0}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;margin:0;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden}.text--break{word-wrap:break-word!important;word-break:break-word!important}.text--no-decoration,.text--no-decoration:hover{text-decoration:none}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}html[data-theme=dark]{--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#18191a;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%);--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#333437;--ifm-color-primary:#4e89e8;--ifm-color-primary-dark:#003545;--ifm-background-color:#020210}@font-face{font-display:auto;font-family:primeicons;font-style:normal;font-weight:400;src:url(/assets/fonts/primeicons-dfbfef2de4bfb34e9722e83542173aaf.eot);src:url(/assets/fonts/primeicons-dfbfef2de4bfb34e9722e83542173aaf.eot?#iefix) format("embedded-opentype"),url(/assets/fonts/primeicons-3a0d4a58da62cf7c55bb243e98b172b5.ttf) format("truetype"),url(/assets/fonts/primeicons-e61f3495a7ecd3d571a4c9a98797e955.woff) format("woff"),url(/assets/images/primeicons-c55d94a248721abbd2205460c2ca9cea.svg?#primeicons) format("svg")}.pi{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:primeicons;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none}.pi:before{--webkit-backface-visibility:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.pi-fw{text-align:center;width:1.28571429em}.pi-spin{animation:2s linear infinite a}@keyframes a{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.pi-send:before{content:"\e9ca"}.pi-slack:before{content:"\e9c9"}.pi-sun:before{content:"\e9c8"}.pi-moon:before{content:"\e9c7"}.pi-vimeo:before{content:"\e9c6"}.pi-youtube:before{content:"\e9c5"}.pi-flag:before{content:"\e9c4"}.pi-wallet:before{content:"\e9c3"}.pi-map:before{content:"\e9c2"}.pi-link:before{content:"\e9c1"}.pi-credit-card:before{content:"\e9bf"}.pi-discord:before{content:"\e9c0"}.pi-percentage:before{content:"\e9be"}.pi-euro:before{content:"\e9bd"}.pi-book:before{content:"\e9ba"}.pi-shield:before{content:"\e9b9"}.pi-paypal:before{content:"\e9bb"}.pi-amazon:before{content:"\e9bc"}.pi-phone:before{content:"\e9b8"}.pi-filter-slash:before{content:"\e9b7"}.pi-facebook:before{content:"\e9b4"}.pi-github:before{content:"\e9b5"}.pi-twitter:before{content:"\e9b6"}.pi-step-backward-alt:before{content:"\e9ac"}.pi-step-forward-alt:before{content:"\e9ad"}.pi-forward:before{content:"\e9ae"}.pi-backward:before{content:"\e9af"}.pi-fast-backward:before{content:"\e9b0"}.pi-fast-forward:before{content:"\e9b1"}.pi-pause:before{content:"\e9b2"}.pi-play:before{content:"\e9b3"}.pi-compass:before{content:"\e9ab"}.pi-id-card:before{content:"\e9aa"}.pi-ticket:before{content:"\e9a9"}.pi-file-o:before{content:"\e9a8"}.pi-reply:before{content:"\e9a7"}.pi-directions-alt:before{content:"\e9a5"}.pi-directions:before{content:"\e9a6"}.pi-thumbs-up:before{content:"\e9a3"}.pi-thumbs-down:before{content:"\e9a4"}.pi-sort-numeric-down-alt:before{content:"\e996"}.pi-sort-numeric-up-alt:before{content:"\e997"}.pi-sort-alpha-down-alt:before{content:"\e998"}.pi-sort-alpha-up-alt:before{content:"\e999"}.pi-sort-numeric-down:before{content:"\e99a"}.pi-sort-numeric-up:before{content:"\e99b"}.pi-sort-alpha-down:before{content:"\e99c"}.pi-sort-alpha-up:before{content:"\e99d"}.pi-sort-alt:before{content:"\e99e"}.pi-sort-amount-up:before{content:"\e99f"}.pi-sort-amount-down:before{content:"\e9a0"}.pi-sort-amount-down-alt:before{content:"\e9a1"}.pi-sort-amount-up-alt:before{content:"\e9a2"}.pi-palette:before{content:"\e995"}.pi-undo:before{content:"\e994"}.pi-desktop:before{content:"\e993"}.pi-sliders-v:before{content:"\e991"}.pi-sliders-h:before{content:"\e992"}.pi-search-plus:before{content:"\e98f"}.pi-search-minus:before{content:"\e990"}.pi-file-excel:before{content:"\e98e"}.pi-file-pdf:before{content:"\e98d"}.pi-check-square:before{content:"\e98c"}.pi-chart-line:before{content:"\e98b"}.pi-user-edit:before{content:"\e98a"}.pi-exclamation-circle:before{content:"\e989"}.pi-android:before{content:"\e985"}.pi-google:before{content:"\e986"}.pi-apple:before{content:"\e987"}.pi-microsoft:before{content:"\e988"}.pi-heart:before{content:"\e984"}.pi-mobile:before{content:"\e982"}.pi-tablet:before{content:"\e983"}.pi-key:before{content:"\e981"}.pi-shopping-cart:before{content:"\e980"}.pi-comments:before{content:"\e97e"}.pi-comment:before{content:"\e97f"}.pi-briefcase:before{content:"\e97d"}.pi-bell:before{content:"\e97c"}.pi-paperclip:before{content:"\e97b"}.pi-share-alt:before{content:"\e97a"}.pi-envelope:before{content:"\e979"}.pi-volume-down:before{content:"\e976"}.pi-volume-up:before{content:"\e977"}.pi-volume-off:before{content:"\e978"}.pi-eject:before{content:"\e975"}.pi-money-bill:before{content:"\e974"}.pi-images:before{content:"\e973"}.pi-image:before{content:"\e972"}.pi-sign-in:before{content:"\e970"}.pi-sign-out:before{content:"\e971"}.pi-wifi:before{content:"\e96f"}.pi-sitemap:before{content:"\e96e"}.pi-chart-bar:before{content:"\e96d"}.pi-camera:before{content:"\e96c"}.pi-dollar:before{content:"\e96b"}.pi-lock-open:before{content:"\e96a"}.pi-table:before{content:"\e969"}.pi-map-marker:before{content:"\e968"}.pi-list:before{content:"\e967"}.pi-eye-slash:before{content:"\e965"}.pi-eye:before{content:"\e966"}.pi-folder-open:before{content:"\e964"}.pi-folder:before{content:"\e963"}.pi-video:before{content:"\e962"}.pi-inbox:before{content:"\e961"}.pi-lock:before{content:"\e95f"}.pi-unlock:before{content:"\e960"}.pi-tags:before{content:"\e95d"}.pi-tag:before{content:"\e95e"}.pi-power-off:before{content:"\e95c"}.pi-save:before{content:"\e95b"}.pi-question-circle:before{content:"\e959"}.pi-question:before{content:"\e95a"}.pi-copy:before{content:"\e957"}.pi-file:before{content:"\e958"}.pi-clone:before{content:"\e955"}.pi-calendar-times:before{content:"\e952"}.pi-calendar-minus:before{content:"\e953"}.pi-calendar-plus:before{content:"\e954"}.pi-ellipsis-v:before{content:"\e950"}.pi-ellipsis-h:before{content:"\e951"}.pi-bookmark:before{content:"\e94e"}.pi-globe:before{content:"\e94f"}.pi-replay:before{content:"\e94d"}.pi-filter:before{content:"\e94c"}.pi-print:before{content:"\e94b"}.pi-align-right:before{content:"\e946"}.pi-align-left:before{content:"\e947"}.pi-align-center:before{content:"\e948"}.pi-align-justify:before{content:"\e949"}.pi-cog:before{content:"\e94a"}.pi-cloud-download:before{content:"\e943"}.pi-cloud-upload:before{content:"\e944"}.pi-cloud:before{content:"\e945"}.pi-pencil:before{content:"\e942"}.pi-users:before{content:"\e941"}.pi-clock:before{content:"\e940"}.pi-user-minus:before{content:"\e93e"}.pi-user-plus:before{content:"\e93f"}.pi-trash:before{content:"\e93d"}.pi-external-link:before{content:"\e93c"}.pi-window-maximize:before{content:"\e93b"}.pi-window-minimize:before{content:"\e93a"}.pi-refresh:before{content:"\e938"}.pi-user:before{content:"\e939"}.pi-exclamation-triangle:before{content:"\e922"}.pi-calendar:before{content:"\e927"}.pi-chevron-circle-left:before{content:"\e928"}.pi-chevron-circle-down:before{content:"\e929"}.pi-chevron-circle-right:before{content:"\e92a"}.pi-chevron-circle-up:before{content:"\e92b"}.pi-angle-double-down:before{content:"\e92c"}.pi-angle-double-left:before{content:"\e92d"}.pi-angle-double-right:before{content:"\e92e"}.pi-angle-double-up:before{content:"\e92f"}.pi-angle-down:before{content:"\e930"}.pi-angle-left:before{content:"\e931"}.pi-angle-right:before{content:"\e932"}.pi-angle-up:before{content:"\e933"}.pi-upload:before{content:"\e934"}.pi-download:before{content:"\e956"}.pi-ban:before{content:"\e935"}.pi-star-o:before{content:"\e936"}.pi-star:before{content:"\e937"}.pi-chevron-left:before{content:"\e900"}.pi-chevron-right:before{content:"\e901"}.pi-chevron-down:before{content:"\e902"}.pi-chevron-up:before{content:"\e903"}.pi-caret-left:before{content:"\e904"}.pi-caret-right:before{content:"\e905"}.pi-caret-down:before{content:"\e906"}.pi-caret-up:before{content:"\e907"}.pi-search:before{content:"\e908"}.pi-check:before{content:"\e909"}.pi-check-circle:before{content:"\e90a"}.pi-times:before{content:"\e90b"}.pi-times-circle:before{content:"\e90c"}.pi-plus:before{content:"\e90d"}.pi-plus-circle:before{content:"\e90e"}.pi-minus:before{content:"\e90f"}.pi-minus-circle:before{content:"\e910"}.pi-circle-on:before{content:"\e911"}.pi-circle-off:before{content:"\e912"}.pi-sort-down:before{content:"\e913"}.pi-sort-up:before{content:"\e914"}.pi-sort:before{content:"\e915"}.pi-step-backward:before{content:"\e916"}.pi-step-forward:before{content:"\e917"}.pi-th-large:before{content:"\e918"}.pi-arrow-down:before{content:"\e919"}.pi-arrow-left:before{content:"\e91a"}.pi-arrow-right:before{content:"\e91b"}.pi-arrow-up:before{content:"\e91c"}.pi-bars:before{content:"\e91d"}.pi-arrow-circle-down:before{content:"\e91e"}.pi-arrow-circle-left:before{content:"\e91f"}.pi-arrow-circle-right:before{content:"\e920"}.pi-arrow-circle-up:before{content:"\e921"}.pi-info:before{content:"\e923"}.pi-info-circle:before{content:"\e924"}.pi-home:before{content:"\e925"}.pi-spinner:before{content:"\e926"}article header h1{font-size:1.7rem!important}h2{font-size:1.55rem!important}h3,h4{font-size:1.3rem!important}.dropdown__link{font-size:inherit}.docusaurus-highlight-code-line{background-color:#484d5b;display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.navbar{height:3rem}#nprogress .bar{background:#29d;height:2px;left:0;position:fixed;top:0;width:100%;z-index:5}#nprogress .peg{box-shadow:0 0 10px #29d,0 0 5px #29d;height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}#docusaurus-base-url-issue-banner-container,.themedImage_TMUO{display:none}.skipToContent_OuoZ{background-color:var(--ifm-background-surface-color);border:none;border-radius:var(--ifm-global-radius);color:var(--ifm-color-emphasis-900);font:inherit;left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_OuoZ:focus{left:1rem}.announcementBar_axC9{background-color:var(--ifm-color-primary);color:var(--ifm-color-black);height:var(--docusaurus-announcement-bar-height);position:relative;width:100%}.announcementBarClose_A3A1{background:none;border:none;color:inherit;cursor:pointer;font-size:1.25rem;height:100%;padding:0;position:absolute;right:0;top:0;width:55px}.announcementBarContent_6uhP{font-size:85%;padding:5px 0;text-align:center;width:100%}.announcementBarCloseable_y4cp{margin-right:55px}.announcementBarContent_6uhP a{color:inherit;text-decoration:underline}.addButton,a:hover{text-decoration:none}.toggle_iYfV{align-items:center;display:flex;height:10px;justify-content:center;width:10px}.toggle_iYfV:before{position:absolute}.react-toggle{cursor:pointer;position:relative;touch-action:pan-x;user-select:none}.react-toggle-screenreader-only{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;position:absolute;width:1px}.react-toggle--disabled{cursor:not-allowed}.react-toggle-track{background-color:#4d4d4d;border-radius:30px;height:24px;transition:.2s;width:50px}.react-toggle-track-check,.react-toggle-track-x{bottom:0;height:10px;margin:auto 0;top:0;position:absolute}.react-toggle-track-check{left:8px;opacity:0;transition:opacity .25s;width:14px}.react-toggle--checked .react-toggle-track-check,.react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-check{opacity:1;transition:opacity .25s}.react-toggle-track-x{right:10px;width:10px}.react-toggle--checked .react-toggle-track-x,[data-theme=dark] .react-toggle .react-toggle-track-x{opacity:0}.react-toggle-thumb{background-color:#fafafa;border:1px solid #4d4d4d;border-radius:50%;height:22px;left:1px;position:absolute;top:1px;transition:.25s;width:22px}.react-toggle--checked .react-toggle-thumb,[data-theme=dark] .react-toggle .react-toggle-thumb{left:27px}.react-toggle--focus .react-toggle-thumb,.react-toggle:hover .react-toggle-thumb{box-shadow:0 0 2px 3px var(--ifm-color-primary)}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{box-shadow:0 0 5px 5px var(--ifm-color-primary)}html[data-theme=dark] .themedImage--dark_uzRr,html[data-theme=light] .themedImage--light_4Vu1{display:initial}.navbarHideable_RReh{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_FBwS{transform:translate3d(0,calc(var(--ifm-navbar-height)*-1),0)}.footerLogoLink_SRtH{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.codeBlockContent_csEI:hover>.copyButton_M3SB,.codeBlockTitle_oQzk:hover+.codeBlockContent_csEI .copyButton_M3SB,.copyButton_M3SB:focus,.footerLogoLink_SRtH:hover,.hash-link:focus,:hover>.hash-link{opacity:1}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.main-wrapper{flex:1 0 auto}details>summary:before{content:"ᐅ"}details[open]>summary:before{content:"ᐁ"}ul{padding-left:1.2em}.li-param{display:contents;line-height:1.2}.md-type{margin-bottom:0;margin-top:0;padding-bottom:0;padding-top:0}.short{height:1.6em}.short-spacing{line-height:1.2;margin-bottom:0;margin-top:.7em;padding:0}.required{color:#ff5512;font-size:small;padding-left:.5em}.react-tabs__tab-list{border-bottom:1px solid #aaa;margin:0 0 10px;padding:0}.react-tabs__tab{border:1px solid #0000;border-bottom:none;bottom:-1px;cursor:pointer;display:inline-block;list-style:none;padding:6px 12px;position:relative}.react-tabs__tab--selected{background:#fff;border-color:#aaa;border-radius:5px 5px 0 0;color:#000}.react-tabs__tab--disabled{color:GrayText;cursor:default}.react-tabs__tab:focus{border-color:#0188fe;box-shadow:0 0 5px #0188fe;outline:0}.react-tabs__tab:focus:after{background:#fff;bottom:-5px;content:"";height:5px;left:-4px;position:absolute;right:-4px}.collapseSidebarButton_eoK2,.react-tabs__tab-panel,.sidebarLogo_hmkv{display:none}.react-tabs__tab-panel--selected{display:block}.toggle-button{background-color:#0000;border:0;color:var(--ifm-background-surface-color-inverse);font-size:1.2em;padding-left:0}.lastUpdatedDate_nN9m{font-weight:700}.tableOfContents_vrFS{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 2rem)}.iconEdit_mS5F{margin-right:.3em;vertical-align:sub}.docTitle_-X99{font-size:3rem;margin-bottom:calc(var(--ifm-leading-desktop)*var(--ifm-leading))}.docItemContainer_oiyr{margin:0 auto;padding:0 .5rem}.sidebarMenuIcon_iZzd{vertical-align:middle}.sidebarMenuCloseIcon_6kU2{align-items:center;display:inline-flex;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);height:24px;justify-content:center;line-height:.9;width:24px}.menu__list .menu__list{overflow-y:hidden;transition:height var(--ifm-transition-fast) linear;will-change:height}.menu__list-item--collapsed .menu__list{overflow:hidden;height:0!important}.menuLinkExternal_anpt{align-items:center}.menuLinkExternal_anpt:after{background:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='rgba(0,0,0,0.5)' d='M21 13v10H0V4h12v2H2v15h17v-8h2zm3-12H13.012l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07L24 12V1z'/%3E%3C/svg%3E") no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.15rem;margin:0 0 0 3%;min-width:1.15rem;width:1.15rem}.codeBlockContent_csEI{direction:ltr;position:relative}.codeBlockTitle_oQzk{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:var(--ifm-global-radius);border-top-right-radius:var(--ifm-global-radius);font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_rtdJ{border-radius:var(--ifm-global-radius);overflow:auto}.codeBlockWithTitle_ZT05{border-top-left-radius:0;border-top-right-radius:0}.copyButton_M3SB{background:#0000004d;border:none;border-radius:var(--ifm-global-radius);color:var(--ifm-color-white);cursor:pointer;opacity:0;padding:.4rem .5rem;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2);transition:opacity .2s ease-in-out;-webkit-user-select:none;user-select:none}.codeBlockLines_1zSZ{float:left;font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);min-width:100%;padding:var(--ifm-pre-padding);white-space:pre}.anchor{display:block;position:relative;top:-.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast)}.enhancedAnchor_WiXH{top:calc(var(--ifm-navbar-height)*-1 - .5rem)}.docMainContainer_r8cw,.docPage_lDyR{display:flex;width:100%}.addButton{align-items:flex-start;background-color:#153fab;border-radius:80px;clear:none;color:#fff;display:inline-block;font-family:Roboto,sans-serif;font-size:.75rem;font-weight:500;justify-content:flex-start;letter-spacing:.1em;margin:0 20px 0 0;padding:7px 15px;text-align:center;text-transform:uppercase;transition:background-color .35s,transform .35s;width:auto}.addButton:hover{background-color:#003f7e;color:#fff}.heroBanner_etFc{overflow:hidden;padding:2rem 0 0;position:relative;text-align:center}.buttons_\+YzY{align-items:center;display:flex;justify-content:center}.tagline_0m2L{font-size:1rem}.features_n4mZ{display:flex;flex-wrap:wrap;justify-content:center;padding-bottom:10px;width:100%}.featurePng_4RoP{height:12rem;width:12rem}.feature_TYIJ{background-color:#121212;height:20rem;padding-top:2rem;width:11rem}.featureButton_EIHW,.feature_TYIJ{word-wrap:break-word;align-items:center;text-align:center}.featureButton_EIHW{background-color:initial;border:none;color:#000;cursor:pointer;display:inline-block;margin:4px 5px}a:hover{color:#000}.box_DDom{height:20rem;width:12rem}@media (min-width:997px){.sidebar_a3j0{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_VlPv{padding-top:0}.sidebarHidden_OqfG{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_hmkv{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_hmkv img{height:2rem;margin-right:.5rem}.menu_cyFh{flex-grow:1;padding:.5rem}.menuLinkText_lRH\+{cursor:auto}.menuLinkText_lRH\+:hover{background:none}.menuWithAnnouncementBar_\+O1J{margin-bottom:var(--docusaurus-announcement-bar-height)}.collapseSidebarButton_eoK2{background-color:var(--ifm-button-background-color);border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px;position:sticky}.collapseSidebarButtonIcon_e\+kA{margin-top:4px;transform:rotate(180deg)}.expandSidebarButtonIcon_cxi8,html[dir=rtl] .collapseSidebarButtonIcon_e\+kA{transform:rotate(0)}html[data-theme=dark] .collapseSidebarButton_eoK2,html[data-theme=dark] .collapsedDocSidebar_zZpm:focus,html[data-theme=dark] .collapsedDocSidebar_zZpm:hover{background-color:var(--collapse-button-bg-color-dark)}.collapsedDocSidebar_zZpm:focus,.collapsedDocSidebar_zZpm:hover,html[data-theme=dark] .collapseSidebarButton_eoK2:focus,html[data-theme=dark] .collapseSidebarButton_eoK2:hover{background-color:var(--ifm-color-emphasis-200)}.docMainContainer_r8cw{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_SOUu{max-width:none}.docSidebarContainer_0YBq{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_Qlt2{cursor:pointer;width:30px}.collapsedDocSidebar_zZpm{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;position:sticky;top:0;transition:background-color var(--ifm-transition-fast) ease}html[dir=rtl] .expandSidebarButtonIcon_cxi8{transform:rotate(180deg)}.docItemWrapperEnhanced_aT5H{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))}}@media (min-width:997px) and (max-width:1320px){.docItemWrapper_NJLN{max-width:calc(var(--ifm-container-width) - var(--doc-sidebar-width) - var(--ifm-spacing-horizontal)*2)}.docItemWrapperEnhanced_aT5H{max-width:calc(var(--ifm-container-width) - var(--ifm-spacing-horizontal)*2)}}@media only screen and (min-width:997px){.docItemCol_zHA2{max-width:75%!important}}@media screen and (min-width:1024px){:root{--docusaurus-announcement-bar-height:30px}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:1200px){h1{--ifm-h1-font-size:calc(1.375rem + 1.5vw)}}@media screen and (max-width:997px){.displayOnlyInLargeViewport_cxYs{display:none!important}}@media (max-width:996px){.row .col.col.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0;max-width:var(--ifm-col-width)}.footer{--ifm-footer-padding-horizontal:0}.footer__link-separator,.navbar__item{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.menu--responsive .menu__button,.navbar__toggle{display:inherit}.menu--responsive:not(.menu--show) .menu__list{display:none;opacity:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.pills--block .pills__item:not(:first-child){margin-top:var(--ifm-pills-spacing)}.pills--block .pills__item:not(:last-child){margin-bottom:var(--ifm-pills-spacing)}.tabs--block .tabs__item:not(:first-child){margin-top:var(--ifm-tabs-spacing)}.tabs--block .tabs__item:not(:last-child){margin-bottom:var(--ifm-tabs-spacing)}.searchWrapper_f8aU{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docSidebarContainer_0YBq{margin-top:0}}@media only screen and (max-width:996px){.tableOfContents_vrFS{display:none}.docItemContainer_VKW9,.docItemContainer_oiyr{padding:0 .3rem}}@media screen and (max-width:966px){.heroBanner_etFc{padding:2rem}}@media screen and (max-width:576px){.announcementBarClose_A3A1{width:35px}.announcementBarContent_6uhP{width:auto}.announcementBarCloseable_y4cp{margin-right:35px}}@media print{.announcementBar_axC9,.footer,.menu,.navbar,.pagination-nav,.table-of-contents{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_1zSZ{white-space:pre-wrap}} \ No newline at end of file diff --git a/assets/js/038b7bcf.5fc0cbbf.js b/assets/js/038b7bcf.5fc0cbbf.js deleted file mode 100644 index c54ab299..00000000 --- a/assets/js/038b7bcf.5fc0cbbf.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5522],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>y});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},h=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,s=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),d=c(n),h=r,y=d["".concat(l,".").concat(h)]||d[h]||u[h]||s;return n?a.createElement(y,o(o({ref:t},p),{},{components:n})):a.createElement(y,o({ref:t},p))}));function y(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var s=n.length,o=new Array(s);o[0]=h;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[d]="string"==typeof e?e:r,o[1]=i;for(var c=2;c{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>s,metadata:()=>o,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const s={},o={unversionedId:"tech/notary",id:"tech/notary",isDocsHomePage:!1,title:"Notary and Business Rulesets",description:"On Syscoin's native UTXO chain, an asset issuer can opt to introduce a permissioned layer in the form of a notary for their specific token, such that simple value transfers of that asset must meet rules defined by the issuer in order to be notarized and allowed to settle on-chain. With a Notary endpoint, any allocation of the asset must pass the endpoint's checks to be granted the notary's signature and be accepted into a block.",source:"@site/docs/tech/notary.mdx",sourceDirName:"tech",slug:"/tech/notary",permalink:"/docs/tech/notary",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"NEVM Chain (EVM)",permalink:"/docs/tech/nevm"},next:{title:"PoDA (Data Availability on Layer 1)",permalink:"/docs/tech/poda"}},i=[{value:"Regulatory Compliance at Scale",id:"regulatory-compliance-at-scale",children:[]},{value:"General Purpose",id:"general-purpose",children:[]},{value:"How to Implement",id:"how-to-implement",children:[{value:"Relevant Fields",id:"relevant-fields",children:[]},{value:"How to Activate Notary",id:"how-to-activate-notary",children:[]}]}],l={toc:i},c="wrapper";function p(e){let{components:t,...n}=e;return(0,r.kt)(c,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"On Syscoin's native UTXO chain, an asset issuer can opt to introduce a permissioned layer in the form of a notary for their specific token, such that simple value transfers of that asset must meet rules defined by the issuer in order to be notarized and allowed to settle on-chain. With a Notary endpoint, any allocation of the asset must pass the endpoint's checks to be granted the notary's signature and be accepted into a block."),(0,r.kt)("h2",{id:"regulatory-compliance-at-scale"},"Regulatory Compliance at Scale"),(0,r.kt)("p",null,"This feature is particularly useful for stablecoin redemption, ensuring asset transactions are compliant with regulations prior to receiving approval. It enables asset issuers to attain pre-compliance on a public blockchain without requiring a third-party to take custody of the asset, while providing for issuers to adapt their rulesets to ever-changing industry regulations."),(0,r.kt)("h2",{id:"general-purpose"},"General Purpose"),(0,r.kt)("p",null,"This feature can also be tied to any set of business rules the token issuer wishes to trigger and/or enforce. This can also be used to add an optional trust-based security domain for expedited service."),(0,r.kt)("p",null,"You can read more about the design and philosophy behind this capability in ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"SIP-0002"),"."),(0,r.kt)("h2",{id:"how-to-implement"},"How to Implement"),(0,r.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},(0,r.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,r.kt)("br",{parentName:"p"}),"\n","Now ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,r.kt)("p",{parentName:"div"},"Examples are available at ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,r.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,r.kt)("p",null,"To begin, let's look at an asset notary example within a Syscoin Core console."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'> syscoin-cli assetinfo 1815902629\n\n{\n "asset_guid": "1815902629",\n "symbol": "FANCY",\n "public_value": {\n "desc": "NFT with auxfees and notary"\n },\n "contract": "",\n "notary_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "notary_details": {\n "endpoint": "https://111.111.111.111:8081/notarize",\n "instant_transfers": 1,\n "hd_required": 0\n },\n "auxfee": {\n "auxfee_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "fee_struct": [\n {\n "bound": 0.00000000,\n "percentage": 0.01\n },\n {\n "bound": 10.00000000,\n "percentage": 0.004\n },\n {\n "bound": 250.00000000,\n "percentage": 0.002\n },\n {\n "bound": 2500.00000000,\n "percentage": 0.0007\n },\n {\n "bound": 25000.00000000,\n "percentage": 6e-05\n },\n {\n "bound": 250000.00000000,\n "percentage": 0\n }\n ]\n },\n "total_supply": 10.00000000,\n "max_supply": 9999.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,r.kt)("h3",{id:"relevant-fields"},"Relevant Fields"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_address (string)"),"\nPublic key of the endpoint's notary signer. Typically an address chosen by the issuer for which the Notary holds the private key. If specified, the private key associated with this address must sign any transaction of this asset in order for the network to accept it into a block."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_details.endpoint (string)"),"\nAPI endpoint URL."),(0,r.kt)("p",null,"When a client executes assetallocationsend, an HTTP POST is sent to the endpoint specified here and the client awaits a response. Response timeout is 15 seconds."),(0,r.kt)("p",null,"The client's POST provides the endpoint a raw transaction hex which the notary then decodes, parses, then logically processes."),(0,r.kt)("p",null,"The endpoint URL can point to any application or script of any language that can receive and process POST requests and provide an appropriate JSON response. The endpoint must return details of a successfully notarized (signed) transaction broadcasted to the network or the client's request is considered failed or rejected."),(0,r.kt)("p",null,"Endpoint programs can interact with Syscoin by making RPC calls directly to a Syscoin Core instance (see syscoin-js), or through a Web3 approach by using a combination of syscoinjs-lib and Syscoin Blockbook."),(0,r.kt)("p",null,"A rudimentary example of a notary endpoint is available ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/syscoin/notary-endpoint/"},"here"),"."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_details.instant_transfers (boolean)"),"\nThis flag indicates whether the notary is offering a guarantee of extra security in prevention of double spends. Recipients can instantly redeem/spend notarized inputs if they fully trust the notary's security."),(0,r.kt)("p",null,"This security path theoretically can provide payment service even faster than Z-DAG's decentralized relay and is based on an optional trust trade-off."),(0,r.kt)("p",null,"Endpoints can ensure protection against double spends by tracking spend requests of an input and responding to them based on the existence (or lack) of prior spend attempts."),(0,r.kt)("p",null,"If 0, the notary is not guaranteeing any supplementary security measures and transactors of the asset should rely exclusively upon Z-DAG and/or Syscoin Core consensus."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_details.hd_required (boolean)"),"\nThis flag indicates the notary requires HD wallet approval (for sender approval specifically applicable to change address schemes), usually in the form of the account XPUB or verifiable credential of the account XPUB using decentralized identity"),(0,r.kt)("h3",{id:"how-to-activate-notary"},"How to Activate Notary"),(0,r.kt)("p",null,"An issuer can enable Notary on an asset by setting parameters in assetnew (upon asset creation), or assetupdate (updating the asset spec, if the asset's current update_capabilityflags value permits this)."),(0,r.kt)("p",null,"Enable Notary via ",(0,r.kt)("inlineCode",{parentName:"p"},"assetnew")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'> syscoin-cli assetnew 100 "ECASH" "Non-custodial KYC/AML-enabled Electronic Cash" "" 8 888000000 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://111.111.111.111:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')),(0,r.kt)("p",null,"Enable Notary via ",(0,r.kt)("inlineCode",{parentName:"p"},"assetupdate")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'> syscoin-cli assetupdate 1020176632 "Non-custodial KYC/AML-enabled Electronic Cash" "" 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://111.111.111.111:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/038b7bcf.7979f93c.js b/assets/js/038b7bcf.7979f93c.js new file mode 100644 index 00000000..46cbfe7c --- /dev/null +++ b/assets/js/038b7bcf.7979f93c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5522],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>h});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,s=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=c(n),h=r,y=u["".concat(l,".").concat(h)]||u[h]||d[h]||s;return n?a.createElement(y,o(o({ref:t},p),{},{components:n})):a.createElement(y,o({ref:t},p))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var s=n.length,o=new Array(s);o[0]=u;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:r,o[1]=i;for(var c=2;c{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>s,metadata:()=>o,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const s={},o={unversionedId:"tech/notary",id:"tech/notary",isDocsHomePage:!1,title:"Notary and Business Rulesets",description:"On Syscoin's native UTXO chain, an asset issuer can opt to introduce a permissioned layer in the form of a notary for their specific token, such that simple value transfers of that asset must meet rules defined by the issuer in order to be notarized and allowed to settle on-chain. With a Notary endpoint, any allocation of the asset must pass the endpoint's checks to be granted the notary's signature and be accepted into a block.",source:"@site/docs/tech/notary.mdx",sourceDirName:"tech",slug:"/tech/notary",permalink:"/docs/tech/notary",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"NEVM Chain (EVM)",permalink:"/docs/tech/nevm"},next:{title:"PoDA (Data Availability on Layer 1)",permalink:"/docs/tech/poda"}},i=[{value:"Regulatory Compliance at Scale",id:"regulatory-compliance-at-scale",children:[]},{value:"General Purpose",id:"general-purpose",children:[]},{value:"How to Implement",id:"how-to-implement",children:[{value:"Relevant Fields",id:"relevant-fields",children:[]},{value:"How to Activate Notary",id:"how-to-activate-notary",children:[]}]}],l={toc:i};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"On Syscoin's native UTXO chain, an asset issuer can opt to introduce a permissioned layer in the form of a notary for their specific token, such that simple value transfers of that asset must meet rules defined by the issuer in order to be notarized and allowed to settle on-chain. With a Notary endpoint, any allocation of the asset must pass the endpoint's checks to be granted the notary's signature and be accepted into a block."),(0,r.kt)("h2",{id:"regulatory-compliance-at-scale"},"Regulatory Compliance at Scale"),(0,r.kt)("p",null,"This feature is particularly useful for stablecoin redemption, ensuring asset transactions are compliant with regulations prior to receiving approval. It enables asset issuers to attain pre-compliance on a public blockchain without requiring a third-party to take custody of the asset, while providing for issuers to adapt their rulesets to ever-changing industry regulations."),(0,r.kt)("h2",{id:"general-purpose"},"General Purpose"),(0,r.kt)("p",null,"This feature can also be tied to any set of business rules the token issuer wishes to trigger and/or enforce. This can also be used to add an optional trust-based security domain for expedited service."),(0,r.kt)("p",null,"You can read more about the design and philosophy behind this capability in ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"SIP-0002"),"."),(0,r.kt)("h2",{id:"how-to-implement"},"How to Implement"),(0,r.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},(0,r.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,r.kt)("br",{parentName:"p"}),"\n","Now ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,r.kt)("p",{parentName:"div"},"Examples are available at ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,r.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,r.kt)("p",null,"To begin, let's look at an asset notary example within a Syscoin Core console."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'> syscoin-cli assetinfo 1815902629\n\n{\n "asset_guid": "1815902629",\n "symbol": "FANCY",\n "public_value": {\n "desc": "NFT with auxfees and notary"\n },\n "contract": "",\n "notary_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "notary_details": {\n "endpoint": "https://111.111.111.111:8081/notarize",\n "instant_transfers": 1,\n "hd_required": 0\n },\n "auxfee": {\n "auxfee_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "fee_struct": [\n {\n "bound": 0.00000000,\n "percentage": 0.01\n },\n {\n "bound": 10.00000000,\n "percentage": 0.004\n },\n {\n "bound": 250.00000000,\n "percentage": 0.002\n },\n {\n "bound": 2500.00000000,\n "percentage": 0.0007\n },\n {\n "bound": 25000.00000000,\n "percentage": 6e-05\n },\n {\n "bound": 250000.00000000,\n "percentage": 0\n }\n ]\n },\n "total_supply": 10.00000000,\n "max_supply": 9999.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,r.kt)("h3",{id:"relevant-fields"},"Relevant Fields"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_address (string)"),"\nPublic key of the endpoint's notary signer. Typically an address chosen by the issuer for which the Notary holds the private key. If specified, the private key associated with this address must sign any transaction of this asset in order for the network to accept it into a block."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_details.endpoint (string)"),"\nAPI endpoint URL."),(0,r.kt)("p",null,"When a client executes assetallocationsend, an HTTP POST is sent to the endpoint specified here and the client awaits a response. Response timeout is 15 seconds."),(0,r.kt)("p",null,"The client's POST provides the endpoint a raw transaction hex which the notary then decodes, parses, then logically processes."),(0,r.kt)("p",null,"The endpoint URL can point to any application or script of any language that can receive and process POST requests and provide an appropriate JSON response. The endpoint must return details of a successfully notarized (signed) transaction broadcasted to the network or the client's request is considered failed or rejected."),(0,r.kt)("p",null,"Endpoint programs can interact with Syscoin by making RPC calls directly to a Syscoin Core instance (see syscoin-js), or through a Web3 approach by using a combination of syscoinjs-lib and Syscoin Blockbook."),(0,r.kt)("p",null,"A rudimentary example of a notary endpoint is available ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/syscoin/notary-endpoint/"},"here"),"."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_details.instant_transfers (boolean)"),"\nThis flag indicates whether the notary is offering a guarantee of extra security in prevention of double spends. Recipients can instantly redeem/spend notarized inputs if they fully trust the notary's security."),(0,r.kt)("p",null,"This security path theoretically can provide payment service even faster than Z-DAG's decentralized relay and is based on an optional trust trade-off."),(0,r.kt)("p",null,"Endpoints can ensure protection against double spends by tracking spend requests of an input and responding to them based on the existence (or lack) of prior spend attempts."),(0,r.kt)("p",null,"If 0, the notary is not guaranteeing any supplementary security measures and transactors of the asset should rely exclusively upon Z-DAG and/or Syscoin Core consensus."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"notary_details.hd_required (boolean)"),"\nThis flag indicates the notary requires HD wallet approval (for sender approval specifically applicable to change address schemes), usually in the form of the account XPUB or verifiable credential of the account XPUB using decentralized identity"),(0,r.kt)("h3",{id:"how-to-activate-notary"},"How to Activate Notary"),(0,r.kt)("p",null,"An issuer can enable Notary on an asset by setting parameters in assetnew (upon asset creation), or assetupdate (updating the asset spec, if the asset's current update_capabilityflags value permits this)."),(0,r.kt)("p",null,"Enable Notary via ",(0,r.kt)("inlineCode",{parentName:"p"},"assetnew")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'> syscoin-cli assetnew 100 "ECASH" "Non-custodial KYC/AML-enabled Electronic Cash" "" 8 888000000 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://111.111.111.111:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')),(0,r.kt)("p",null,"Enable Notary via ",(0,r.kt)("inlineCode",{parentName:"p"},"assetupdate")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'> syscoin-cli assetupdate 1020176632 "Non-custodial KYC/AML-enabled Electronic Cash" "" 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://111.111.111.111:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/03a5b487.7c250ef9.js b/assets/js/03a5b487.7c250ef9.js deleted file mode 100644 index f93ee5fa..00000000 --- a/assets/js/03a5b487.7c250ef9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9847],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>h});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),d=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=d(e.components);return a.createElement(l.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},f=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),c=d(n),f=r,h=c["".concat(l,".").concat(f)]||c[f]||u[f]||o;return n?a.createElement(h,s(s({ref:t},p),{},{components:n})):a.createElement(h,s({ref:t},p))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,s=new Array(o);s[0]=f;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[c]="string"==typeof e?e:r,s[1]=i;for(var d=2;d{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const o={},s={unversionedId:"dev-resources/sys/testnet_mn",id:"dev-resources/sys/testnet_mn",isDocsHomePage:!1,title:"Testnet Masternode Setup Guide",description:"Please enable coin control and show masternode tab from the options.",source:"@site/docs/dev-resources/sys/testnet_mn.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/testnet_mn",permalink:"/docs/dev-resources/sys/testnet_mn",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Testnet Setup",permalink:"/docs/dev-resources/sys/testnet"},next:{title:"Z-DAG Developer Guide",permalink:"/docs/dev-resources/sys/z-dag"}},i=[{value:"Note: If using an Operator to host your node you now need to follow their instructions. The following applies to self hosted nodes.",id:"note-if-using-an-operator-to-host-your-node-you-now-need-to-follow-their-instructions-the-following-applies-to-self-hosted-nodes",children:[]},{value:"SET UP VPS",id:"set-up-vps",children:[{value:"Log onto your Server using Putty as Root.",id:"log-onto-your-server-using-putty-as-root",children:[]}]},{value:"Check Blocks",id:"check-blocks",children:[{value:"Note if using an existing address with seniority you will have to manually \u2018lock\u2019 the collateral until after you have registered the MN.",id:"note-if-using-an-existing-address-with-seniority-you-will-have-to-manually-lock-the-collateral-until-after-you-have-registered-the-mn",children:[]}]},{value:"Identify the funding transaction",id:"identify-the-funding-transaction",children:[]},{value:"Generate a BLS key pair",id:"generate-a-bls-key-pair",children:[]},{value:"Add the secret key to your masternode configuration",id:"add-the-secret-key-to-your-masternode-configuration",children:[]},{value:"Prepare a ProRegTx transaction",id:"prepare-a-proregtx-transaction",children:[]},{value:"Sign the ProRegTx transaction",id:"sign-the-proregtx-transaction",children:[]},{value:"Submit the signed message",id:"submit-the-signed-message",children:[]}],l={toc:i},d="wrapper";function p(e){let{components:t,...o}=e;return(0,r.kt)(d,(0,a.Z)({},l,o,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"Please enable coin control and show masternode tab from the options."),(0,r.kt)("h3",{id:"note-if-using-an-operator-to-host-your-node-you-now-need-to-follow-their-instructions-the-following-applies-to-self-hosted-nodes"},"Note: If using an Operator to host your node you now need to follow their instructions. The following applies to self hosted nodes."),(0,r.kt)("h2",{id:"set-up-vps"},"SET UP VPS"),(0,r.kt)("h3",{id:"log-onto-your-server-using-putty-as-root"},"Log onto your Server using Putty as Root."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"**All text in boxes are commands and need to be typed (Copy/Paste into Putty followed by Enter.**\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Install Nano (Text editor)")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo apt-get update\nsudo apt-get install nano\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Manual Install")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"Open ports/enable firewalls etc.apt install ufw python virtualenv git unzip pv -y\nufw allow ssh/tcp \nufw limit ssh/tcp \nufw allow 18369/tcp \nufw allow 30303/tcp \nufw logging on \nufw enable\n")),(0,r.kt)("p",null,"Install Swap file if you have only 4gb Memory"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"fallocate -l 4G /swapfile\nchmod 600 /swapfile\nmkswap /swapfile\nswapon /swapfile\nnano /etc/fstab\n")),(0,r.kt)("p",null,"Add the following line at the end of the file, then press ",(0,r.kt)("strong",{parentName:"p"},"Ctrl + X")," to close the editor, then ",(0,r.kt)("strong",{parentName:"p"},"Y")," and ",(0,r.kt)("strong",{parentName:"p"},"Enter")," save the file."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"/swapfile none swap sw 0 0\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Install Syscoin Binaries :")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"wget https://github.com/syscoin/syscoin/releases/download/v4.3.0rc2/syscoin-4.3.0rc2-x86_64-linux-gnu.tar.gz\ntar xf syscoin-4.3.0rc2-x86_64-linux-gnu.tar.gz\nsudo install -m 0755 -o root -g root -t /usr/local/bin syscoin-4.3.0rc2/bin/*\nrm -r syscoin-4.3.0rc2\nmkdir ~/.syscoin\n")),(0,r.kt)("p",null,"We need to create the config file"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"nano ~/.syscoin/syscoin.conf\n")),(0,r.kt)("p",null,"Paste in the following:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"testnet=1\n[test]\nrpcuser=user\nrpcpassword=password\nlisten=1\ndaemon=1\nserver=1\nassetindex=1\nport=18369\nrpcport=18370\nrpcallowip=127.0.0.1\naddnode=54.190.239.153\naddnode=52.40.171.92\n")),(0,r.kt)("p",null,"Press ",(0,r.kt)("strong",{parentName:"p"},"Ctrl + X")," to close the editor and ",(0,r.kt)("strong",{parentName:"p"},"Y")," and ",(0,r.kt)("strong",{parentName:"p"},"Enter")," save the file"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Run Syscoin Core")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoind\n")),(0,r.kt)("h2",{id:"check-blocks"},"Check Blocks"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli getblockchaininfo\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Install Sentinel")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo apt-get update\nsudo apt-get -y install git python3 virtualenv ## note this says python3\ngit clone https://github.com/syscoin/sentinel.git\ncd sentinel\ngit checkout dev-4.x\nvirtualenv -p $(which python3) ./venv\n./venv/bin/pip install -r requirements.txt\n")),(0,r.kt)("p",null,"We now need to edit the sentinel config file"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"nano sentinel.conf\n")),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"If there is a # In front of syscoin_conf= then remove it and change it to syscoin_conf=/root/.syscoin/syscoin.conf"),(0,r.kt)("li",{parentName:"ol"},"Put a # next to network=mainnet and remove the # next to network=testnet to enable testnet version of sentinel.")),(0,r.kt)("p",null,"Save"),(0,r.kt)("p",null,"Should look like this"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(32858).Z})),(0,r.kt)("p",null,"Finish Sentinel setup"),(0,r.kt)("p",null,"Create a crontab entry to wake sentinel every 5 minutes."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"crontab -e\n")),(0,r.kt)("p",null,"Please wait and select Nano as the option if this is the first time you have done this and add this line to the end of the file, including * * * * *"),(0,r.kt)("p",null,"*"," * * * * cd /root/sentinel && ./venv/bin/python bin/sentinel.py 2>&1 >> sentinel-cron.log"),(0,r.kt)("p",null,"To Start Syscoind automatically on boot you can add this line."),(0,r.kt)("p",null,"//Thanks to Locutus"),(0,r.kt)("p",null,"@reboot /usr/local/bin/syscoind -daemon >/dev/null 2>&1"),(0,r.kt)("p",null,"Save"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"SETUP THE MASTERNODE.")),(0,r.kt)("p",null,"Return to QT"),(0,r.kt)("h3",{id:"note-if-using-an-existing-address-with-seniority-you-will-have-to-manually-lock-the-collateral-until-after-you-have-registered-the-mn"},"Note if using an existing address with seniority you will have to manually \u2018lock\u2019 the collateral until after you have registered the MN."),(0,r.kt)("p",null,"Note the masternode.config file is no longer used."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"More than one masternode can not share the same collateral address, ownerKeyAddress or votingKeyAddress and payout address cannot be the same as owner or voting addresses.")),(0,r.kt)("p",null,"Create a new address for collateral this does not need to be a legacy address anymore, or use an existing seniority address. This address can also be in an offline wallet that has signing capabilities."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1\n")),(0,r.kt)("p",null,"Send exactly 100,000 tsys to this address"),(0,r.kt)("h2",{id:"identify-the-funding-transaction"},"Identify the funding transaction"),(0,r.kt)("p",null,"Click ",(0,r.kt)("strong",{parentName:"p"},"Window> Console")," and enter the following command:"),(0,r.kt)("p",null,"Note some commands now require an underscore"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"masternode_outputs\n")),(0,r.kt)("p",null,"This should return a string of characters similar to the following:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "3304a4920f20e1e5cd1f34e5396556ded1e603296f7c5dd66c7ec4fe63cb008d": "0"\n}\n')),(0,r.kt)("p",null,"The first long string is your ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralHash"),", while the last number is the ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralIndex"),"."),(0,r.kt)("h2",{id:"generate-a-bls-key-pair"},"Generate a BLS key pair"),(0,r.kt)("p",null,"A public/secret BLS key pair is required to operate a masternode. The secret key is specified on the masternode itself, and allows it to be included in the deterministic masternode list once a provider registration transaction with the corresponding public key has been created."),(0,r.kt)("p",null,"If you are using a hosting service, they may provide you with their public key, and you can skip this step. If you are hosting your own masternode or have agreed to provide your host with the BLS secret key, generate a BLS public/secret keypair in the Console and entering the following command:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'bls_generate{\n "secret": "1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7",\n "public": "05afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de"\n}\n')),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"These keys are NOT stored by the wallet and must be kept secure, similar to the value provided in the past by the")," ",(0,r.kt)("inlineCode",{parentName:"p"},"masternode genkey")," ",(0,r.kt)("strong",{parentName:"p"},"command.")),(0,r.kt)("h2",{id:"add-the-secret-key-to-your-masternode-configuration"},"Add the secret key to your masternode configuration"),(0,r.kt)("p",null,"The public key will be used in following steps. The secret key must be entered in the ",(0,r.kt)("inlineCode",{parentName:"p"},"syscoin.conf")," file on the masternode. This allows the masternode to watch the blockchain for relevant Pro*Tx transactions, and will cause it to start serving as a masternode when the signed ProRegTx is broadcast by the owner (final step below). Log in to your masternode using ",(0,r.kt)("inlineCode",{parentName:"p"},"ssh")," or PuTTY and edit the configuration file as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"nano ~/.syscoin/syscoin.conf\n")),(0,r.kt)("p",null,"The editor appears with the existing configuration. Add this line in the file, replacing the key with your BLS secret key generated above (excluding \u201c \u201d) and also add your VPS external address"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"masternodeblsprivkey=1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7\nexternalip=123.123.123.123\n")),(0,r.kt)("p",null,"Press enter to make sure there is a blank line at the end of the file, then press ",(0,r.kt)("strong",{parentName:"p"},"Ctrl + X")," to close the editor and ",(0,r.kt)("strong",{parentName:"p"},"Y")," and ",(0,r.kt)("strong",{parentName:"p"},"Enter")," save the file. Note that providing a ",(0,r.kt)("inlineCode",{parentName:"p"},"masternodeblsprivkey")," enables masternode mode, which will automatically force the ",(0,r.kt)("inlineCode",{parentName:"p"},"txindex=1"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"peerbloomfilters=1"),", and ",(0,r.kt)("inlineCode",{parentName:"p"},"prune=0")," settings necessary to provide masternode service. We now need to restart the masternode for this change to take effect. Enter the following commands, waiting a few seconds in between to give Syscoin time to shut down making sure you are in the root directory:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli stop\nsleep 5\nsyscoind\n")),(0,r.kt)("p",null,"We will now prepare the transaction used to register the masternode on the network."),(0,r.kt)("h2",{id:"prepare-a-proregtx-transaction"},"Prepare a ProRegTx transaction"),(0,r.kt)("p",null,"A pair of BLS keys for the operator were already generated above, and the secret key was entered on the masternode. The public key is used in this transaction as the ",(0,r.kt)("inlineCode",{parentName:"p"},"operatorPubKey"),"."),(0,r.kt)("p",null,"First, we need to get a new, unused address from the wallet to serve as the ",(0,r.kt)("strong",{parentName:"p"},"owner key address")," (",(0,r.kt)("inlineCode",{parentName:"p"},"ownerKeyAddr"),"). This is not the same as the collateral address holding 100000 Sys. This address must be different for each MN. Generate a new address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-ownertsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0\n")),(0,r.kt)("p",null,"This address can also be used as the ",(0,r.kt)("strong",{parentName:"p"},"voting key address")," (",(0,r.kt)("inlineCode",{parentName:"p"},"votingKeyAddr"),"). Alternatively, you can specify an address provided to you by your chosen voting delegate, or simply generate a new voting key address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-votingtsys1q9aejtrvkrlnqsfeqanr5zhrttg8g8g\n")),(0,r.kt)("p",null,"Then either generate or choose an existing address to receive the ",(0,r.kt)("strong",{parentName:"p"},"owner\u2019s masternode payouts")," (",(0,r.kt)("inlineCode",{parentName:"p"},"payoutAddress"),"). This address cannot be the same as your owner or voting address, it is also possible to use an address external to the wallet:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress payoutstsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67\n")),(0,r.kt)("p",null,"You can also optionally generate and fund another address as the ",(0,r.kt)("strong",{parentName:"p"},"transaction fee source")," (",(0,r.kt)("inlineCode",{parentName:"p"},"feeSourceAddress"),"). If you selected an external payout address, you must specify a fee source address."),(0,r.kt)("p",null,"Either the payout address or fee source address must have enough balance to pay the transaction fee, or the ",(0,r.kt)("inlineCode",{parentName:"p"},"register_prepare")," transaction will fail."),(0,r.kt)("p",null,"The private keys to the owner and fee source addresses must exist in the wallet submitting the transaction to the network. If your wallet is protected by a password, it must now be unlocked to perform the following commands. Unlock your wallet for 5 minutes:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"walletpassphrase yourSecretPassword 300\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"To see a list of common errors for the registration process click")," ",(0,r.kt)("a",{parentName:"p",href:"https://bittyjohn1954.medium.com/syscoin-4-2-masternode-error-codes-df0b80828f5f"},(0,r.kt)("strong",{parentName:"a"},"https://bittyjohn1954.medium.com/syscoin-4-2-masternode-error-codes-df0b80828f5f"))),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"You can use the registration helper blow but will need tto edit the first command generate to change the port to 18369")),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://syshub-dev.web.app/masternodes/masternode-registration"},"Syscoin MasternodesSysnode.info provides Syscoin Masternode Operators the tools to maximise the most from their Masternodes!syshub-dev.web.app")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Manually")),(0,r.kt)("p",null,"We will now prepare an unsigned ProRegTx special transaction using the ",(0,r.kt)("inlineCode",{parentName:"p"},"protx_register_prepare")," command. This command has the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_prepare collateralHash collateralIndex ipAndPort ownerKeyAddr\n operatorPubKey votingKeyAddr operatorReward payoutAddress (feeSourceAddress)\n")),(0,r.kt)("p",null,"Open a text editor such as notepad ++to prepare this command. Replace each argument to the command as follows:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"collateralHash"),": The txid of the 100000 Syscoin collateral funding transaction"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"collateralIndex"),": The output index of the 100000 Syscoin funding transaction"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"ipAndPort"),": Masternode IP address and port, in the format ",(0,r.kt)("inlineCode",{parentName:"li"},"x.x.x.x:yyyy")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"ownerKeyAddr"),": The Syscoin address generated above for the owner address"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"operatorPubKey"),": The BLS public key generated above (or provided by your hosting service)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"votingKeyAddr"),": The Syscoin address generated above, or the address of a delegate, used for proposal voting"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"operatorReward"),": The percentage of the block reward allocated to the operator as payment, 0 for no reward."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"payoutAddress"),": A Syscoin address to receive the owner\u2019s masternode rewards"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"feeSourceAddress"),": An (optional) address used to fund ProTx fee. ",(0,r.kt)("inlineCode",{parentName:"li"},"payoutAddress")," will be used if not specified.")),(0,r.kt)("p",null,"Note that the operator is responsible for ",(0,r.kt)("a",{parentName:"p",href:"https://docs.dash.org/en/stable/masternodes/maintenance.html#dip3-update-service"},"specifying their own reward")," address in a separate ",(0,r.kt)("inlineCode",{parentName:"p"},"update_service")," transaction if you specify a non-zero ",(0,r.kt)("inlineCode",{parentName:"p"},"operatorReward"),". The owner of the masternode collateral does not specify the operator\u2019s payout address."),(0,r.kt)("p",null,"Either the ",(0,r.kt)("inlineCode",{parentName:"p"},"feeSourceAddress")," or ",(0,r.kt)("inlineCode",{parentName:"p"},"payoutAddress")," must hold a small balance since a standard transaction fee is involved."),(0,r.kt)("p",null,"Example (remove line breaks if copying):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"Note in this example I will use the same address for owner and voting and i will have sent a small amount of tSys to the payoutAddress for fees as i am not using feeSourceAddress.(Remember to lock your collateral if using a seniority address)protx_register_prepare\n 3304a4920f20e1e5cd1f4e5396556ded1e603296f7c5dd66c7ec4fe63cb008d\n 0\n 161.97.140.65:18369\n tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0\n 05afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de\n tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0\n 0\n tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "tx": "5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000",\n "collateralAddress": "TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG",\n "signMessage": "tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0"\n}\n')),(0,r.kt)("p",null,"Next we will use the ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralAddress")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"signMessage")," fields to sign the transaction, and the output of the ",(0,r.kt)("inlineCode",{parentName:"p"},"tx")," field to submit the transaction."),(0,r.kt)("h2",{id:"sign-the-proregtx-transaction"},"Sign the ProRegTx transaction"),(0,r.kt)("p",null,"We will now sign the content of the ",(0,r.kt)("inlineCode",{parentName:"p"},"signMessage")," (returned above) field using the public key for the collateral address as specified in ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralAddress"),". The wallet used to sign must hold the private key to the collateral address and note that no internet connection is required for this step, meaning that the wallet can remain disconnected from the internet in cold storage to sign the message. The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 collateralAddress signMessage\n")),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=\n")),(0,r.kt)("h2",{id:"submit-the-signed-message"},"Submit the signed message"),(0,r.kt)("p",null,"We will now submit the ProRegTx special transaction to the blockchain to register the masternode. This command must be sent from the wallet holding a balance on either the ",(0,r.kt)("inlineCode",{parentName:"p"},"feeSourceAddress")," or ",(0,r.kt)("inlineCode",{parentName:"p"},"payoutAddress"),", since a standard transaction fee is involved. The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit tx sig\n")),(0,r.kt)("p",null,"Where:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"tx"),": The serialized transaction previously returned in the ",(0,r.kt)("inlineCode",{parentName:"li"},"tx")," output field from the ",(0,r.kt)("inlineCode",{parentName:"li"},"protx_register_prepare")," command"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"sig"),": The message returned from the ",(0,r.kt)("inlineCode",{parentName:"li"},"signmessagebech32")," command")),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit 5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000 IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"285fba6277586401f8efaf55d4eef7acfa6d690a30c0db7f213a0bb2c6194bd1\n")),(0,r.kt)("p",null,"Your masternode is now registered and will appear on the Deterministic Masternode List after the transaction is mined to a block. You can view this list on the ",(0,r.kt)("strong",{parentName:"p"},"Masternodes")," tab in QT, or in the console using the command ",(0,r.kt)("inlineCode",{parentName:"p"},"protx_list valid"),", where the txid of the final ",(0,r.kt)("inlineCode",{parentName:"p"},"protx_register_submit")," transaction identifies your masternode."),(0,r.kt)("p",null,"At this point you can go back to your terminal window and monitor your masternode by entering"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli masternode_status\n")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(2976).Z})),(0,r.kt)("p",null,"This information can also be seen by double clicking your masternode in QT"),(0,r.kt)("p",null,"Congratulations! Your masternode is now running."))}p.isMDXComponent=!0},2976:(e,t,n)=>{n.d(t,{Z:()=>a});const a=n.p+"assets/images/mn_status-a059ddcb95c03732c31ca506e5df55f4.png"},32858:(e,t,n)=>{n.d(t,{Z:()=>a});const a=n.p+"assets/images/sentinel_setup-4441edca06df1a11a24395cf6fbe27ca.png"}}]); \ No newline at end of file diff --git a/assets/js/03a5b487.82cb9dc0.js b/assets/js/03a5b487.82cb9dc0.js new file mode 100644 index 00000000..55f91b5d --- /dev/null +++ b/assets/js/03a5b487.82cb9dc0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9847],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>f});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),d=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=d(e.components);return a.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=d(n),f=r,h=u["".concat(l,".").concat(f)]||u[f]||c[f]||o;return n?a.createElement(h,s(s({ref:t},p),{},{components:n})):a.createElement(h,s({ref:t},p))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,s=new Array(o);s[0]=u;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:r,s[1]=i;for(var d=2;d{n.r(t),n.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const o={},s={unversionedId:"dev-resources/sys/testnet_mn",id:"dev-resources/sys/testnet_mn",isDocsHomePage:!1,title:"Testnet Masternode Setup Guide",description:"Please enable coin control and show masternode tab from the options.",source:"@site/docs/dev-resources/sys/testnet_mn.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/testnet_mn",permalink:"/docs/dev-resources/sys/testnet_mn",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Testnet Setup",permalink:"/docs/dev-resources/sys/testnet"},next:{title:"Z-DAG Developer Guide",permalink:"/docs/dev-resources/sys/z-dag"}},i=[{value:"Note: If using an Operator to host your node you now need to follow their instructions. The following applies to self hosted nodes.",id:"note-if-using-an-operator-to-host-your-node-you-now-need-to-follow-their-instructions-the-following-applies-to-self-hosted-nodes",children:[]},{value:"SET UP VPS",id:"set-up-vps",children:[{value:"Log onto your Server using Putty as Root.",id:"log-onto-your-server-using-putty-as-root",children:[]}]},{value:"Check Blocks",id:"check-blocks",children:[{value:"Note if using an existing address with seniority you will have to manually \u2018lock\u2019 the collateral until after you have registered the MN.",id:"note-if-using-an-existing-address-with-seniority-you-will-have-to-manually-lock-the-collateral-until-after-you-have-registered-the-mn",children:[]}]},{value:"Identify the funding transaction",id:"identify-the-funding-transaction",children:[]},{value:"Generate a BLS key pair",id:"generate-a-bls-key-pair",children:[]},{value:"Add the secret key to your masternode configuration",id:"add-the-secret-key-to-your-masternode-configuration",children:[]},{value:"Prepare a ProRegTx transaction",id:"prepare-a-proregtx-transaction",children:[]},{value:"Sign the ProRegTx transaction",id:"sign-the-proregtx-transaction",children:[]},{value:"Submit the signed message",id:"submit-the-signed-message",children:[]}],l={toc:i};function d(e){let{components:t,...o}=e;return(0,r.kt)("wrapper",(0,a.Z)({},l,o,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"Please enable coin control and show masternode tab from the options."),(0,r.kt)("h3",{id:"note-if-using-an-operator-to-host-your-node-you-now-need-to-follow-their-instructions-the-following-applies-to-self-hosted-nodes"},"Note: If using an Operator to host your node you now need to follow their instructions. The following applies to self hosted nodes."),(0,r.kt)("h2",{id:"set-up-vps"},"SET UP VPS"),(0,r.kt)("h3",{id:"log-onto-your-server-using-putty-as-root"},"Log onto your Server using Putty as Root."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"**All text in boxes are commands and need to be typed (Copy/Paste into Putty followed by Enter.**\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Install Nano (Text editor)")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo apt-get update\nsudo apt-get install nano\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Manual Install")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"Open ports/enable firewalls etc.apt install ufw python virtualenv git unzip pv -y\nufw allow ssh/tcp \nufw limit ssh/tcp \nufw allow 18369/tcp \nufw allow 30303/tcp \nufw logging on \nufw enable\n")),(0,r.kt)("p",null,"Install Swap file if you have only 4gb Memory"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"fallocate -l 4G /swapfile\nchmod 600 /swapfile\nmkswap /swapfile\nswapon /swapfile\nnano /etc/fstab\n")),(0,r.kt)("p",null,"Add the following line at the end of the file, then press ",(0,r.kt)("strong",{parentName:"p"},"Ctrl + X")," to close the editor, then ",(0,r.kt)("strong",{parentName:"p"},"Y")," and ",(0,r.kt)("strong",{parentName:"p"},"Enter")," save the file."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"/swapfile none swap sw 0 0\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Install Syscoin Binaries :")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"wget https://github.com/syscoin/syscoin/releases/download/v4.3.0rc2/syscoin-4.3.0rc2-x86_64-linux-gnu.tar.gz\ntar xf syscoin-4.3.0rc2-x86_64-linux-gnu.tar.gz\nsudo install -m 0755 -o root -g root -t /usr/local/bin syscoin-4.3.0rc2/bin/*\nrm -r syscoin-4.3.0rc2\nmkdir ~/.syscoin\n")),(0,r.kt)("p",null,"We need to create the config file"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"nano ~/.syscoin/syscoin.conf\n")),(0,r.kt)("p",null,"Paste in the following:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"testnet=1\n[test]\nrpcuser=user\nrpcpassword=password\nlisten=1\ndaemon=1\nserver=1\nassetindex=1\nport=18369\nrpcport=18370\nrpcallowip=127.0.0.1\naddnode=54.190.239.153\naddnode=52.40.171.92\n")),(0,r.kt)("p",null,"Press ",(0,r.kt)("strong",{parentName:"p"},"Ctrl + X")," to close the editor and ",(0,r.kt)("strong",{parentName:"p"},"Y")," and ",(0,r.kt)("strong",{parentName:"p"},"Enter")," save the file"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Run Syscoin Core")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoind\n")),(0,r.kt)("h2",{id:"check-blocks"},"Check Blocks"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli getblockchaininfo\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Install Sentinel")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo apt-get update\nsudo apt-get -y install git python3 virtualenv ## note this says python3\ngit clone https://github.com/syscoin/sentinel.git\ncd sentinel\ngit checkout dev-4.x\nvirtualenv -p $(which python3) ./venv\n./venv/bin/pip install -r requirements.txt\n")),(0,r.kt)("p",null,"We now need to edit the sentinel config file"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"nano sentinel.conf\n")),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"If there is a # In front of syscoin_conf= then remove it and change it to syscoin_conf=/root/.syscoin/syscoin.conf"),(0,r.kt)("li",{parentName:"ol"},"Put a # next to network=mainnet and remove the # next to network=testnet to enable testnet version of sentinel.")),(0,r.kt)("p",null,"Save"),(0,r.kt)("p",null,"Should look like this"),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(32858).Z})),(0,r.kt)("p",null,"Finish Sentinel setup"),(0,r.kt)("p",null,"Create a crontab entry to wake sentinel every 5 minutes."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"crontab -e\n")),(0,r.kt)("p",null,"Please wait and select Nano as the option if this is the first time you have done this and add this line to the end of the file, including * * * * *"),(0,r.kt)("p",null,"*"," * * * * cd /root/sentinel && ./venv/bin/python bin/sentinel.py 2>&1 >> sentinel-cron.log"),(0,r.kt)("p",null,"To Start Syscoind automatically on boot you can add this line."),(0,r.kt)("p",null,"//Thanks to Locutus"),(0,r.kt)("p",null,"@reboot /usr/local/bin/syscoind -daemon >/dev/null 2>&1"),(0,r.kt)("p",null,"Save"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"SETUP THE MASTERNODE.")),(0,r.kt)("p",null,"Return to QT"),(0,r.kt)("h3",{id:"note-if-using-an-existing-address-with-seniority-you-will-have-to-manually-lock-the-collateral-until-after-you-have-registered-the-mn"},"Note if using an existing address with seniority you will have to manually \u2018lock\u2019 the collateral until after you have registered the MN."),(0,r.kt)("p",null,"Note the masternode.config file is no longer used."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"More than one masternode can not share the same collateral address, ownerKeyAddress or votingKeyAddress and payout address cannot be the same as owner or voting addresses.")),(0,r.kt)("p",null,"Create a new address for collateral this does not need to be a legacy address anymore, or use an existing seniority address. This address can also be in an offline wallet that has signing capabilities."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1\n")),(0,r.kt)("p",null,"Send exactly 100,000 tsys to this address"),(0,r.kt)("h2",{id:"identify-the-funding-transaction"},"Identify the funding transaction"),(0,r.kt)("p",null,"Click ",(0,r.kt)("strong",{parentName:"p"},"Window> Console")," and enter the following command:"),(0,r.kt)("p",null,"Note some commands now require an underscore"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"masternode_outputs\n")),(0,r.kt)("p",null,"This should return a string of characters similar to the following:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "3304a4920f20e1e5cd1f34e5396556ded1e603296f7c5dd66c7ec4fe63cb008d": "0"\n}\n')),(0,r.kt)("p",null,"The first long string is your ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralHash"),", while the last number is the ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralIndex"),"."),(0,r.kt)("h2",{id:"generate-a-bls-key-pair"},"Generate a BLS key pair"),(0,r.kt)("p",null,"A public/secret BLS key pair is required to operate a masternode. The secret key is specified on the masternode itself, and allows it to be included in the deterministic masternode list once a provider registration transaction with the corresponding public key has been created."),(0,r.kt)("p",null,"If you are using a hosting service, they may provide you with their public key, and you can skip this step. If you are hosting your own masternode or have agreed to provide your host with the BLS secret key, generate a BLS public/secret keypair in the Console and entering the following command:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'bls_generate{\n "secret": "1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7",\n "public": "05afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de"\n}\n')),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"These keys are NOT stored by the wallet and must be kept secure, similar to the value provided in the past by the")," ",(0,r.kt)("inlineCode",{parentName:"p"},"masternode genkey")," ",(0,r.kt)("strong",{parentName:"p"},"command.")),(0,r.kt)("h2",{id:"add-the-secret-key-to-your-masternode-configuration"},"Add the secret key to your masternode configuration"),(0,r.kt)("p",null,"The public key will be used in following steps. The secret key must be entered in the ",(0,r.kt)("inlineCode",{parentName:"p"},"syscoin.conf")," file on the masternode. This allows the masternode to watch the blockchain for relevant Pro*Tx transactions, and will cause it to start serving as a masternode when the signed ProRegTx is broadcast by the owner (final step below). Log in to your masternode using ",(0,r.kt)("inlineCode",{parentName:"p"},"ssh")," or PuTTY and edit the configuration file as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"nano ~/.syscoin/syscoin.conf\n")),(0,r.kt)("p",null,"The editor appears with the existing configuration. Add this line in the file, replacing the key with your BLS secret key generated above (excluding \u201c \u201d) and also add your VPS external address"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"masternodeblsprivkey=1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7\nexternalip=123.123.123.123\n")),(0,r.kt)("p",null,"Press enter to make sure there is a blank line at the end of the file, then press ",(0,r.kt)("strong",{parentName:"p"},"Ctrl + X")," to close the editor and ",(0,r.kt)("strong",{parentName:"p"},"Y")," and ",(0,r.kt)("strong",{parentName:"p"},"Enter")," save the file. Note that providing a ",(0,r.kt)("inlineCode",{parentName:"p"},"masternodeblsprivkey")," enables masternode mode, which will automatically force the ",(0,r.kt)("inlineCode",{parentName:"p"},"txindex=1"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"peerbloomfilters=1"),", and ",(0,r.kt)("inlineCode",{parentName:"p"},"prune=0")," settings necessary to provide masternode service. We now need to restart the masternode for this change to take effect. Enter the following commands, waiting a few seconds in between to give Syscoin time to shut down making sure you are in the root directory:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli stop\nsleep 5\nsyscoind\n")),(0,r.kt)("p",null,"We will now prepare the transaction used to register the masternode on the network."),(0,r.kt)("h2",{id:"prepare-a-proregtx-transaction"},"Prepare a ProRegTx transaction"),(0,r.kt)("p",null,"A pair of BLS keys for the operator were already generated above, and the secret key was entered on the masternode. The public key is used in this transaction as the ",(0,r.kt)("inlineCode",{parentName:"p"},"operatorPubKey"),"."),(0,r.kt)("p",null,"First, we need to get a new, unused address from the wallet to serve as the ",(0,r.kt)("strong",{parentName:"p"},"owner key address")," (",(0,r.kt)("inlineCode",{parentName:"p"},"ownerKeyAddr"),"). This is not the same as the collateral address holding 100000 Sys. This address must be different for each MN. Generate a new address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-ownertsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0\n")),(0,r.kt)("p",null,"This address can also be used as the ",(0,r.kt)("strong",{parentName:"p"},"voting key address")," (",(0,r.kt)("inlineCode",{parentName:"p"},"votingKeyAddr"),"). Alternatively, you can specify an address provided to you by your chosen voting delegate, or simply generate a new voting key address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-votingtsys1q9aejtrvkrlnqsfeqanr5zhrttg8g8g\n")),(0,r.kt)("p",null,"Then either generate or choose an existing address to receive the ",(0,r.kt)("strong",{parentName:"p"},"owner\u2019s masternode payouts")," (",(0,r.kt)("inlineCode",{parentName:"p"},"payoutAddress"),"). This address cannot be the same as your owner or voting address, it is also possible to use an address external to the wallet:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress payoutstsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67\n")),(0,r.kt)("p",null,"You can also optionally generate and fund another address as the ",(0,r.kt)("strong",{parentName:"p"},"transaction fee source")," (",(0,r.kt)("inlineCode",{parentName:"p"},"feeSourceAddress"),"). If you selected an external payout address, you must specify a fee source address."),(0,r.kt)("p",null,"Either the payout address or fee source address must have enough balance to pay the transaction fee, or the ",(0,r.kt)("inlineCode",{parentName:"p"},"register_prepare")," transaction will fail."),(0,r.kt)("p",null,"The private keys to the owner and fee source addresses must exist in the wallet submitting the transaction to the network. If your wallet is protected by a password, it must now be unlocked to perform the following commands. Unlock your wallet for 5 minutes:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"walletpassphrase yourSecretPassword 300\n")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"To see a list of common errors for the registration process click")," ",(0,r.kt)("a",{parentName:"p",href:"https://bittyjohn1954.medium.com/syscoin-4-2-masternode-error-codes-df0b80828f5f"},(0,r.kt)("strong",{parentName:"a"},"https://bittyjohn1954.medium.com/syscoin-4-2-masternode-error-codes-df0b80828f5f"))),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"You can use the registration helper blow but will need tto edit the first command generate to change the port to 18369")),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://syshub-dev.web.app/masternodes/masternode-registration"},"Syscoin MasternodesSysnode.info provides Syscoin Masternode Operators the tools to maximise the most from their Masternodes!syshub-dev.web.app")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Manually")),(0,r.kt)("p",null,"We will now prepare an unsigned ProRegTx special transaction using the ",(0,r.kt)("inlineCode",{parentName:"p"},"protx_register_prepare")," command. This command has the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_prepare collateralHash collateralIndex ipAndPort ownerKeyAddr\n operatorPubKey votingKeyAddr operatorReward payoutAddress (feeSourceAddress)\n")),(0,r.kt)("p",null,"Open a text editor such as notepad ++to prepare this command. Replace each argument to the command as follows:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"collateralHash"),": The txid of the 100000 Syscoin collateral funding transaction"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"collateralIndex"),": The output index of the 100000 Syscoin funding transaction"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"ipAndPort"),": Masternode IP address and port, in the format ",(0,r.kt)("inlineCode",{parentName:"li"},"x.x.x.x:yyyy")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"ownerKeyAddr"),": The Syscoin address generated above for the owner address"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"operatorPubKey"),": The BLS public key generated above (or provided by your hosting service)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"votingKeyAddr"),": The Syscoin address generated above, or the address of a delegate, used for proposal voting"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"operatorReward"),": The percentage of the block reward allocated to the operator as payment, 0 for no reward."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"payoutAddress"),": A Syscoin address to receive the owner\u2019s masternode rewards"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"feeSourceAddress"),": An (optional) address used to fund ProTx fee. ",(0,r.kt)("inlineCode",{parentName:"li"},"payoutAddress")," will be used if not specified.")),(0,r.kt)("p",null,"Note that the operator is responsible for ",(0,r.kt)("a",{parentName:"p",href:"https://docs.dash.org/en/stable/masternodes/maintenance.html#dip3-update-service"},"specifying their own reward")," address in a separate ",(0,r.kt)("inlineCode",{parentName:"p"},"update_service")," transaction if you specify a non-zero ",(0,r.kt)("inlineCode",{parentName:"p"},"operatorReward"),". The owner of the masternode collateral does not specify the operator\u2019s payout address."),(0,r.kt)("p",null,"Either the ",(0,r.kt)("inlineCode",{parentName:"p"},"feeSourceAddress")," or ",(0,r.kt)("inlineCode",{parentName:"p"},"payoutAddress")," must hold a small balance since a standard transaction fee is involved."),(0,r.kt)("p",null,"Example (remove line breaks if copying):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"Note in this example I will use the same address for owner and voting and i will have sent a small amount of tSys to the payoutAddress for fees as i am not using feeSourceAddress.(Remember to lock your collateral if using a seniority address)protx_register_prepare\n 3304a4920f20e1e5cd1f4e5396556ded1e603296f7c5dd66c7ec4fe63cb008d\n 0\n 161.97.140.65:18369\n tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0\n 05afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de\n tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0\n 0\n tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "tx": "5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000",\n "collateralAddress": "TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG",\n "signMessage": "tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0"\n}\n')),(0,r.kt)("p",null,"Next we will use the ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralAddress")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"signMessage")," fields to sign the transaction, and the output of the ",(0,r.kt)("inlineCode",{parentName:"p"},"tx")," field to submit the transaction."),(0,r.kt)("h2",{id:"sign-the-proregtx-transaction"},"Sign the ProRegTx transaction"),(0,r.kt)("p",null,"We will now sign the content of the ",(0,r.kt)("inlineCode",{parentName:"p"},"signMessage")," (returned above) field using the public key for the collateral address as specified in ",(0,r.kt)("inlineCode",{parentName:"p"},"collateralAddress"),". The wallet used to sign must hold the private key to the collateral address and note that no internet connection is required for this step, meaning that the wallet can remain disconnected from the internet in cold storage to sign the message. The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 collateralAddress signMessage\n")),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=\n")),(0,r.kt)("h2",{id:"submit-the-signed-message"},"Submit the signed message"),(0,r.kt)("p",null,"We will now submit the ProRegTx special transaction to the blockchain to register the masternode. This command must be sent from the wallet holding a balance on either the ",(0,r.kt)("inlineCode",{parentName:"p"},"feeSourceAddress")," or ",(0,r.kt)("inlineCode",{parentName:"p"},"payoutAddress"),", since a standard transaction fee is involved. The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit tx sig\n")),(0,r.kt)("p",null,"Where:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"tx"),": The serialized transaction previously returned in the ",(0,r.kt)("inlineCode",{parentName:"li"},"tx")," output field from the ",(0,r.kt)("inlineCode",{parentName:"li"},"protx_register_prepare")," command"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"sig"),": The message returned from the ",(0,r.kt)("inlineCode",{parentName:"li"},"signmessagebech32")," command")),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit 5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000 IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"285fba6277586401f8efaf55d4eef7acfa6d690a30c0db7f213a0bb2c6194bd1\n")),(0,r.kt)("p",null,"Your masternode is now registered and will appear on the Deterministic Masternode List after the transaction is mined to a block. You can view this list on the ",(0,r.kt)("strong",{parentName:"p"},"Masternodes")," tab in QT, or in the console using the command ",(0,r.kt)("inlineCode",{parentName:"p"},"protx_list valid"),", where the txid of the final ",(0,r.kt)("inlineCode",{parentName:"p"},"protx_register_submit")," transaction identifies your masternode."),(0,r.kt)("p",null,"At this point you can go back to your terminal window and monitor your masternode by entering"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli masternode_status\n")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(2976).Z})),(0,r.kt)("p",null,"This information can also be seen by double clicking your masternode in QT"),(0,r.kt)("p",null,"Congratulations! Your masternode is now running."))}d.isMDXComponent=!0},2976:(e,t,n)=>{n.d(t,{Z:()=>a});const a=n.p+"assets/images/mn_status-a059ddcb95c03732c31ca506e5df55f4.png"},32858:(e,t,n)=>{n.d(t,{Z:()=>a});const a=n.p+"assets/images/sentinel_setup-4441edca06df1a11a24395cf6fbe27ca.png"}}]); \ No newline at end of file diff --git a/assets/js/0c5fc6bd.045aa4f4.js b/assets/js/0c5fc6bd.045aa4f4.js deleted file mode 100644 index 350c4e76..00000000 --- a/assets/js/0c5fc6bd.045aa4f4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8474],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>f});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(r),m=o,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=m;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:o,i[1]=s;for(var c=2;c{r.r(t),r.d(t,{default:()=>p,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(87462),o=(r(67294),r(3905));const a={},i={unversionedId:"dev-resources/nevm/tooling",id:"dev-resources/nevm/tooling",isDocsHomePage:!1,title:"Tooling",description:"Below are a list of tools that will be greatly beneficial to you when you're designing and creating the next big dApp!",source:"@site/docs/dev-resources/nevm/tooling.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/tooling",permalink:"/docs/dev-resources/nevm/tooling",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Courses, Guides & Tutorials",permalink:"/docs/dev-resources/nevm/guides-and-tuts"},next:{title:"Deploying Smart Contracts with Truffle",permalink:"/docs/dev-resources/nevm/truffle"}},s=[],l={toc:s},c="wrapper";function p(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Below are a list of tools that will be greatly beneficial to you when you're designing and creating the next big dApp!"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Truffle Suite"),":"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.trufflesuite.com/truffle"},"Truffle"))," - A world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.trufflesuite.com/ganache"},"Ganache"))," - A personal blockchain for Ethereum development you can use to deploy contracts, develop your applications, and run tests. It is available as both a desktop application as well as a command-line tool (formerly known as the TestRPC). Ganache is available for Windows, Mac, and Linux."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.trufflesuite.com/drizzle"},"Drizzle"))," - A collection of front-end libraries that make writing dapp front-ends easier and more predictable. The core of Drizzle is based on a Redux store, so you have access to the spectacular development tools around Redux. We take care of synchronizing your contract data, transaction data and more.")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Hardhat")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://hardhat.org/"},"Hardhat")," is a more recently released development environment that has similarities to Truffle, it provides the ability to compile, deploy, test and debug solidity smart contracts."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Remix IDE")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://remix.ethereum.org/"},"Remix")," is an in-browser IDE that enables the writing, deploying and testing of smart contracts. It gives developers the ability to connect to any network they like through the use of browser extensions like MetaMask."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Syscoin RPC Providers")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"/docs/guides/nevm/metamask#manual-setup-to-connect-to-syscoin-network"},"Syscoin Foundation")," provides mainnet and testnet shared nodes for RPC."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://getblock.io/nodes/sys/"},"Getblock")," provides mainnet shared nodes for RPC and the option of dedicated nodes."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://ankr.com/rpc/syscoin"},"Ankr")," provides mainnet shared nodes for RPC and the option of dedicated nodes.")),(0,o.kt)("h2",{id:""}))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0c5fc6bd.305a380b.js b/assets/js/0c5fc6bd.305a380b.js new file mode 100644 index 00000000..249fc1c6 --- /dev/null +++ b/assets/js/0c5fc6bd.305a380b.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8474],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>m});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},p=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),d=c(r),m=o,f=d["".concat(l,".").concat(m)]||d[m]||u[m]||a;return r?n.createElement(f,i(i({ref:t},p),{},{components:r})):n.createElement(f,i({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,i=new Array(a);i[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,i[1]=s;for(var c=2;c{r.r(t),r.d(t,{default:()=>c,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var n=r(87462),o=(r(67294),r(3905));const a={},i={unversionedId:"dev-resources/nevm/tooling",id:"dev-resources/nevm/tooling",isDocsHomePage:!1,title:"Tooling",description:"Below are a list of tools that will be greatly beneficial to you when you're designing and creating the next big dApp!",source:"@site/docs/dev-resources/nevm/tooling.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/tooling",permalink:"/docs/dev-resources/nevm/tooling",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Courses, Guides & Tutorials",permalink:"/docs/dev-resources/nevm/guides-and-tuts"},next:{title:"Deploying Smart Contracts with Truffle",permalink:"/docs/dev-resources/nevm/truffle"}},s=[],l={toc:s};function c(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Below are a list of tools that will be greatly beneficial to you when you're designing and creating the next big dApp!"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Truffle Suite"),":"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.trufflesuite.com/truffle"},"Truffle"))," - A world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.trufflesuite.com/ganache"},"Ganache"))," - A personal blockchain for Ethereum development you can use to deploy contracts, develop your applications, and run tests. It is available as both a desktop application as well as a command-line tool (formerly known as the TestRPC). Ganache is available for Windows, Mac, and Linux."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.trufflesuite.com/drizzle"},"Drizzle"))," - A collection of front-end libraries that make writing dapp front-ends easier and more predictable. The core of Drizzle is based on a Redux store, so you have access to the spectacular development tools around Redux. We take care of synchronizing your contract data, transaction data and more.")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Hardhat")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://hardhat.org/"},"Hardhat")," is a more recently released development environment that has similarities to Truffle, it provides the ability to compile, deploy, test and debug solidity smart contracts."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Remix IDE")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://remix.ethereum.org/"},"Remix")," is an in-browser IDE that enables the writing, deploying and testing of smart contracts. It gives developers the ability to connect to any network they like through the use of browser extensions like MetaMask."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Syscoin RPC Providers")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"/docs/guides/nevm/metamask#manual-setup-to-connect-to-syscoin-network"},"Syscoin Foundation")," provides mainnet and testnet shared nodes for RPC."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://getblock.io/nodes/sys/"},"Getblock")," provides mainnet shared nodes for RPC and the option of dedicated nodes."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://ankr.com/rpc/syscoin"},"Ankr")," provides mainnet shared nodes for RPC and the option of dedicated nodes.")),(0,o.kt)("h2",{id:""}))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/0f5337d7.203cad01.js b/assets/js/0f5337d7.c9a08793.js similarity index 97% rename from assets/js/0f5337d7.203cad01.js rename to assets/js/0f5337d7.c9a08793.js index 5bd60f59..390f7958 100644 --- a/assets/js/0f5337d7.203cad01.js +++ b/assets/js/0f5337d7.c9a08793.js @@ -1 +1 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8638],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(13960),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>k,qp:()=>l,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>T,h$:()=>O,f2:()=>B,tD:()=>I,x6:()=>A,ri:()=>P,pR:()=>U,kG:()=>q,MP:()=>D,OK:()=>X,IM:()=>R,WO:()=>H,II:()=>V,vu:()=>J,R5:()=>z,S7:()=>E,KF:()=>G,s9:()=>M,lX:()=>C,Gu:()=>W,lV:()=>K,Zm:()=>F,Kg:()=>L,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>ke,MC:()=>le,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Te,zT:()=>Oe,i8:()=>Be,y5:()=>Ie,p1:()=>Ae,x2:()=>Pe,XN:()=>Ue,Yl:()=>qe,OR:()=>De,ge:()=>Xe,i0:()=>Re,x3:()=>He,vl:()=>Ve,M9:()=>Je,GN:()=>ze,Nv:()=>Ee,hY:()=>Ge,iN:()=>Me,kf:()=>Ce,CH:()=>We,M2:()=>Ke,Nt:()=>Fe,tf:()=>Le,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>kt,BH:()=>lt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),O=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),B=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),P=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),U=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),R=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),H=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),V=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),J=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),z=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),G=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),K=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),F=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),ke=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),le=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Oe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Pe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Ue=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Re=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),He=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ve=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),ze=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ee=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Me=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Ke=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Fe=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},64094:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);const o={sidebar_position:5},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/trezorsigner",id:"dev-resources/documentation/javascript-sdk-ref/trezorsigner",isDocsHomePage:!1,title:"TrezorSigner",description:"These are the TrezorSigner exported functions, TrezorSigner is used to manage and sign transactions using a Trezor hardware wallet. BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/trezorsigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner",version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"HDSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner"},next:{title:"Types",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/types"}},c=[{value:"backup",id:"backup",children:[]},{value:"convertToTrezorFormat",id:"converttotrezorformat",children:[]},{value:"createAccount",id:"createaccount",children:[]},{value:"deriveAccount",id:"deriveaccount",children:[]},{value:"getAccountNode",id:"getaccountnode",children:[]},{value:"getAccountXpub",id:"getaccountxpub",children:[]},{value:"getAddressFromPubKey",id:"getaddressfrompubkey",children:[]},{value:"getNewChangeAddress",id:"getnewchangeaddress",children:[]},{value:"getNewReceivingAddress",id:"getnewreceivingaddress",children:[]},{value:"restore",id:"restore",children:[]},{value:"setAccountIndex",id:"setaccountindex",children:[]},{value:"setLatestIndexesFromXPubTokens",id:"setlatestindexesfromxpubtokens",children:[]},{value:"sign",id:"sign",children:[]}],p={toc:c},u="wrapper";function y(e){let{components:t,...a}=e;return(0,n.kt)(u,(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"These are the TrezorSigner exported functions, TrezorSigner is used to manage and sign transactions using a Trezor hardware wallet. BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH."),(0,n.kt)("h3",{id:"backup"},"backup"),(0,n.kt)("h5",{id:"backup-1"},(0,n.kt)("em",{parentName:"h5"},"backup()")),(0,n.kt)("p",null,"Encrypt to password and backup to local storage for persistence."),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"converttotrezorformat"},"convertToTrezorFormat"),(0,n.kt)("h5",{id:"converttotrezorformat-1"},(0,n.kt)("em",{parentName:"h5"},"convertToTrezorFormat()")),(0,n.kt)("p",null,"Converts a Syscoin PSBT to Trezor format."),(0,n.kt)(i.Z,{paramTable:r.lX,returnTable:r.Gu,anchor:"#converttotrezorformat",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createaccount"},"createAccount"),(0,n.kt)("h5",{id:"createaccount-1"},(0,n.kt)("em",{parentName:"h5"},"createAccount()")),(0,n.kt)("p",null,"Create and derive a new account."),(0,n.kt)(i.Z,{returnTable:r.lV,anchor:"#createaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"deriveaccount"},"deriveAccount"),(0,n.kt)("h5",{id:"deriveaccount-index-"},(0,n.kt)("em",{parentName:"h5"},"deriveAccount( index )")),(0,n.kt)("p",null,"Derive a HD account based on the index number passed in."),(0,n.kt)(i.Z,{paramTable:r.Pk,returnTable:r.z0,anchor:"#deriveaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaccountnode"},"getAccountNode"),(0,n.kt)("h5",{id:"getaccountnode-1"},(0,n.kt)("em",{parentName:"h5"},"getAccountNode()")),(0,n.kt)("p",null,"Returns the ",(0,n.kt)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner"),"'s BIP32 root node."),(0,n.kt)(i.Z,{returnTable:r.Ue,anchor:"#getrootnode",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaccountxpub"},"getAccountXpub"),(0,n.kt)("h5",{id:"getaccountxpub-1"},(0,n.kt)("em",{parentName:"h5"},"getAccountXpub()")),(0,n.kt)("p",null,"Gets the ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," for the account currently in use by the ",(0,n.kt)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner"),", useful for public provider look-ups based on ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," accounts."),(0,n.kt)(i.Z,{returnTable:r.y5,anchor:"#getaccountxpub",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaddressfrompubkey"},"getAddressFromPubKey"),(0,n.kt)("h5",{id:"getaddressfrompubkey-pubkey-"},(0,n.kt)("em",{parentName:"h5"},"getAddressFromPubKey( pubKey )")),(0,n.kt)("p",null,"Takes a public key and gives back a P2WPKH address."),(0,n.kt)(i.Z,{paramTable:r.XN,returnTable:r.Yl,anchor:"#getaddressfrompubkey",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewchangeaddress"},"getNewChangeAddress"),(0,n.kt)("h5",{id:"getnewchangeaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewChangeAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending change to."),(0,n.kt)(i.Z,{paramTable:r.Nt,returnTable:r.tf,anchor:"#getnewchangeaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewreceivingaddress"},"getNewReceivingAddress"),(0,n.kt)("h5",{id:"getnewreceivingaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewReceivingAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending coins to."),(0,n.kt)(i.Z,{paramTable:r.M6,returnTable:r.K9,anchor:"#getnewreceivingaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"restore"},"restore"),(0,n.kt)("h5",{id:"restore-password-"},(0,n.kt)("em",{parentName:"h5"},"restore( password )")),(0,n.kt)("p",null,"Restore on load from local storage and decrypt data to de-serialize objects."),(0,n.kt)(i.Z,{paramTable:r.nu,returnTable:r.W$,anchor:"#restore",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setaccountindex"},"setAccountIndex"),(0,n.kt)("h5",{id:"setaccountindex-accountindex-"},(0,n.kt)("em",{parentName:"h5"},"setAccountIndex( accountIndex )")),(0,n.kt)("p",null,"Set HD account based on accountIndex number passed in so HD indexes (change/receiving) will be updated accordingly to this account."),(0,n.kt)(i.Z,{paramTable:r.ju,anchor:"#setaccountindex",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setlatestindexesfromxpubtokens"},"setLatestIndexesFromXPubTokens"),(0,n.kt)("h5",{id:"setlatestindexesfromxpubtokens-tokens-"},(0,n.kt)("em",{parentName:"h5"},"setLatestIndexesFromXPubTokens( tokens )")),(0,n.kt)("p",null,"Sets the change and receiving indexes from ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," tokens passed in, from a back-end provider response."),(0,n.kt)(i.Z,{paramTable:r.En,anchor:"#setlatestindexesfromxpubtokens",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sign"},"sign"),(0,n.kt)("h5",{id:"sign-res-"},(0,n.kt)("em",{parentName:"h5"},"sign( res )")),(0,n.kt)("p",null,"Create signing information based on the ",(0,n.kt)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner")," (if set)"),(0,n.kt)(i.Z,{paramTable:r.Xx,anchor:"#sign",mdxType:"ShowInfoComponent"}))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8638],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(45822),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>k,qp:()=>l,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>T,h$:()=>O,f2:()=>B,tD:()=>I,x6:()=>A,ri:()=>P,pR:()=>U,kG:()=>q,MP:()=>D,OK:()=>X,IM:()=>R,WO:()=>H,II:()=>V,vu:()=>J,R5:()=>z,S7:()=>E,KF:()=>G,s9:()=>M,lX:()=>C,Gu:()=>W,lV:()=>K,Zm:()=>F,Kg:()=>L,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>ke,MC:()=>le,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Te,zT:()=>Oe,i8:()=>Be,y5:()=>Ie,p1:()=>Ae,x2:()=>Pe,XN:()=>Ue,Yl:()=>qe,OR:()=>De,ge:()=>Xe,i0:()=>Re,x3:()=>He,vl:()=>Ve,M9:()=>Je,GN:()=>ze,Nv:()=>Ee,hY:()=>Ge,iN:()=>Me,kf:()=>Ce,CH:()=>We,M2:()=>Ke,Nt:()=>Fe,tf:()=>Le,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>kt,BH:()=>lt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),O=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),B=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),P=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),U=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),R=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),H=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),V=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),J=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),z=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),G=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),K=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),F=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),ke=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),le=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Oe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Pe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Ue=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Re=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),He=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ve=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),ze=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ee=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Me=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Ke=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Fe=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},64094:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);const o={sidebar_position:5},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/trezorsigner",id:"dev-resources/documentation/javascript-sdk-ref/trezorsigner",isDocsHomePage:!1,title:"TrezorSigner",description:"These are the TrezorSigner exported functions, TrezorSigner is used to manage and sign transactions using a Trezor hardware wallet. BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/trezorsigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner",version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"HDSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner"},next:{title:"Types",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/types"}},c=[{value:"backup",id:"backup",children:[]},{value:"convertToTrezorFormat",id:"converttotrezorformat",children:[]},{value:"createAccount",id:"createaccount",children:[]},{value:"deriveAccount",id:"deriveaccount",children:[]},{value:"getAccountNode",id:"getaccountnode",children:[]},{value:"getAccountXpub",id:"getaccountxpub",children:[]},{value:"getAddressFromPubKey",id:"getaddressfrompubkey",children:[]},{value:"getNewChangeAddress",id:"getnewchangeaddress",children:[]},{value:"getNewReceivingAddress",id:"getnewreceivingaddress",children:[]},{value:"restore",id:"restore",children:[]},{value:"setAccountIndex",id:"setaccountindex",children:[]},{value:"setLatestIndexesFromXPubTokens",id:"setlatestindexesfromxpubtokens",children:[]},{value:"sign",id:"sign",children:[]}],p={toc:c};function u(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"These are the TrezorSigner exported functions, TrezorSigner is used to manage and sign transactions using a Trezor hardware wallet. BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH."),(0,n.kt)("h3",{id:"backup"},"backup"),(0,n.kt)("h5",{id:"backup-1"},(0,n.kt)("em",{parentName:"h5"},"backup()")),(0,n.kt)("p",null,"Encrypt to password and backup to local storage for persistence."),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"converttotrezorformat"},"convertToTrezorFormat"),(0,n.kt)("h5",{id:"converttotrezorformat-1"},(0,n.kt)("em",{parentName:"h5"},"convertToTrezorFormat()")),(0,n.kt)("p",null,"Converts a Syscoin PSBT to Trezor format."),(0,n.kt)(i.Z,{paramTable:r.lX,returnTable:r.Gu,anchor:"#converttotrezorformat",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createaccount"},"createAccount"),(0,n.kt)("h5",{id:"createaccount-1"},(0,n.kt)("em",{parentName:"h5"},"createAccount()")),(0,n.kt)("p",null,"Create and derive a new account."),(0,n.kt)(i.Z,{returnTable:r.lV,anchor:"#createaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"deriveaccount"},"deriveAccount"),(0,n.kt)("h5",{id:"deriveaccount-index-"},(0,n.kt)("em",{parentName:"h5"},"deriveAccount( index )")),(0,n.kt)("p",null,"Derive a HD account based on the index number passed in."),(0,n.kt)(i.Z,{paramTable:r.Pk,returnTable:r.z0,anchor:"#deriveaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaccountnode"},"getAccountNode"),(0,n.kt)("h5",{id:"getaccountnode-1"},(0,n.kt)("em",{parentName:"h5"},"getAccountNode()")),(0,n.kt)("p",null,"Returns the ",(0,n.kt)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner"),"'s BIP32 root node."),(0,n.kt)(i.Z,{returnTable:r.Ue,anchor:"#getrootnode",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaccountxpub"},"getAccountXpub"),(0,n.kt)("h5",{id:"getaccountxpub-1"},(0,n.kt)("em",{parentName:"h5"},"getAccountXpub()")),(0,n.kt)("p",null,"Gets the ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," for the account currently in use by the ",(0,n.kt)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner"),", useful for public provider look-ups based on ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," accounts."),(0,n.kt)(i.Z,{returnTable:r.y5,anchor:"#getaccountxpub",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaddressfrompubkey"},"getAddressFromPubKey"),(0,n.kt)("h5",{id:"getaddressfrompubkey-pubkey-"},(0,n.kt)("em",{parentName:"h5"},"getAddressFromPubKey( pubKey )")),(0,n.kt)("p",null,"Takes a public key and gives back a P2WPKH address."),(0,n.kt)(i.Z,{paramTable:r.XN,returnTable:r.Yl,anchor:"#getaddressfrompubkey",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewchangeaddress"},"getNewChangeAddress"),(0,n.kt)("h5",{id:"getnewchangeaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewChangeAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending change to."),(0,n.kt)(i.Z,{paramTable:r.Nt,returnTable:r.tf,anchor:"#getnewchangeaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewreceivingaddress"},"getNewReceivingAddress"),(0,n.kt)("h5",{id:"getnewreceivingaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewReceivingAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending coins to."),(0,n.kt)(i.Z,{paramTable:r.M6,returnTable:r.K9,anchor:"#getnewreceivingaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"restore"},"restore"),(0,n.kt)("h5",{id:"restore-password-"},(0,n.kt)("em",{parentName:"h5"},"restore( password )")),(0,n.kt)("p",null,"Restore on load from local storage and decrypt data to de-serialize objects."),(0,n.kt)(i.Z,{paramTable:r.nu,returnTable:r.W$,anchor:"#restore",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setaccountindex"},"setAccountIndex"),(0,n.kt)("h5",{id:"setaccountindex-accountindex-"},(0,n.kt)("em",{parentName:"h5"},"setAccountIndex( accountIndex )")),(0,n.kt)("p",null,"Set HD account based on accountIndex number passed in so HD indexes (change/receiving) will be updated accordingly to this account."),(0,n.kt)(i.Z,{paramTable:r.ju,anchor:"#setaccountindex",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setlatestindexesfromxpubtokens"},"setLatestIndexesFromXPubTokens"),(0,n.kt)("h5",{id:"setlatestindexesfromxpubtokens-tokens-"},(0,n.kt)("em",{parentName:"h5"},"setLatestIndexesFromXPubTokens( tokens )")),(0,n.kt)("p",null,"Sets the change and receiving indexes from ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," tokens passed in, from a back-end provider response."),(0,n.kt)(i.Z,{paramTable:r.En,anchor:"#setlatestindexesfromxpubtokens",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sign"},"sign"),(0,n.kt)("h5",{id:"sign-res-"},(0,n.kt)("em",{parentName:"h5"},"sign( res )")),(0,n.kt)("p",null,"Create signing information based on the ",(0,n.kt)("a",{parentName:"p",href:"utils/#trezorsigner"},"TrezorSigner")," (if set)"),(0,n.kt)(i.Z,{paramTable:r.Xx,anchor:"#sign",mdxType:"ShowInfoComponent"}))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/157b295e.34f70319.js b/assets/js/157b295e.34f70319.js deleted file mode 100644 index 920a1c7b..00000000 --- a/assets/js/157b295e.34f70319.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9272],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},h=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=c(n),h=r,m=p["".concat(l,".").concat(h)]||p[h]||u[h]||o;return n?a.createElement(m,i(i({ref:t},d),{},{components:n})):a.createElement(m,i({ref:t},d))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:r,i[1]=s;for(var c=2;c{n.r(t),n.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var a=n(87462),r=(n(67294),n(3905));const o={},i={unversionedId:"dev-resources/sys/z-dag",id:"dev-resources/sys/z-dag",isDocsHomePage:!1,title:"Z-DAG Developer Guide",description:"Z-DAG is a patent-pending transaction technology implemented on the Syscoin blockchain that enables near-instant, low-cost transactions that are highly scalable. Z-DAGs transactional throughput has been audited by third party blockchain auditing firm Whiteblock, you can view their report here. For more technical information on Z-DAG refer to the Z-DAG Syscoin Community page or the Syscoin Z-DAG Whitepaper.",source:"@site/docs/dev-resources/sys/z-dag.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/z-dag",permalink:"/docs/dev-resources/sys/z-dag",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Testnet Masternode Setup Guide",permalink:"/docs/dev-resources/sys/testnet_mn"},next:{title:"Overview",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/overview"}},s=[{value:"Z-DAG Basics",id:"z-dag-basics",children:[]},{value:"Understanding Z-DAG Statuses",id:"understanding-z-dag-statuses",children:[]},{value:"Using Z-DAG Balances",id:"using-z-dag-balances",children:[]}],l={toc:s},c="wrapper";function d(e){let{components:t,...n}=e;return(0,r.kt)(c,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"Z-DAG is a patent-pending transaction technology implemented on the Syscoin blockchain that enables near-instant, low-cost transactions that are highly scalable. Z-DAGs transactional throughput has been audited by third party blockchain auditing firm ",(0,r.kt)("a",{parentName:"p",href:"https://whiteblock.io/"},"Whiteblock"),", you can ",(0,r.kt)("a",{parentName:"p",href:"https://syscoin.org/whitepaper#tps"},"view their report here"),". For more technical information on Z-DAG refer to the ",(0,r.kt)("a",{parentName:"p",href:"https://syscoin.community/features/z-dag"},"Z-DAG Syscoin Community page")," or the ",(0,r.kt)("a",{parentName:"p",href:"https://syscoin.org/zdag_syscoin_whitepaper.pdf"},"Syscoin Z-DAG Whitepaper"),"."),(0,r.kt)("h2",{id:"z-dag-basics"},"Z-DAG Basics"),(0,r.kt)("p",null,"Z-DAG is an interactive protocol, meaning you can continue to check the Z-DAG status all the way up to the point of blockchain confirmation. In today's network conditions a minimum Z-DAG threshold of 10 seconds or later are typically secure (99.9999%). Within certain enterprise deployments lower Z-DAG thresholds can be considered secure dependent on network conditions."),(0,r.kt)("p",null,"A typical transaction workflow has 2 stages:"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"The transaction enters the mempool (unconfirmed)."),(0,r.kt)("li",{parentName:"ol"},"The transaction is mined into a block (confirmed).")),(0,r.kt)("p",null,"When using Z-DAG, there are 3 stages:"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"The transaction enters the mempool (unconfirmed)."),(0,r.kt)("li",{parentName:"ol"},"After a predefined Z-DAG threshold time the interactive protocol is called and returns a Z-DAG status."),(0,r.kt)("li",{parentName:"ol"},"The transaction is mined into a block (confirmed).")),(0,r.kt)("p",null,"When step 2 returns a Z-DAG status of 0 (after the Z-DAG threshold) that means the SPT can be re-spent without the risk of double-spends. Longer Z-DAG thresholds provide a higher level of security. When transactions are in a Z-DAG state available balance for re-spending should be determined using the Z-DAG balance."),(0,r.kt)("h2",{id:"understanding-z-dag-statuses"},"Understanding Z-DAG Statuses"),(0,r.kt)("p",null,"Z-DAG status is retrieved by the command ",(0,r.kt)("inlineCode",{parentName:"p"},"assetallocationverifyzdag"),". The output will reflect one of the following status levels:"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"center"},"Status"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"-1"),(0,r.kt)("td",{parentName:"tr",align:"left"},"NOT FOUND (transaction is already confirmed on-chain, or is not a Z-DAG transaction)")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"0"),(0,r.kt)("td",{parentName:"tr",align:"left"},"OK")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"1"),(0,r.kt)("td",{parentName:"tr",align:"left"},"WARNING (there are more spending balances than the current POW sender balance in the mempool. An active stance should be taken and perhaps a deeper analysis as to potential conflicts related to the sender.)")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"2"),(0,r.kt)("td",{parentName:"tr",align:"left"},"CRITICAL (an active double spend was detected. Any descendant asset allocations are flagged as dangerous and should wait for POW confirmation before proceeding.)")))),(0,r.kt)("h2",{id:"using-z-dag-balances"},"Using Z-DAG Balances"),(0,r.kt)("p",null,"The available balance while use Z-DAG can be determined by calling ",(0,r.kt)("inlineCode",{parentName:"p"},"assetallocationbalance"),". If ",(0,r.kt)("inlineCode",{parentName:"p"},"balance")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"zdag_balance")," are the same, then display ",(0,r.kt)("inlineCode",{parentName:"p"},"balance"),". If the balances differ that is an indication that Z-DAG is active for this transaction and it has not yet been confirmed by Proof of Work. In this scenario the ",(0,r.kt)("inlineCode",{parentName:"p"},"zdag_balance")," should be used to indicate to the user their available balance."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/157b295e.36ddd59f.js b/assets/js/157b295e.36ddd59f.js new file mode 100644 index 00000000..4b27c2f8 --- /dev/null +++ b/assets/js/157b295e.36ddd59f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9272],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>h});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=c(n),h=r,m=u["".concat(l,".").concat(h)]||u[h]||p[h]||o;return n?a.createElement(m,i(i({ref:t},d),{},{components:n})):a.createElement(m,i({ref:t},d))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:r,i[1]=s;for(var c=2;c{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var a=n(87462),r=(n(67294),n(3905));const o={},i={unversionedId:"dev-resources/sys/z-dag",id:"dev-resources/sys/z-dag",isDocsHomePage:!1,title:"Z-DAG Developer Guide",description:"Z-DAG is a patent-pending transaction technology implemented on the Syscoin blockchain that enables near-instant, low-cost transactions that are highly scalable. Z-DAGs transactional throughput has been audited by third party blockchain auditing firm Whiteblock, you can view their report here. For more technical information on Z-DAG refer to the Z-DAG Syscoin Community page or the Syscoin Z-DAG Whitepaper.",source:"@site/docs/dev-resources/sys/z-dag.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/z-dag",permalink:"/docs/dev-resources/sys/z-dag",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Testnet Masternode Setup Guide",permalink:"/docs/dev-resources/sys/testnet_mn"},next:{title:"Overview",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/overview"}},s=[{value:"Z-DAG Basics",id:"z-dag-basics",children:[]},{value:"Understanding Z-DAG Statuses",id:"understanding-z-dag-statuses",children:[]},{value:"Using Z-DAG Balances",id:"using-z-dag-balances",children:[]}],l={toc:s};function c(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"Z-DAG is a patent-pending transaction technology implemented on the Syscoin blockchain that enables near-instant, low-cost transactions that are highly scalable. Z-DAGs transactional throughput has been audited by third party blockchain auditing firm ",(0,r.kt)("a",{parentName:"p",href:"https://whiteblock.io/"},"Whiteblock"),", you can ",(0,r.kt)("a",{parentName:"p",href:"https://syscoin.org/whitepaper#tps"},"view their report here"),". For more technical information on Z-DAG refer to the ",(0,r.kt)("a",{parentName:"p",href:"https://syscoin.community/features/z-dag"},"Z-DAG Syscoin Community page")," or the ",(0,r.kt)("a",{parentName:"p",href:"https://syscoin.org/zdag_syscoin_whitepaper.pdf"},"Syscoin Z-DAG Whitepaper"),"."),(0,r.kt)("h2",{id:"z-dag-basics"},"Z-DAG Basics"),(0,r.kt)("p",null,"Z-DAG is an interactive protocol, meaning you can continue to check the Z-DAG status all the way up to the point of blockchain confirmation. In today's network conditions a minimum Z-DAG threshold of 10 seconds or later are typically secure (99.9999%). Within certain enterprise deployments lower Z-DAG thresholds can be considered secure dependent on network conditions."),(0,r.kt)("p",null,"A typical transaction workflow has 2 stages:"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"The transaction enters the mempool (unconfirmed)."),(0,r.kt)("li",{parentName:"ol"},"The transaction is mined into a block (confirmed).")),(0,r.kt)("p",null,"When using Z-DAG, there are 3 stages:"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},"The transaction enters the mempool (unconfirmed)."),(0,r.kt)("li",{parentName:"ol"},"After a predefined Z-DAG threshold time the interactive protocol is called and returns a Z-DAG status."),(0,r.kt)("li",{parentName:"ol"},"The transaction is mined into a block (confirmed).")),(0,r.kt)("p",null,"When step 2 returns a Z-DAG status of 0 (after the Z-DAG threshold) that means the SPT can be re-spent without the risk of double-spends. Longer Z-DAG thresholds provide a higher level of security. When transactions are in a Z-DAG state available balance for re-spending should be determined using the Z-DAG balance."),(0,r.kt)("h2",{id:"understanding-z-dag-statuses"},"Understanding Z-DAG Statuses"),(0,r.kt)("p",null,"Z-DAG status is retrieved by the command ",(0,r.kt)("inlineCode",{parentName:"p"},"assetallocationverifyzdag"),". The output will reflect one of the following status levels:"),(0,r.kt)("table",null,(0,r.kt)("thead",{parentName:"table"},(0,r.kt)("tr",{parentName:"thead"},(0,r.kt)("th",{parentName:"tr",align:"center"},"Status"),(0,r.kt)("th",{parentName:"tr",align:"left"},"Description"))),(0,r.kt)("tbody",{parentName:"table"},(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"-1"),(0,r.kt)("td",{parentName:"tr",align:"left"},"NOT FOUND (transaction is already confirmed on-chain, or is not a Z-DAG transaction)")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"0"),(0,r.kt)("td",{parentName:"tr",align:"left"},"OK")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"1"),(0,r.kt)("td",{parentName:"tr",align:"left"},"WARNING (there are more spending balances than the current POW sender balance in the mempool. An active stance should be taken and perhaps a deeper analysis as to potential conflicts related to the sender.)")),(0,r.kt)("tr",{parentName:"tbody"},(0,r.kt)("td",{parentName:"tr",align:"center"},"2"),(0,r.kt)("td",{parentName:"tr",align:"left"},"CRITICAL (an active double spend was detected. Any descendant asset allocations are flagged as dangerous and should wait for POW confirmation before proceeding.)")))),(0,r.kt)("h2",{id:"using-z-dag-balances"},"Using Z-DAG Balances"),(0,r.kt)("p",null,"The available balance while use Z-DAG can be determined by calling ",(0,r.kt)("inlineCode",{parentName:"p"},"assetallocationbalance"),". If ",(0,r.kt)("inlineCode",{parentName:"p"},"balance")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"zdag_balance")," are the same, then display ",(0,r.kt)("inlineCode",{parentName:"p"},"balance"),". If the balances differ that is an indication that Z-DAG is active for this transaction and it has not yet been confirmed by Proof of Work. In this scenario the ",(0,r.kt)("inlineCode",{parentName:"p"},"zdag_balance")," should be used to indicate to the user their available balance."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/17896441.57082608.js b/assets/js/17896441.57082608.js deleted file mode 100644 index 35841057..00000000 --- a/assets/js/17896441.57082608.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7918],{73852:(e,t,a)=>{a.r(t),a.d(t,{default:()=>V});var n=a(67294),l=a(36742),s=a(24973);const i=function(e){const{metadata:t}=e;return n.createElement("nav",{className:"pagination-nav","aria-label":(0,s.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},n.createElement("div",{className:"pagination-nav__item"},t.previous&&n.createElement(l.Z,{className:"pagination-nav__link",to:t.previous.permalink},n.createElement("div",{className:"pagination-nav__sublabel"},n.createElement(s.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")),n.createElement("div",{className:"pagination-nav__label"},"\xab ",t.previous.title))),n.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},t.next&&n.createElement(l.Z,{className:"pagination-nav__link",to:t.next.permalink},n.createElement("div",{className:"pagination-nav__sublabel"},n.createElement(s.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next")),n.createElement("div",{className:"pagination-nav__label"},t.next.title," \xbb"))))};var r=a(52263),o=a(80907),c=a(86700);function d(e){let{siteTitle:t,versionLabel:a}=e;return n.createElement(s.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:n.createElement("strong",null,a)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")}function m(e){let{siteTitle:t,versionLabel:a}=e;return n.createElement(s.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:n.createElement("strong",null,a)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}function u(e){let{versionLabel:t,to:a,onClick:i}=e;return n.createElement(s.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label userd to tell the user that he's browsing an unmaintained doc version",values:{versionLabel:t,latestVersionLink:n.createElement("strong",null,n.createElement(l.Z,{to:a,onClick:i},n.createElement(s.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}const v=function(){const{siteConfig:{title:e}}=(0,r.default)(),{pluginId:t}=(0,o.useActivePlugin)({failfast:!0}),{savePreferredVersionName:a}=(0,c.J)(t),l=(0,o.useActiveVersion)(t),{latestDocSuggestion:s,latestVersionSuggestion:i}=(0,o.useDocVersionSuggestions)(t);if(!i)return n.createElement(n.Fragment,null);const v=s??(p=i).docs.find((e=>e.id===p.mainDocId));var p;return n.createElement("div",{className:"alert alert--warning margin-bottom--md",role:"alert"},n.createElement("div",null,"current"===l.name?n.createElement(d,{siteTitle:e,versionLabel:l.label}):n.createElement(m,{siteTitle:e,versionLabel:l.label})),n.createElement("div",{className:"margin-top--md"},n.createElement(u,{versionLabel:i.label,to:v.path,onClick:()=>a(i.name)})))};var p=a(41217);const g={lastUpdatedDate:"lastUpdatedDate_nN9m"};function E(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:a}=e;return n.createElement(s.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:n.createElement("time",{dateTime:new Date(1e3*t).toISOString(),className:g.lastUpdatedDate},a)}}," on {date}")}function h(e){let{lastUpdatedBy:t}=e;return n.createElement(s.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:n.createElement("strong",null,t)}}," by {user}")}function b(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:a,lastUpdatedBy:l}=e;return n.createElement("div",{className:"col text--right"},n.createElement("em",null,n.createElement("small",null,n.createElement(s.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&a?n.createElement(E,{lastUpdatedAt:t,formattedLastUpdatedAt:a}):"",byUser:l?n.createElement(h,{lastUpdatedBy:l}):""}},"Last updated{atDate}{byUser}"),!1)))}var f=a(86010);const _=function(e,t,a){const[l,s]=(0,n.useState)(void 0);(0,n.useEffect)((()=>{function n(){const n=function(){const e=Array.from(document.getElementsByClassName("anchor")),t=e.find((e=>{const{top:t}=e.getBoundingClientRect();return t>=a}));if(t){if(t.getBoundingClientRect().top>=a){return e[e.indexOf(t)-1]??t}return t}return e[e.length-1]}();if(n){let a=0,i=!1;const r=document.getElementsByClassName(e);for(;a{document.removeEventListener("scroll",n),document.removeEventListener("resize",n)}}))},N="tableOfContents_vrFS",L="table-of-contents__link";function U(e){let{toc:t,isChild:a}=e;return t.length?n.createElement("ul",{className:a?"":"table-of-contents table-of-contents__left-border"},t.map((e=>n.createElement("li",{key:e.id},n.createElement("a",{href:`#${e.id}`,className:L,dangerouslySetInnerHTML:{__html:e.value}}),n.createElement(U,{isChild:!0,toc:e.children}))))):null}const y=function(e){let{toc:t}=e;return _(L,"table-of-contents__link--active",100),n.createElement("div",{className:(0,f.Z)(N,"thin-scrollbar")},n.createElement(U,{toc:t}))};var T=a(87462);const k="iconEdit_mS5F",w=e=>{let{className:t,...a}=e;return n.createElement("svg",(0,T.Z)({fill:"currentColor",height:"1.2em",width:"1.2em",preserveAspectRatio:"xMidYMid meet",role:"img",viewBox:"0 0 40 40",className:(0,f.Z)(k,t),"aria-label":"Edit page"},a),n.createElement("g",null,n.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))};function A(e){let{editUrl:t}=e;return n.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener"},n.createElement(w,null),n.createElement(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}const Z="docTitle_-X99",C="docItemContainer_oiyr",x="docItemCol_zHA2";const V=function(e){const{content:t}=e,{metadata:a,frontMatter:l}=t,{image:s,keywords:r,hide_title:c,hide_table_of_contents:d}=l,{description:m,title:u,editUrl:g,lastUpdatedAt:E,formattedLastUpdatedAt:h,lastUpdatedBy:_}=a,{pluginId:N}=(0,o.useActivePlugin)({failfast:!0}),L=(0,o.useVersions)(N),U=(0,o.useActiveVersion)(N),T=L.length>1,k=l.title||u;return n.createElement(n.Fragment,null,n.createElement(p.Z,{title:k,description:m,keywords:r,image:s}),n.createElement("div",{className:"row"},n.createElement("div",{className:(0,f.Z)("col",{[x]:!d})},n.createElement(v,null),n.createElement("div",{className:C},n.createElement("article",null,T&&n.createElement("div",null,n.createElement("span",{className:"badge badge--secondary"},"Version: ",U.label)),!c&&n.createElement("header",null,n.createElement("h1",{className:Z},u)),n.createElement("div",{className:"markdown"},n.createElement(t,null))),(g||E||_)&&n.createElement("div",{className:"margin-vert--xl"},n.createElement("div",{className:"row"},n.createElement("div",{className:"col"},g&&n.createElement(A,{editUrl:g})),(E||_)&&n.createElement(b,{lastUpdatedAt:E,formattedLastUpdatedAt:h,lastUpdatedBy:_}))),n.createElement("div",{className:"margin-vert--lg"},n.createElement(i,{metadata:a})))),!d&&t.toc&&n.createElement("div",{className:"col col--3"},n.createElement(y,{toc:t.toc}))))}}}]); \ No newline at end of file diff --git a/assets/js/17896441.599ea6d2.js b/assets/js/17896441.599ea6d2.js new file mode 100644 index 00000000..7ee4b387 --- /dev/null +++ b/assets/js/17896441.599ea6d2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7918],{73852:(e,t,a)=>{a.r(t),a.d(t,{default:()=>V});var n=a(67294),l=a(36742),s=a(24973);const i=function(e){const{metadata:t}=e;return n.createElement("nav",{className:"pagination-nav","aria-label":(0,s.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages navigation",description:"The ARIA label for the docs pagination"})},n.createElement("div",{className:"pagination-nav__item"},t.previous&&n.createElement(l.Z,{className:"pagination-nav__link",to:t.previous.permalink},n.createElement("div",{className:"pagination-nav__sublabel"},n.createElement(s.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")),n.createElement("div",{className:"pagination-nav__label"},"\xab ",t.previous.title))),n.createElement("div",{className:"pagination-nav__item pagination-nav__item--next"},t.next&&n.createElement(l.Z,{className:"pagination-nav__link",to:t.next.permalink},n.createElement("div",{className:"pagination-nav__sublabel"},n.createElement(s.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next")),n.createElement("div",{className:"pagination-nav__label"},t.next.title," \xbb"))))};var r=a(52263),o=a(80907),c=a(86700);function d(e){let{siteTitle:t,versionLabel:a}=e;return n.createElement(s.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:n.createElement("strong",null,a)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")}function m(e){let{siteTitle:t,versionLabel:a}=e;return n.createElement(s.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:n.createElement("strong",null,a)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}function u(e){let{versionLabel:t,to:a,onClick:i}=e;return n.createElement(s.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label userd to tell the user that he's browsing an unmaintained doc version",values:{versionLabel:t,latestVersionLink:n.createElement("strong",null,n.createElement(l.Z,{to:a,onClick:i},n.createElement(s.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}const v=function(){const{siteConfig:{title:e}}=(0,r.default)(),{pluginId:t}=(0,o.useActivePlugin)({failfast:!0}),{savePreferredVersionName:a}=(0,c.J)(t),l=(0,o.useActiveVersion)(t),{latestDocSuggestion:s,latestVersionSuggestion:i}=(0,o.useDocVersionSuggestions)(t);if(!i)return n.createElement(n.Fragment,null);const v=s??(p=i).docs.find((e=>e.id===p.mainDocId));var p;return n.createElement("div",{className:"alert alert--warning margin-bottom--md",role:"alert"},n.createElement("div",null,"current"===l.name?n.createElement(d,{siteTitle:e,versionLabel:l.label}):n.createElement(m,{siteTitle:e,versionLabel:l.label})),n.createElement("div",{className:"margin-top--md"},n.createElement(u,{versionLabel:i.label,to:v.path,onClick:()=>a(i.name)})))};var p=a(41217);const g="lastUpdatedDate_nN9m";function E(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:a}=e;return n.createElement(s.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:n.createElement("time",{dateTime:new Date(1e3*t).toISOString(),className:g},a)}}," on {date}")}function h(e){let{lastUpdatedBy:t}=e;return n.createElement(s.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:n.createElement("strong",null,t)}}," by {user}")}function b(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:a,lastUpdatedBy:l}=e;return n.createElement("div",{className:"col text--right"},n.createElement("em",null,n.createElement("small",null,n.createElement(s.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&a?n.createElement(E,{lastUpdatedAt:t,formattedLastUpdatedAt:a}):"",byUser:l?n.createElement(h,{lastUpdatedBy:l}):""}},"Last updated{atDate}{byUser}"),!1)))}var f=a(86010);const _=function(e,t,a){const[l,s]=(0,n.useState)(void 0);(0,n.useEffect)((()=>{function n(){const n=function(){const e=Array.from(document.getElementsByClassName("anchor")),t=e.find((e=>{const{top:t}=e.getBoundingClientRect();return t>=a}));if(t){if(t.getBoundingClientRect().top>=a){return e[e.indexOf(t)-1]??t}return t}return e[e.length-1]}();if(n){let a=0,i=!1;const r=document.getElementsByClassName(e);for(;a{document.removeEventListener("scroll",n),document.removeEventListener("resize",n)}}))},N="tableOfContents_vrFS",L="table-of-contents__link";function U(e){let{toc:t,isChild:a}=e;return t.length?n.createElement("ul",{className:a?"":"table-of-contents table-of-contents__left-border"},t.map((e=>n.createElement("li",{key:e.id},n.createElement("a",{href:`#${e.id}`,className:L,dangerouslySetInnerHTML:{__html:e.value}}),n.createElement(U,{isChild:!0,toc:e.children}))))):null}const y=function(e){let{toc:t}=e;return _(L,"table-of-contents__link--active",100),n.createElement("div",{className:(0,f.Z)(N,"thin-scrollbar")},n.createElement(U,{toc:t}))};var T=a(87462);const k="iconEdit_mS5F",w=e=>{let{className:t,...a}=e;return n.createElement("svg",(0,T.Z)({fill:"currentColor",height:"1.2em",width:"1.2em",preserveAspectRatio:"xMidYMid meet",role:"img",viewBox:"0 0 40 40",className:(0,f.Z)(k,t),"aria-label":"Edit page"},a),n.createElement("g",null,n.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))};function A(e){let{editUrl:t}=e;return n.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener"},n.createElement(w,null),n.createElement(s.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}const Z="docTitle_-X99",C="docItemContainer_oiyr",x="docItemCol_zHA2";const V=function(e){const{content:t}=e,{metadata:a,frontMatter:l}=t,{image:s,keywords:r,hide_title:c,hide_table_of_contents:d}=l,{description:m,title:u,editUrl:g,lastUpdatedAt:E,formattedLastUpdatedAt:h,lastUpdatedBy:_}=a,{pluginId:N}=(0,o.useActivePlugin)({failfast:!0}),L=(0,o.useVersions)(N),U=(0,o.useActiveVersion)(N),T=L.length>1,k=l.title||u;return n.createElement(n.Fragment,null,n.createElement(p.Z,{title:k,description:m,keywords:r,image:s}),n.createElement("div",{className:"row"},n.createElement("div",{className:(0,f.Z)("col",{[x]:!d})},n.createElement(v,null),n.createElement("div",{className:C},n.createElement("article",null,T&&n.createElement("div",null,n.createElement("span",{className:"badge badge--secondary"},"Version: ",U.label)),!c&&n.createElement("header",null,n.createElement("h1",{className:Z},u)),n.createElement("div",{className:"markdown"},n.createElement(t,null))),(g||E||_)&&n.createElement("div",{className:"margin-vert--xl"},n.createElement("div",{className:"row"},n.createElement("div",{className:"col"},g&&n.createElement(A,{editUrl:g})),(E||_)&&n.createElement(b,{lastUpdatedAt:E,formattedLastUpdatedAt:h,lastUpdatedBy:_}))),n.createElement("div",{className:"margin-vert--lg"},n.createElement(i,{metadata:a})))),!d&&t.toc&&n.createElement("div",{className:"col col--3"},n.createElement(y,{toc:t.toc}))))}}}]); \ No newline at end of file diff --git a/assets/js/186c746e.9cd3ac0b.js b/assets/js/186c746e.9cd3ac0b.js deleted file mode 100644 index acaae3d5..00000000 --- a/assets/js/186c746e.9cd3ac0b.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5782],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>d});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},c="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},f=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),c=u(r),f=o,d=c["".concat(i,".").concat(f)]||c[f]||m[f]||a;return r?n.createElement(d,l(l({ref:t},p),{},{components:r})):n.createElement(d,l({ref:t},p))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=f;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s[c]="string"==typeof e?e:o,l[1]=s;for(var u=2;u{r.r(t),r.d(t,{default:()=>p,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(87462),o=(r(67294),r(3905));const a={},l={unversionedId:"dev-resources/nevm/zk-rollups",id:"dev-resources/nevm/zk-rollups",isDocsHomePage:!1,title:"Rollups",description:"Syscoin is focused on end-user adoption of its Rollux suite with Rollup technologies that serve as Layer 2, and using the Syscoin blockchain as the settlement layer for them.",source:"@site/docs/dev-resources/nevm/zk-rollups.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/zk-rollups",permalink:"/docs/dev-resources/nevm/zk-rollups",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Deploying Smart Contracts with Truffle",permalink:"/docs/dev-resources/nevm/truffle"},next:{title:"SPT Asset Index Technical Description",permalink:"/docs/dev-resources/sys/asset-index"}},s=[{value:"Syscoin Rollux",id:"syscoin-rollux",children:[]},{value:"Optimistic Rollups",id:"optimistic-rollups",children:[]},{value:"ZK-Rollups",id:"zk-rollups",children:[]}],i={toc:s},u="wrapper";function p(e){let{components:t,...r}=e;return(0,o.kt)(u,(0,n.Z)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Syscoin is focused on end-user adoption of its Rollux suite with Rollup technologies that serve as Layer 2, and using the Syscoin blockchain as the settlement layer for them."),(0,o.kt)("p",null,"Check out ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://jsidhu.medium.com/the-ultimate-guide-to-rollups-f8c075571770"},"The Ultimate Guide to Rollups"))," for an technical overview of rollups the differences between Optimistic and ZK rollups. "),(0,o.kt)("h2",{id:"syscoin-rollux"},"Syscoin Rollux"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"/docs/tech/rollux"},"About Rollux"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"/docs/guides/rollux/metamask"},"Connect to Rollux Networks")))),(0,o.kt)("br",null),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Here are some different Rollup communities in the industry.")),(0,o.kt)("h2",{id:"optimistic-rollups"},"Optimistic Rollups"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://offchainlabs.com"},"Arbitrum"))," - Offchain Labs are the builders of the Arbitrum solution and Nitro"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://metis.io"},"Metis"))," - Layer 2 solutions by MetisDAO"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://optimism.io"},"Optimism"))," - Code base of Rollux OPv1, and creators of Bedrock")),(0,o.kt)("h2",{id:"zk-rollups"},"ZK-Rollups"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://starkware.co/"},"StarkWare"))," - a layer 2 network that uses zkSTARK proofs and the Cairo programming language.",(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"You can find a large number of StarkNet (StarkWare's main ZK-Rollup solution) resources ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/gakonst/awesome-starknet"},"here"),"."))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://zksync.io/"},"zkSync"))," - an open-source scaling and privacy engine, which uses zkSNARK proofs."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://aztec.network/"},"Aztec"))," - an open-source, layer 2 network that utilizes zkSNARK proofs, PLONK technology and the Noir programming language. Aztec is largely focused on private payments solutions.")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/186c746e.df4ede46.js b/assets/js/186c746e.df4ede46.js new file mode 100644 index 00000000..e85bdc72 --- /dev/null +++ b/assets/js/186c746e.df4ede46.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5782],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>f});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var i=n.createContext({}),u=function(e){var t=n.useContext(i),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},p=function(e){var t=u(e.components);return n.createElement(i.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,i=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),m=u(r),f=o,d=m["".concat(i,".").concat(f)]||m[f]||c[f]||a;return r?n.createElement(d,l(l({ref:t},p),{},{components:r})):n.createElement(d,l({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=m;var s={};for(var i in t)hasOwnProperty.call(t,i)&&(s[i]=t[i]);s.originalType=e,s.mdxType="string"==typeof e?e:o,l[1]=s;for(var u=2;u{r.r(t),r.d(t,{default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>s});var n=r(87462),o=(r(67294),r(3905));const a={},l={unversionedId:"dev-resources/nevm/zk-rollups",id:"dev-resources/nevm/zk-rollups",isDocsHomePage:!1,title:"Rollups",description:"Syscoin is focused on end-user adoption of its Rollux suite with Rollup technologies that serve as Layer 2, and using the Syscoin blockchain as the settlement layer for them.",source:"@site/docs/dev-resources/nevm/zk-rollups.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/zk-rollups",permalink:"/docs/dev-resources/nevm/zk-rollups",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Deploying Smart Contracts with Truffle",permalink:"/docs/dev-resources/nevm/truffle"},next:{title:"SPT Asset Index Technical Description",permalink:"/docs/dev-resources/sys/asset-index"}},s=[{value:"Syscoin Rollux",id:"syscoin-rollux",children:[]},{value:"Optimistic Rollups",id:"optimistic-rollups",children:[]},{value:"ZK-Rollups",id:"zk-rollups",children:[]}],i={toc:s};function u(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},i,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Syscoin is focused on end-user adoption of its Rollux suite with Rollup technologies that serve as Layer 2, and using the Syscoin blockchain as the settlement layer for them."),(0,o.kt)("p",null,"Check out ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://jsidhu.medium.com/the-ultimate-guide-to-rollups-f8c075571770"},"The Ultimate Guide to Rollups"))," for an technical overview of rollups the differences between Optimistic and ZK rollups. "),(0,o.kt)("h2",{id:"syscoin-rollux"},"Syscoin Rollux"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"/docs/tech/rollux"},"About Rollux"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"/docs/guides/rollux/metamask"},"Connect to Rollux Networks")))),(0,o.kt)("br",null),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Here are some different Rollup communities in the industry.")),(0,o.kt)("h2",{id:"optimistic-rollups"},"Optimistic Rollups"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://offchainlabs.com"},"Arbitrum"))," - Offchain Labs are the builders of the Arbitrum solution and Nitro"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://metis.io"},"Metis"))," - Layer 2 solutions by MetisDAO"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://optimism.io"},"Optimism"))," - Code base of Rollux OPv1, and creators of Bedrock")),(0,o.kt)("h2",{id:"zk-rollups"},"ZK-Rollups"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://starkware.co/"},"StarkWare"))," - a layer 2 network that uses zkSTARK proofs and the Cairo programming language.",(0,o.kt)("ul",{parentName:"li"},(0,o.kt)("li",{parentName:"ul"},"You can find a large number of StarkNet (StarkWare's main ZK-Rollup solution) resources ",(0,o.kt)("a",{parentName:"li",href:"https://github.com/gakonst/awesome-starknet"},"here"),"."))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://zksync.io/"},"zkSync"))," - an open-source scaling and privacy engine, which uses zkSNARK proofs."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://aztec.network/"},"Aztec"))," - an open-source, layer 2 network that utilizes zkSNARK proofs, PLONK technology and the Noir programming language. Aztec is largely focused on private payments solutions.")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/1952.e8ad539e.js b/assets/js/1952.e8ad539e.js new file mode 100644 index 00000000..3a31a29f --- /dev/null +++ b/assets/js/1952.e8ad539e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1952],{84478:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(87462),r=n(67294);const l=e=>{let{width:t=30,height:n=30,className:l,...o}=e;return r.createElement("svg",(0,a.Z)({"aria-label":"Menu",className:l,width:t,height:n,viewBox:"0 0 30 30",role:"img",focusable:"false"},o),r.createElement("title",null,"Menu"),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}},61952:(e,t,n)=>{n.d(t,{Z:()=>_e});var a=n(67294),r=n(86010),l=n(24973),o=n(5977);const c="skipToContent_OuoZ";function s(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}const i=function(){const e=(0,a.useRef)(null),t=(0,o.TH)();return(0,a.useEffect)((()=>{!t.hash&&e.current&&s(e.current)}),[t.pathname]),a.createElement("div",{ref:e},a.createElement("a",{href:"#main",className:c,onClick:e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")||document.querySelector(".main-wrapper");t&&s(t)}},a.createElement(l.Z,{id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"},"Skip to main content")))};var m=n(86700),u=n(80944);const d="announcementBar_axC9",f="announcementBarClose_A3A1",h="announcementBarContent_6uhP",v="announcementBarCloseable_y4cp";const g=function(){const{isAnnouncementBarClosed:e,closeAnnouncementBar:t}=(0,u.Z)(),{announcementBar:n}=(0,m.LU)();if(!n)return null;const{content:o,backgroundColor:c,textColor:s,isCloseable:i}=n;return!o||i&&e?null:a.createElement("div",{className:d,style:{backgroundColor:c,color:s},role:"banner"},a.createElement("div",{className:(0,r.Z)(h,{[v]:i}),dangerouslySetInnerHTML:{__html:o}}),i?a.createElement("button",{type:"button",className:f,onClick:t,"aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},a.createElement("span",{"aria-hidden":"true"},"\xd7")):null)};var E=n(87462);const b=()=>null;var p=n(52263);const k={toggle:"toggle_iYfV"},_=e=>{let{icon:t,style:n}=e;return a.createElement("span",{className:(0,r.Z)(k.toggle,k.dark),style:n},t)},Z=e=>{let{icon:t,style:n}=e;return a.createElement("span",{className:(0,r.Z)(k.toggle,k.light),style:n},t)},N=(0,a.memo)((e=>{let{className:t,icons:n,checked:l,disabled:o,onChange:c}=e;const[s,i]=(0,a.useState)(l),[m,u]=(0,a.useState)(!1),d=(0,a.useRef)(null);return a.createElement("div",{className:(0,r.Z)("react-toggle",t,{"react-toggle--checked":s,"react-toggle--focus":m,"react-toggle--disabled":o}),role:"button",tabIndex:-1,onClick:e=>{const t=d.current;if(t)return e.target!==t?(e.preventDefault(),t.focus(),void t.click()):void i(null==t?void 0:t.checked)}},a.createElement("div",{className:"react-toggle-track"},a.createElement("div",{className:"react-toggle-track-check"},n.checked),a.createElement("div",{className:"react-toggle-track-x"},n.unchecked)),a.createElement("div",{className:"react-toggle-thumb"}),a.createElement("input",{ref:d,checked:s,type:"checkbox",className:"react-toggle-screenreader-only","aria-label":"Switch between dark and light mode",onChange:c,onFocus:()=>u(!0),onBlur:()=>u(!1)}))}));function w(e){const{colorMode:{switchConfig:{darkIcon:t,darkIconStyle:n,lightIcon:r,lightIconStyle:l}}}=(0,m.LU)(),{isClient:o}=(0,p.default)();return a.createElement(N,(0,E.Z)({disabled:!o,icons:{checked:a.createElement(_,{icon:t,style:n}),unchecked:a.createElement(Z,{icon:r,style:l})}},e))}var C=n(85350),y=n(77898);const L=e=>{const t=(0,o.TH)(),[n,r]=(0,a.useState)(e),l=(0,a.useRef)(!1),[c,s]=(0,a.useState)(0),i=(0,a.useCallback)((e=>{null!==e&&s(e.getBoundingClientRect().height)}),[]);return(0,y.Z)(((t,n)=>{let{scrollY:a}=t,{scrollY:o}=n;if(!e)return;if(a=o?r(!1):a+i{e&&r(!0)}),[t.pathname]),(0,a.useEffect)((()=>{e&&t.hash&&(l.current=!0)}),[t.hash]),{navbarRef:i,isNavbarVisible:n}};var A=n(31839),D=n(93783),I=n(5525);const T=e=>{let{width:t=20,height:n=20,...r}=e;return a.createElement("svg",(0,E.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:t,height:n},r),a.createElement("path",{fill:"currentColor",d:"M19.753 10.909c-.624-1.707-2.366-2.726-4.661-2.726-.09 0-.176.002-.262.006l-.016-2.063 3.525-.607c.115-.019.133-.119.109-.231-.023-.111-.167-.883-.188-.976-.027-.131-.102-.127-.207-.109-.104.018-3.25.461-3.25.461l-.013-2.078c-.001-.125-.069-.158-.194-.156l-1.025.016c-.105.002-.164.049-.162.148l.033 2.307s-3.061.527-3.144.543c-.084.014-.17.053-.151.143.019.09.19 1.094.208 1.172.018.08.072.129.188.107l2.924-.504.035 2.018c-1.077.281-1.801.824-2.256 1.303-.768.807-1.207 1.887-1.207 2.963 0 1.586.971 2.529 2.328 2.695 3.162.387 5.119-3.06 5.769-4.715 1.097 1.506.256 4.354-2.094 5.98-.043.029-.098.129-.033.207l.619.756c.08.096.206.059.256.023 2.51-1.73 3.661-4.515 2.869-6.683zm-7.386 3.188c-.966-.121-.944-.914-.944-1.453 0-.773.327-1.58.876-2.156a3.21 3.21 0 011.229-.799l.082 4.277a2.773 2.773 0 01-1.243.131zm2.427-.553l.046-4.109c.084-.004.166-.01.252-.01.773 0 1.494.145 1.885.361.391.217-1.023 2.713-2.183 3.758zm-8.95-7.668a.196.196 0 00-.196-.145h-1.95a.194.194 0 00-.194.144L.008 16.916c-.017.051-.011.076.062.076h1.733c.075 0 .099-.023.114-.072l1.008-3.318h3.496l1.008 3.318c.016.049.039.072.113.072h1.734c.072 0 .078-.025.062-.076-.014-.05-3.083-9.741-3.494-11.04zm-2.618 6.318l1.447-5.25 1.447 5.25H3.226z"}))};function x(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,...l}=e;const{i18n:{currentLocale:o,locales:c,localeConfigs:s}}=(0,p.default)(),i=(0,m.l5)();function u(e){return s[e].label}const d=[...n,...c.map((e=>{const t=`pathname://${i.createUrl({locale:e,fullyQualified:!1})}`;return{isNavLink:!0,label:u(e),to:t,target:"_self",autoAddBaseUrl:!1,className:e===o?"dropdown__link--active":"",style:{textTransform:"capitalize"}}})),...r],f=t?"Languages":u(o);return a.createElement(I.Z,(0,E.Z)({},l,{href:"#",mobile:t,label:a.createElement("span",null,a.createElement(T,{style:{verticalAlign:"text-bottom",marginRight:5}}),a.createElement("span",null,f)),items:d}))}const B="searchWrapper_f8aU";function S(e){let{mobile:t}=e;return t?null:a.createElement("div",{className:B},a.createElement(b,null))}const M={default:()=>I.Z,localeDropdown:()=>x,search:()=>S,docsVersion:()=>n(47250).Z,docsVersionDropdown:()=>n(59308).Z,doc:()=>n(76400).Z};function U(e){let{type:t,...n}=e;const r=function(e){void 0===e&&(e="default");const t=M[e];if(!t)throw new Error(`No NavbarItem component found for type=${e}.`);return t()}(t);return a.createElement(r,n)}var V=n(55537),H=n(84478);const R="displayOnlyInLargeViewport_cxYs",P="navbarHideable_RReh",$="navbarHidden_FBwS",W="right";const O=function(){const{navbar:{items:e,hideOnScroll:t,style:n},colorMode:{disableSwitch:l}}=(0,m.LU)(),[o,c]=(0,a.useState)(!1),{isDarkTheme:s,setLightTheme:i,setDarkTheme:u}=(0,C.Z)(),{navbarRef:d,isNavbarVisible:f}=L(t);(0,A.Z)(o);const h=(0,a.useCallback)((()=>{c(!0)}),[c]),v=(0,a.useCallback)((()=>{c(!1)}),[c]),g=(0,a.useCallback)((e=>e.target.checked?u():i()),[i,u]),p=(0,D.Z)();(0,a.useEffect)((()=>{p===D.D.desktop&&c(!1)}),[p]);const k=e.some((e=>"search"===e.type)),{leftItems:_,rightItems:Z}=function(e){return{leftItems:e.filter((e=>"left"===(e.position??W))),rightItems:e.filter((e=>"right"===(e.position??W)))}}(e);return a.createElement("nav",{ref:d,className:(0,r.Z)("navbar","navbar--fixed-top",{"navbar--dark":"dark"===n,"navbar--primary":"primary"===n,"navbar-sidebar--show":o,[P]:t,[$]:t&&!f})},a.createElement("div",{className:"navbar__inner"},a.createElement("div",{className:"navbar__items"},null!=e&&0!==e.length&&a.createElement("button",{"aria-label":"Navigation bar toggle",className:"navbar__toggle",type:"button",tabIndex:0,onClick:h,onKeyDown:h},a.createElement(H.Z,null)),a.createElement(V.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:(0,r.Z)("navbar__title")}),_.map(((e,t)=>a.createElement(U,(0,E.Z)({},e,{key:t}))))),a.createElement("div",{className:"navbar__items navbar__items--right"},Z.map(((e,t)=>a.createElement(U,(0,E.Z)({},e,{key:t})))),!l&&a.createElement(w,{className:R,checked:s,onChange:g}),!k&&a.createElement(b,null))),a.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:v}),a.createElement("div",{className:"navbar-sidebar"},a.createElement("div",{className:"navbar-sidebar__brand"},a.createElement(V.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title",onClick:v}),!l&&o&&a.createElement(w,{checked:s,onChange:g})),a.createElement("div",{className:"navbar-sidebar__items"},a.createElement("div",{className:"menu"},a.createElement("ul",{className:"menu__list"},e.map(((e,t)=>a.createElement(U,(0,E.Z)({mobile:!0},e,{onClick:v,key:t})))))))))};var z=n(36742),G=n(44996);const Y="footerLogoLink_SRtH";var F=n(98465);function J(e){let{to:t,href:n,label:r,prependBaseUrlToHref:l,...o}=e;const c=(0,G.Z)(t),s=(0,G.Z)(n,{forcePrependBaseUrl:!0});return a.createElement(z.Z,(0,E.Z)({className:"footer__link-item"},n?{href:l?s:n}:{to:c},o),r)}const K=e=>{let{sources:t,alt:n}=e;return a.createElement(F.Z,{className:"footer__logo",alt:n,sources:t})};const Q=function(){const{footer:e}=(0,m.LU)(),{copyright:t,links:n=[],logo:l={}}=e||{},o={light:(0,G.Z)(l.src),dark:(0,G.Z)(l.srcDark||l.src)};return e?a.createElement("footer",{className:(0,r.Z)("footer",{"footer--dark":"dark"===e.style})},a.createElement("div",{className:"container"},n&&n.length>0&&a.createElement("div",{className:"row footer__links"},n.map(((e,t)=>a.createElement("div",{key:t,className:"col footer__col"},null!=e.title?a.createElement("h4",{className:"footer__title"},e.title):null,null!=e.items&&Array.isArray(e.items)&&e.items.length>0?a.createElement("ul",{className:"footer__items"},e.items.map(((e,t)=>e.html?a.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):a.createElement("li",{key:e.href||e.to,className:"footer__item"},a.createElement(J,e))))):null)))),(l||t)&&a.createElement("div",{className:"footer__bottom text--center"},l&&(l.src||l.srcDark)&&a.createElement("div",{className:"margin-bottom--sm"},l.href?a.createElement(z.Z,{href:l.href,className:Y},a.createElement(K,{alt:l.alt,sources:o})):a.createElement(K,{alt:l.alt,sources:o})),t?a.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}}):null))):null};var X=n(10412);const q=(0,m.WA)("theme"),j="light",ee="dark",te=e=>e===ee?ee:j,ne=e=>{(0,m.WA)("theme").set(te(e))},ae=()=>{const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,m.LU)(),[r,l]=(0,a.useState)((e=>X.Z.canUseDOM?te(document.documentElement.getAttribute("data-theme")):te(e))(e)),o=(0,a.useCallback)((()=>{l(j),ne(j)}),[]),c=(0,a.useCallback)((()=>{l(ee),ne(ee)}),[]);return(0,a.useEffect)((()=>{document.documentElement.setAttribute("data-theme",te(r))}),[r]),(0,a.useEffect)((()=>{if(!t)try{const e=q.get();null!==e&&l(te(e))}catch(e){console.error(e)}}),[l]),(0,a.useEffect)((()=>{t&&!n||window.matchMedia("(prefers-color-scheme: dark)").addListener((e=>{let{matches:t}=e;l(t?ee:j)}))}),[]),{isDarkTheme:r===ee,setLightTheme:o,setDarkTheme:c}};var re=n(82924);const le=function(e){const{isDarkTheme:t,setLightTheme:n,setDarkTheme:r}=ae();return a.createElement(re.Z.Provider,{value:{isDarkTheme:t,setLightTheme:n,setDarkTheme:r}},e.children)},oe="docusaurus.tab.",ce=()=>{const[e,t]=(0,a.useState)({}),n=(0,a.useCallback)(((e,t)=>{(0,m.WA)(`docusaurus.tab.${e}`).set(t)}),[]);return(0,a.useEffect)((()=>{try{const e={};for(const t of(0,m._f)())if(t.startsWith(oe)){e[t.substring(oe.length)]=(0,m.WA)(t).get()}t(e)}catch(e){console.error(e)}}),[]),{tabGroupChoices:e,setTabGroupChoices:(e,a)=>{t((t=>({...t,[e]:a}))),n(e,a)}}},se=(0,m.WA)("docusaurus.announcement.dismiss"),ie=(0,m.WA)("docusaurus.announcement.id"),me=()=>{const{announcementBar:e}=(0,m.LU)(),[t,n]=(0,a.useState)(!0),r=(0,a.useCallback)((()=>{se.set("true"),n(!0)}),[]);return(0,a.useEffect)((()=>{if(!e)return;const{id:t}=e;let a=ie.get();"annoucement-bar"===a&&(a="announcement-bar");const r=t!==a;ie.set(t),r&&se.set("false"),(r||"false"===se.get())&&n(!1)}),[]),{isAnnouncementBarClosed:t,closeAnnouncementBar:r}};var ue=n(79443);const de=function(e){const{tabGroupChoices:t,setTabGroupChoices:n}=ce(),{isAnnouncementBarClosed:r,closeAnnouncementBar:l}=me();return a.createElement(ue.Z.Provider,{value:{tabGroupChoices:t,setTabGroupChoices:n,isAnnouncementBarClosed:r,closeAnnouncementBar:l}},e.children)};function fe(e){let{children:t}=e;return a.createElement(le,null,a.createElement(de,null,a.createElement(m.L5,null,t)))}var he=n(99105);function ve(e){let{locale:t,version:n,tag:r}=e;return a.createElement(he.Z,null,t&&a.createElement("meta",{name:"docusaurus_locale",content:`${t}`}),n&&a.createElement("meta",{name:"docusaurus_version",content:n}),r&&a.createElement("meta",{name:"docusaurus_tag",content:r}))}var ge=n(41217);function Ee(){const{i18n:{defaultLocale:e,locales:t}}=(0,p.default)(),n=(0,m.l5)();return a.createElement(he.Z,null,t.map((e=>a.createElement("link",{key:e,rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:e}))),a.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function be(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,p.default)(),r=function(){const{siteConfig:{url:e}}=(0,p.default)(),{pathname:t}=(0,o.TH)();return e+(0,G.Z)(t)}(),l=t?`${n}${t}`:r;return a.createElement(he.Z,null,a.createElement("meta",{property:"og:url",content:l}),a.createElement("link",{rel:"canonical",href:l}))}function pe(e){const{siteConfig:{favicon:t,themeConfig:{metadatas:n}},i18n:{currentLocale:r,localeConfigs:l}}=(0,p.default)(),{title:o,description:c,image:s,keywords:i,searchMetadatas:u}=e,d=(0,G.Z)(t),f=(0,m.pe)(o),h=r,v=l[r].direction;return a.createElement(a.Fragment,null,a.createElement(he.Z,null,a.createElement("html",{lang:h,dir:v}),t&&a.createElement("link",{rel:"shortcut icon",href:d}),a.createElement("title",null,f),a.createElement("meta",{property:"og:title",content:f})),a.createElement(ge.Z,{description:c,keywords:i,image:s}),a.createElement(be,null),a.createElement(Ee,null),a.createElement(ve,(0,E.Z)({tag:m.HX,locale:r},u)),a.createElement(he.Z,null,n.map(((e,t)=>a.createElement("meta",(0,E.Z)({key:`metadata_${t}`},e))))))}const ke=function(){(0,a.useEffect)((()=>{const e="navigation-with-keyboard";function t(t){"keydown"===t.type&&"Tab"===t.key&&document.body.classList.add(e),"mousedown"===t.type&&document.body.classList.remove(e)}return document.addEventListener("keydown",t),document.addEventListener("mousedown",t),()=>{document.body.classList.remove(e),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t)}}),[])};const _e=function(e){const{children:t,noFooter:n,wrapperClassName:l,pageClassName:o}=e;return ke(),a.createElement(fe,null,a.createElement(pe,e),a.createElement(i,null),a.createElement(g,null),a.createElement(O,null),a.createElement("div",{className:(0,r.Z)(m.kM.wrapper.main,l,o)},t),!n&&a.createElement(Q,null))}},55537:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(87462),r=n(67294),l=n(36742),o=n(98465),c=n(44996),s=n(52263),i=n(86700);const m=e=>{const{isClient:t}=(0,s.default)(),{navbar:{title:n,logo:m={src:""}}}=(0,i.LU)(),{imageClassName:u,titleClassName:d,...f}=e,h=(0,c.Z)(m.href||"/"),v={light:(0,c.Z)(m.src),dark:(0,c.Z)(m.srcDark||m.src)};return r.createElement(l.Z,(0,a.Z)({to:h},f,m.target&&{target:m.target}),m.src&&r.createElement(o.Z,{key:t,className:u,sources:v,alt:m.alt||n||"Logo"}),null!=n&&r.createElement("strong",{className:d},n))}},5525:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(87462),r=n(67294),l=n(86010),o=n(36742),c=n(44996),s=n(5977),i=n(86700);function m(e){let{activeBasePath:t,activeBaseRegex:n,to:l,href:s,label:i,activeClassName:m="navbar__link--active",prependBaseUrlToHref:u,...d}=e;const f=(0,c.Z)(l),h=(0,c.Z)(t),v=(0,c.Z)(s,{forcePrependBaseUrl:!0});return r.createElement(o.Z,(0,a.Z)({},s?{href:u?v:s}:{isNavLink:!0,activeClassName:m,to:f,...t||n?{isActive:(e,t)=>n?new RegExp(n).test(t.pathname):t.pathname.startsWith(h)}:null},d),i)}function u(e){let{items:t,position:n,className:o,...c}=e;const s=(0,r.useRef)(null),i=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[s]);const f=function(e,t){return void 0===t&&(t=!1),(0,l.Z)({"navbar__item navbar__link":!t,dropdown__link:t},e)};return t?r.createElement("div",{ref:s,className:(0,l.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===n,"dropdown--right":"right"===n,"dropdown--show":u})},r.createElement(m,(0,a.Z)({className:f(o)},c,{onClick:c.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))}}),c.children??c.label),r.createElement("ul",{ref:i,className:"dropdown__menu"},t.map(((e,n)=>{let{className:l,...o}=e;return r.createElement("li",{key:n},r.createElement(m,(0,a.Z)({onKeyDown:e=>{if(n===t.length-1&&"Tab"===e.key){e.preventDefault(),d(!1);const t=s.current.nextElementSibling;t&&t.focus()}},activeClassName:"dropdown__link--active",className:f(l,!0)},o)))})))):r.createElement(m,(0,a.Z)({className:f(o)},c))}function d(e){var t,n;let{items:o,className:c,position:u,...d}=e;const f=(0,r.useRef)(null),{pathname:h}=(0,s.TH)(),[v,g]=(0,r.useState)((()=>!(null!=o&&o.some((e=>(0,i.Mg)(e.to,h))))??!0)),E=function(e,t){return void 0===t&&(t=!1),(0,l.Z)("menu__link",{"menu__link--sublist":t},e)};if(!o)return r.createElement("li",{className:"menu__list-item"},r.createElement(m,(0,a.Z)({className:E(c)},d)));const b=null!=(t=f.current)&&t.scrollHeight?`${null==(n=f.current)?void 0:n.scrollHeight}px`:void 0;return r.createElement("li",{className:(0,l.Z)("menu__list-item",{"menu__list-item--collapsed":v})},r.createElement(m,(0,a.Z)({role:"button",className:E(c,!0)},d,{onClick:e=>{e.preventDefault(),g((e=>!e))}}),d.children??d.label),r.createElement("ul",{className:"menu__list",ref:f,style:{height:v?void 0:b}},o.map(((e,t)=>{let{className:n,...l}=e;return r.createElement("li",{className:"menu__list-item",key:t},r.createElement(m,(0,a.Z)({activeClassName:"menu__link--active",className:E(n)},l,{onClick:d.onClick})))}))))}const f=function(e){let{mobile:t=!1,...n}=e;const a=t?d:u;return r.createElement(a,n)}},76400:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(87462),r=n(67294),l=n(5525),o=n(80907),c=n(86010),s=n(86700);function i(e){let{docId:t,activeSidebarClassName:n,label:i,docsPluginId:m,...u}=e;const{activeVersion:d,activeDoc:f}=(0,o.useActiveDocContext)(m),{preferredVersion:h}=(0,s.J)(m),v=(0,o.useLatestVersion)(m),g=d??h??v,E=g.docs.find((e=>e.id===t));if(!E){const e=g.docs.map((e=>e.id)).join("\n- ");throw new Error(`DocNavbarItem: couldn't find any doc with id=${t} in version ${g.name}.\nAvailable docIds=\n- ${e}`)}return r.createElement(l.Z,(0,a.Z)({exact:!0},u,{className:(0,c.Z)(u.className,{[n]:f&&f.sidebar===E.sidebar}),label:i??E.id,to:E.path}))}},59308:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(87462),r=n(67294),l=n(5525),o=n(80907),c=n(86700);const s=e=>e.docs.find((t=>t.id===e.mainDocId));function i(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:i,dropdownItemsBefore:m,dropdownItemsAfter:u,...d}=e;const f=(0,o.useActiveDocContext)(n),h=(0,o.useVersions)(n),v=(0,o.useLatestVersion)(n),{preferredVersion:g,savePreferredVersionName:E}=(0,c.J)(n);const b=f.activeVersion??g??v,p=t?"Versions":b.label,k=t?void 0:s(b).path;return r.createElement(l.Z,(0,a.Z)({},d,{mobile:t,label:p,to:k,items:function(){const e=h.map((e=>{const t=(null==f?void 0:f.alternateDocVersions[e.name])||s(e);return{isNavLink:!0,label:e.label,to:t.path,isActive:()=>e===(null==f?void 0:f.activeVersion),onClick:()=>{E(e.name)}}})),t=[...m,...e,...u];if(!(t.length<=1))return t}(),isActive:i?()=>!1:void 0}))}},47250:(e,t,n)=>{n.d(t,{Z:()=>s});var a=n(87462),r=n(67294),l=n(5525),o=n(80907),c=n(86700);function s(e){let{label:t,to:n,docsPluginId:s,...i}=e;const m=(0,o.useActiveVersion)(s),{preferredVersion:u}=(0,c.J)(s),d=(0,o.useLatestVersion)(s),f=m??u??d,h=t??f.label,v=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(f).path;return r.createElement(l.Z,(0,a.Z)({},i,{label:h,to:v}))}},82924:(e,t,n)=>{n.d(t,{Z:()=>a});const a=n(67294).createContext(void 0)},98465:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(87462),r=n(67294),l=n(86010),o=n(52263),c=n(85350);const s={themedImage:"themedImage_TMUO","themedImage--light":"themedImage--light_4Vu1","themedImage--dark":"themedImage--dark_uzRr"},i=e=>{const{isClient:t}=(0,o.default)(),{isDarkTheme:n}=(0,c.Z)(),{sources:i,className:m,alt:u="",...d}=e,f=t?n?["dark"]:["light"]:["light","dark"];return r.createElement(r.Fragment,null,f.map((e=>r.createElement("img",(0,a.Z)({key:e,src:i[e],alt:u,className:(0,l.Z)(s.themedImage,s[`themedImage--${e}`],m)},d)))))}},79443:(e,t,n)=>{n.d(t,{Z:()=>a});const a=(0,n(67294).createContext)(void 0)},31839:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(67294);const r=function(e){void 0===e&&(e=!0),(0,a.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},77898:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(67294),r=n(10412);const l=()=>({scrollX:r.Z.canUseDOM?window.pageXOffset:0,scrollY:r.Z.canUseDOM?window.pageYOffset:0}),o=function(e,t){void 0===t&&(t=[]);const n=(0,a.useRef)(l()),r=()=>{const t=l();e&&e(t,n.current),n.current=t};(0,a.useEffect)((()=>{const e={passive:!0};return r(),window.addEventListener("scroll",r,e),()=>window.removeEventListener("scroll",r,e)}),t)}},85350:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(67294),r=n(82924);const l=function(){const e=(0,a.useContext)(r.Z);if(null==e)throw new Error("`useThemeContext` is used outside of `Layout` Component. See https://docusaurus.io/docs/api/themes/configuration#usethemecontext.");return e}},80944:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(67294),r=n(79443);const l=function(){const e=(0,a.useContext)(r.Z);if(null==e)throw new Error("`useUserPreferencesContext` is used outside of `Layout` Component.");return e}},93783:(e,t,n)=>{n.d(t,{D:()=>l,Z:()=>o});var a=n(67294),r=n(10412);const l={desktop:"desktop",mobile:"mobile"};const o=function(){const e=r.Z.canUseDOM;function t(){if(e)return window.innerWidth>996?l.desktop:l.mobile}const[n,o]=(0,a.useState)(t);return(0,a.useEffect)((()=>{if(e)return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n);function n(){o(t())}}),[]),n}}}]); \ No newline at end of file diff --git a/assets/js/1952.f3475808.js b/assets/js/1952.f3475808.js deleted file mode 100644 index 1b6c53f8..00000000 --- a/assets/js/1952.f3475808.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1952],{84478:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(87462),r=n(67294);const l=e=>{let{width:t=30,height:n=30,className:l,...o}=e;return r.createElement("svg",(0,a.Z)({"aria-label":"Menu",className:l,width:t,height:n,viewBox:"0 0 30 30",role:"img",focusable:"false"},o),r.createElement("title",null,"Menu"),r.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"}))}},61952:(e,t,n)=>{n.d(t,{Z:()=>Ze});var a=n(67294),r=n(86010),l=n(24973),o=n(16550);const c="skipToContent_OuoZ";function s(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}const i=function(){const e=(0,a.useRef)(null),t=(0,o.TH)();return(0,a.useEffect)((()=>{!t.hash&&e.current&&s(e.current)}),[t.pathname]),a.createElement("div",{ref:e},a.createElement("a",{href:"#main",className:c,onClick:e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")||document.querySelector(".main-wrapper");t&&s(t)}},a.createElement(l.Z,{id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation"},"Skip to main content")))};var m=n(86700),u=n(80944);const d="announcementBar_axC9",f="announcementBarClose_A3A1",h="announcementBarContent_6uhP",v="announcementBarCloseable_y4cp";const g=function(){const{isAnnouncementBarClosed:e,closeAnnouncementBar:t}=(0,u.Z)(),{announcementBar:n}=(0,m.LU)();if(!n)return null;const{content:o,backgroundColor:c,textColor:s,isCloseable:i}=n;return!o||i&&e?null:a.createElement("div",{className:d,style:{backgroundColor:c,color:s},role:"banner"},a.createElement("div",{className:(0,r.Z)(h,{[v]:i}),dangerouslySetInnerHTML:{__html:o}}),i?a.createElement("button",{type:"button",className:f,onClick:t,"aria-label":(0,l.I)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"})},a.createElement("span",{"aria-hidden":"true"},"\xd7")):null)};var E=n(87462);const b=()=>null;var p=n(52263);const k={toggle:"toggle_iYfV"},_=e=>{let{icon:t,style:n}=e;return a.createElement("span",{className:(0,r.Z)(k.toggle,k.dark),style:n},t)},Z=e=>{let{icon:t,style:n}=e;return a.createElement("span",{className:(0,r.Z)(k.toggle,k.light),style:n},t)},N=(0,a.memo)((e=>{let{className:t,icons:n,checked:l,disabled:o,onChange:c}=e;const[s,i]=(0,a.useState)(l),[m,u]=(0,a.useState)(!1),d=(0,a.useRef)(null);return a.createElement("div",{className:(0,r.Z)("react-toggle",t,{"react-toggle--checked":s,"react-toggle--focus":m,"react-toggle--disabled":o}),role:"button",tabIndex:-1,onClick:e=>{const t=d.current;if(t)return e.target!==t?(e.preventDefault(),t.focus(),void t.click()):void i(t?.checked)}},a.createElement("div",{className:"react-toggle-track"},a.createElement("div",{className:"react-toggle-track-check"},n.checked),a.createElement("div",{className:"react-toggle-track-x"},n.unchecked)),a.createElement("div",{className:"react-toggle-thumb"}),a.createElement("input",{ref:d,checked:s,type:"checkbox",className:"react-toggle-screenreader-only","aria-label":"Switch between dark and light mode",onChange:c,onFocus:()=>u(!0),onBlur:()=>u(!1)}))}));function w(e){const{colorMode:{switchConfig:{darkIcon:t,darkIconStyle:n,lightIcon:r,lightIconStyle:l}}}=(0,m.LU)(),{isClient:o}=(0,p.default)();return a.createElement(N,(0,E.Z)({disabled:!o,icons:{checked:a.createElement(_,{icon:t,style:n}),unchecked:a.createElement(Z,{icon:r,style:l})}},e))}var C=n(85350),y=n(77898);const L=e=>{const t=(0,o.TH)(),[n,r]=(0,a.useState)(e),l=(0,a.useRef)(!1),[c,s]=(0,a.useState)(0),i=(0,a.useCallback)((e=>{null!==e&&s(e.getBoundingClientRect().height)}),[]);return(0,y.Z)(((t,n)=>{let{scrollY:a}=t,{scrollY:o}=n;if(!e)return;if(a=o?r(!1):a+i{e&&r(!0)}),[t.pathname]),(0,a.useEffect)((()=>{e&&t.hash&&(l.current=!0)}),[t.hash]),{navbarRef:i,isNavbarVisible:n}};var A=n(31839),D=n(93783),I=n(5525);const T=e=>{let{width:t=20,height:n=20,...r}=e;return a.createElement("svg",(0,E.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",width:t,height:n},r),a.createElement("path",{fill:"currentColor",d:"M19.753 10.909c-.624-1.707-2.366-2.726-4.661-2.726-.09 0-.176.002-.262.006l-.016-2.063 3.525-.607c.115-.019.133-.119.109-.231-.023-.111-.167-.883-.188-.976-.027-.131-.102-.127-.207-.109-.104.018-3.25.461-3.25.461l-.013-2.078c-.001-.125-.069-.158-.194-.156l-1.025.016c-.105.002-.164.049-.162.148l.033 2.307s-3.061.527-3.144.543c-.084.014-.17.053-.151.143.019.09.19 1.094.208 1.172.018.08.072.129.188.107l2.924-.504.035 2.018c-1.077.281-1.801.824-2.256 1.303-.768.807-1.207 1.887-1.207 2.963 0 1.586.971 2.529 2.328 2.695 3.162.387 5.119-3.06 5.769-4.715 1.097 1.506.256 4.354-2.094 5.98-.043.029-.098.129-.033.207l.619.756c.08.096.206.059.256.023 2.51-1.73 3.661-4.515 2.869-6.683zm-7.386 3.188c-.966-.121-.944-.914-.944-1.453 0-.773.327-1.58.876-2.156a3.21 3.21 0 011.229-.799l.082 4.277a2.773 2.773 0 01-1.243.131zm2.427-.553l.046-4.109c.084-.004.166-.01.252-.01.773 0 1.494.145 1.885.361.391.217-1.023 2.713-2.183 3.758zm-8.95-7.668a.196.196 0 00-.196-.145h-1.95a.194.194 0 00-.194.144L.008 16.916c-.017.051-.011.076.062.076h1.733c.075 0 .099-.023.114-.072l1.008-3.318h3.496l1.008 3.318c.016.049.039.072.113.072h1.734c.072 0 .078-.025.062-.076-.014-.05-3.083-9.741-3.494-11.04zm-2.618 6.318l1.447-5.25 1.447 5.25H3.226z"}))};function x(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,...l}=e;const{i18n:{currentLocale:o,locales:c,localeConfigs:s}}=(0,p.default)(),i=(0,m.l5)();function u(e){return s[e].label}const d=[...n,...c.map((e=>{const t=`pathname://${i.createUrl({locale:e,fullyQualified:!1})}`;return{isNavLink:!0,label:u(e),to:t,target:"_self",autoAddBaseUrl:!1,className:e===o?"dropdown__link--active":"",style:{textTransform:"capitalize"}}})),...r],f=t?"Languages":u(o);return a.createElement(I.Z,(0,E.Z)({},l,{href:"#",mobile:t,label:a.createElement("span",null,a.createElement(T,{style:{verticalAlign:"text-bottom",marginRight:5}}),a.createElement("span",null,f)),items:d}))}const B="searchWrapper_f8aU";function S(e){let{mobile:t}=e;return t?null:a.createElement("div",{className:B},a.createElement(b,null))}const M={default:()=>I.Z,localeDropdown:()=>x,search:()=>S,docsVersion:()=>n(47250).Z,docsVersionDropdown:()=>n(59308).Z,doc:()=>n(76400).Z},U=function(e){void 0===e&&(e="default");const t=M[e];if(!t)throw new Error(`No NavbarItem component found for type=${e}.`);return t()};function V(e){let{type:t,...n}=e;const r=U(t);return a.createElement(r,n)}var H=n(55537),R=n(84478);const $="displayOnlyInLargeViewport_cxYs",P="navbarHideable_RReh",W="navbarHidden_FBwS",O="right";const z=function(){const{navbar:{items:e,hideOnScroll:t,style:n},colorMode:{disableSwitch:l}}=(0,m.LU)(),[o,c]=(0,a.useState)(!1),{isDarkTheme:s,setLightTheme:i,setDarkTheme:u}=(0,C.Z)(),{navbarRef:d,isNavbarVisible:f}=L(t);(0,A.Z)(o);const h=(0,a.useCallback)((()=>{c(!0)}),[c]),v=(0,a.useCallback)((()=>{c(!1)}),[c]),g=(0,a.useCallback)((e=>e.target.checked?u():i()),[i,u]),p=(0,D.Z)();(0,a.useEffect)((()=>{p===D.D.desktop&&c(!1)}),[p]);const k=e.some((e=>"search"===e.type)),{leftItems:_,rightItems:Z}=function(e){return{leftItems:e.filter((e=>"left"===(e.position??O))),rightItems:e.filter((e=>"right"===(e.position??O)))}}(e);return a.createElement("nav",{ref:d,className:(0,r.Z)("navbar","navbar--fixed-top",{"navbar--dark":"dark"===n,"navbar--primary":"primary"===n,"navbar-sidebar--show":o,[P]:t,[W]:t&&!f})},a.createElement("div",{className:"navbar__inner"},a.createElement("div",{className:"navbar__items"},null!=e&&0!==e.length&&a.createElement("button",{"aria-label":"Navigation bar toggle",className:"navbar__toggle",type:"button",tabIndex:0,onClick:h,onKeyDown:h},a.createElement(R.Z,null)),a.createElement(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:(0,r.Z)("navbar__title")}),_.map(((e,t)=>a.createElement(V,(0,E.Z)({},e,{key:t}))))),a.createElement("div",{className:"navbar__items navbar__items--right"},Z.map(((e,t)=>a.createElement(V,(0,E.Z)({},e,{key:t})))),!l&&a.createElement(w,{className:$,checked:s,onChange:g}),!k&&a.createElement(b,null))),a.createElement("div",{role:"presentation",className:"navbar-sidebar__backdrop",onClick:v}),a.createElement("div",{className:"navbar-sidebar"},a.createElement("div",{className:"navbar-sidebar__brand"},a.createElement(H.Z,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title",onClick:v}),!l&&o&&a.createElement(w,{checked:s,onChange:g})),a.createElement("div",{className:"navbar-sidebar__items"},a.createElement("div",{className:"menu"},a.createElement("ul",{className:"menu__list"},e.map(((e,t)=>a.createElement(V,(0,E.Z)({mobile:!0},e,{onClick:v,key:t})))))))))};var G=n(36742),Y=n(44996);const F="footerLogoLink_SRtH";var J=n(98465);function K(e){let{to:t,href:n,label:r,prependBaseUrlToHref:l,...o}=e;const c=(0,Y.Z)(t),s=(0,Y.Z)(n,{forcePrependBaseUrl:!0});return a.createElement(G.Z,(0,E.Z)({className:"footer__link-item"},n?{href:l?s:n}:{to:c},o),r)}const Q=e=>{let{sources:t,alt:n}=e;return a.createElement(J.Z,{className:"footer__logo",alt:n,sources:t})};const X=function(){const{footer:e}=(0,m.LU)(),{copyright:t,links:n=[],logo:l={}}=e||{},o={light:(0,Y.Z)(l.src),dark:(0,Y.Z)(l.srcDark||l.src)};return e?a.createElement("footer",{className:(0,r.Z)("footer",{"footer--dark":"dark"===e.style})},a.createElement("div",{className:"container"},n&&n.length>0&&a.createElement("div",{className:"row footer__links"},n.map(((e,t)=>a.createElement("div",{key:t,className:"col footer__col"},null!=e.title?a.createElement("h4",{className:"footer__title"},e.title):null,null!=e.items&&Array.isArray(e.items)&&e.items.length>0?a.createElement("ul",{className:"footer__items"},e.items.map(((e,t)=>e.html?a.createElement("li",{key:t,className:"footer__item",dangerouslySetInnerHTML:{__html:e.html}}):a.createElement("li",{key:e.href||e.to,className:"footer__item"},a.createElement(K,e))))):null)))),(l||t)&&a.createElement("div",{className:"footer__bottom text--center"},l&&(l.src||l.srcDark)&&a.createElement("div",{className:"margin-bottom--sm"},l.href?a.createElement(G.Z,{href:l.href,className:F},a.createElement(Q,{alt:l.alt,sources:o})):a.createElement(Q,{alt:l.alt,sources:o})),t?a.createElement("div",{className:"footer__copyright",dangerouslySetInnerHTML:{__html:t}}):null))):null};var q=n(10412);const j=(0,m.WA)("theme"),ee="light",te="dark",ne=e=>e===te?te:ee,ae=e=>{(0,m.WA)("theme").set(ne(e))},re=()=>{const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,m.LU)(),[r,l]=(0,a.useState)((e=>q.Z.canUseDOM?ne(document.documentElement.getAttribute("data-theme")):ne(e))(e)),o=(0,a.useCallback)((()=>{l(ee),ae(ee)}),[]),c=(0,a.useCallback)((()=>{l(te),ae(te)}),[]);return(0,a.useEffect)((()=>{document.documentElement.setAttribute("data-theme",ne(r))}),[r]),(0,a.useEffect)((()=>{if(!t)try{const e=j.get();null!==e&&l(ne(e))}catch(e){console.error(e)}}),[l]),(0,a.useEffect)((()=>{t&&!n||window.matchMedia("(prefers-color-scheme: dark)").addListener((e=>{let{matches:t}=e;l(t?te:ee)}))}),[]),{isDarkTheme:r===te,setLightTheme:o,setDarkTheme:c}};var le=n(82924);const oe=function(e){const{isDarkTheme:t,setLightTheme:n,setDarkTheme:r}=re();return a.createElement(le.Z.Provider,{value:{isDarkTheme:t,setLightTheme:n,setDarkTheme:r}},e.children)},ce="docusaurus.tab.",se=()=>{const[e,t]=(0,a.useState)({}),n=(0,a.useCallback)(((e,t)=>{(0,m.WA)(`${ce}${e}`).set(t)}),[]);return(0,a.useEffect)((()=>{try{const e={};for(const t of(0,m._f)())if(t.startsWith(ce)){e[t.substring(15)]=(0,m.WA)(t).get()}t(e)}catch(e){console.error(e)}}),[]),{tabGroupChoices:e,setTabGroupChoices:(e,a)=>{t((t=>({...t,[e]:a}))),n(e,a)}}},ie=(0,m.WA)("docusaurus.announcement.dismiss"),me=(0,m.WA)("docusaurus.announcement.id"),ue=()=>{const{announcementBar:e}=(0,m.LU)(),[t,n]=(0,a.useState)(!0),r=(0,a.useCallback)((()=>{ie.set("true"),n(!0)}),[]);return(0,a.useEffect)((()=>{if(!e)return;const{id:t}=e;let a=me.get();"annoucement-bar"===a&&(a="announcement-bar");const r=t!==a;me.set(t),r&&ie.set("false"),(r||"false"===ie.get())&&n(!1)}),[]),{isAnnouncementBarClosed:t,closeAnnouncementBar:r}};var de=n(79443);const fe=function(e){const{tabGroupChoices:t,setTabGroupChoices:n}=se(),{isAnnouncementBarClosed:r,closeAnnouncementBar:l}=ue();return a.createElement(de.Z.Provider,{value:{tabGroupChoices:t,setTabGroupChoices:n,isAnnouncementBarClosed:r,closeAnnouncementBar:l}},e.children)};function he(e){let{children:t}=e;return a.createElement(oe,null,a.createElement(fe,null,a.createElement(m.L5,null,t)))}var ve=n(99105);function ge(e){let{locale:t,version:n,tag:r}=e;return a.createElement(ve.Z,null,t&&a.createElement("meta",{name:"docusaurus_locale",content:`${t}`}),n&&a.createElement("meta",{name:"docusaurus_version",content:n}),r&&a.createElement("meta",{name:"docusaurus_tag",content:r}))}var Ee=n(41217);function be(){const{i18n:{defaultLocale:e,locales:t}}=(0,p.default)(),n=(0,m.l5)();return a.createElement(ve.Z,null,t.map((e=>a.createElement("link",{key:e,rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:e}))),a.createElement("link",{rel:"alternate",href:n.createUrl({locale:e,fullyQualified:!0}),hrefLang:"x-default"}))}function pe(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,p.default)(),r=function(){const{siteConfig:{url:e}}=(0,p.default)(),{pathname:t}=(0,o.TH)();return e+(0,Y.Z)(t)}(),l=t?`${n}${t}`:r;return a.createElement(ve.Z,null,a.createElement("meta",{property:"og:url",content:l}),a.createElement("link",{rel:"canonical",href:l}))}function ke(e){const{siteConfig:{favicon:t,themeConfig:{metadatas:n}},i18n:{currentLocale:r,localeConfigs:l}}=(0,p.default)(),{title:o,description:c,image:s,keywords:i,searchMetadatas:u}=e,d=(0,Y.Z)(t),f=(0,m.pe)(o),h=r,v=l[r].direction;return a.createElement(a.Fragment,null,a.createElement(ve.Z,null,a.createElement("html",{lang:h,dir:v}),t&&a.createElement("link",{rel:"shortcut icon",href:d}),a.createElement("title",null,f),a.createElement("meta",{property:"og:title",content:f})),a.createElement(Ee.Z,{description:c,keywords:i,image:s}),a.createElement(pe,null),a.createElement(be,null),a.createElement(ge,(0,E.Z)({tag:m.HX,locale:r},u)),a.createElement(ve.Z,null,n.map(((e,t)=>a.createElement("meta",(0,E.Z)({key:`metadata_${t}`},e))))))}const _e=function(){(0,a.useEffect)((()=>{const e="navigation-with-keyboard";function t(t){"keydown"===t.type&&"Tab"===t.key&&document.body.classList.add(e),"mousedown"===t.type&&document.body.classList.remove(e)}return document.addEventListener("keydown",t),document.addEventListener("mousedown",t),()=>{document.body.classList.remove(e),document.removeEventListener("keydown",t),document.removeEventListener("mousedown",t)}}),[])};const Ze=function(e){const{children:t,noFooter:n,wrapperClassName:l,pageClassName:o}=e;return _e(),a.createElement(he,null,a.createElement(ke,e),a.createElement(i,null),a.createElement(g,null),a.createElement(z,null),a.createElement("div",{className:(0,r.Z)(m.kM.wrapper.main,l,o)},t),!n&&a.createElement(X,null))}},55537:(e,t,n)=>{n.d(t,{Z:()=>m});var a=n(87462),r=n(67294),l=n(36742),o=n(98465),c=n(44996),s=n(52263),i=n(86700);const m=e=>{const{isClient:t}=(0,s.default)(),{navbar:{title:n,logo:m={src:""}}}=(0,i.LU)(),{imageClassName:u,titleClassName:d,...f}=e,h=(0,c.Z)(m.href||"/"),v={light:(0,c.Z)(m.src),dark:(0,c.Z)(m.srcDark||m.src)};return r.createElement(l.Z,(0,a.Z)({to:h},f,m.target&&{target:m.target}),m.src&&r.createElement(o.Z,{key:t,className:u,sources:v,alt:m.alt||n||"Logo"}),null!=n&&r.createElement("strong",{className:d},n))}},5525:(e,t,n)=>{n.d(t,{Z:()=>f});var a=n(87462),r=n(67294),l=n(86010),o=n(36742),c=n(44996),s=n(16550),i=n(86700);function m(e){let{activeBasePath:t,activeBaseRegex:n,to:l,href:s,label:i,activeClassName:m="navbar__link--active",prependBaseUrlToHref:u,...d}=e;const f=(0,c.Z)(l),h=(0,c.Z)(t),v=(0,c.Z)(s,{forcePrependBaseUrl:!0});return r.createElement(o.Z,(0,a.Z)({},s?{href:u?v:s}:{isNavLink:!0,activeClassName:m,to:f,...t||n?{isActive:(e,t)=>n?new RegExp(n).test(t.pathname):t.pathname.startsWith(h)}:null},d),i)}function u(e){let{items:t,position:n,className:o,...c}=e;const s=(0,r.useRef)(null),i=(0,r.useRef)(null),[u,d]=(0,r.useState)(!1);(0,r.useEffect)((()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}}),[s]);const f=function(e,t){return void 0===t&&(t=!1),(0,l.Z)({"navbar__item navbar__link":!t,dropdown__link:t},e)};return t?r.createElement("div",{ref:s,className:(0,l.Z)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--left":"left"===n,"dropdown--right":"right"===n,"dropdown--show":u})},r.createElement(m,(0,a.Z)({className:f(o)},c,{onClick:c.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!u))}}),c.children??c.label),r.createElement("ul",{ref:i,className:"dropdown__menu"},t.map(((e,n)=>{let{className:l,...o}=e;return r.createElement("li",{key:n},r.createElement(m,(0,a.Z)({onKeyDown:e=>{if(n===t.length-1&&"Tab"===e.key){e.preventDefault(),d(!1);const t=s.current.nextElementSibling;t&&t.focus()}},activeClassName:"dropdown__link--active",className:f(l,!0)},o)))})))):r.createElement(m,(0,a.Z)({className:f(o)},c))}function d(e){let{items:t,className:n,position:o,...c}=e;const u=(0,r.useRef)(null),{pathname:d}=(0,s.TH)(),[f,h]=(0,r.useState)((()=>!t?.some((e=>(0,i.Mg)(e.to,d)))??!0)),v=function(e,t){return void 0===t&&(t=!1),(0,l.Z)("menu__link",{"menu__link--sublist":t},e)};if(!t)return r.createElement("li",{className:"menu__list-item"},r.createElement(m,(0,a.Z)({className:v(n)},c)));const g=u.current?.scrollHeight?`${u.current?.scrollHeight}px`:void 0;return r.createElement("li",{className:(0,l.Z)("menu__list-item",{"menu__list-item--collapsed":f})},r.createElement(m,(0,a.Z)({role:"button",className:v(n,!0)},c,{onClick:e=>{e.preventDefault(),h((e=>!e))}}),c.children??c.label),r.createElement("ul",{className:"menu__list",ref:u,style:{height:f?void 0:g}},t.map(((e,t)=>{let{className:n,...l}=e;return r.createElement("li",{className:"menu__list-item",key:t},r.createElement(m,(0,a.Z)({activeClassName:"menu__link--active",className:v(n)},l,{onClick:c.onClick})))}))))}const f=function(e){let{mobile:t=!1,...n}=e;const a=t?d:u;return r.createElement(a,n)}},76400:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(87462),r=n(67294),l=n(5525),o=n(80907),c=n(86010),s=n(86700);function i(e){let{docId:t,activeSidebarClassName:n,label:i,docsPluginId:m,...u}=e;const{activeVersion:d,activeDoc:f}=(0,o.useActiveDocContext)(m),{preferredVersion:h}=(0,s.J)(m),v=(0,o.useLatestVersion)(m),g=d??h??v,E=g.docs.find((e=>e.id===t));if(!E){const e=g.docs.map((e=>e.id)).join("\n- ");throw new Error(`DocNavbarItem: couldn't find any doc with id=${t} in version ${g.name}.\nAvailable docIds=\n- ${e}`)}return r.createElement(l.Z,(0,a.Z)({exact:!0},u,{className:(0,c.Z)(u.className,{[n]:f&&f.sidebar===E.sidebar}),label:i??E.id,to:E.path}))}},59308:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(87462),r=n(67294),l=n(5525),o=n(80907),c=n(86700);const s=e=>e.docs.find((t=>t.id===e.mainDocId));function i(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:i,dropdownItemsBefore:m,dropdownItemsAfter:u,...d}=e;const f=(0,o.useActiveDocContext)(n),h=(0,o.useVersions)(n),v=(0,o.useLatestVersion)(n),{preferredVersion:g,savePreferredVersionName:E}=(0,c.J)(n);const b=f.activeVersion??g??v,p=t?"Versions":b.label,k=t?void 0:s(b).path;return r.createElement(l.Z,(0,a.Z)({},d,{mobile:t,label:p,to:k,items:function(){const e=h.map((e=>{const t=f?.alternateDocVersions[e.name]||s(e);return{isNavLink:!0,label:e.label,to:t.path,isActive:()=>e===f?.activeVersion,onClick:()=>{E(e.name)}}})),t=[...m,...e,...u];if(!(t.length<=1))return t}(),isActive:i?()=>!1:void 0}))}},47250:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(87462),r=n(67294),l=n(5525),o=n(80907),c=n(86700);const s=e=>e.docs.find((t=>t.id===e.mainDocId));function i(e){let{label:t,to:n,docsPluginId:i,...m}=e;const u=(0,o.useActiveVersion)(i),{preferredVersion:d}=(0,c.J)(i),f=(0,o.useLatestVersion)(i),h=u??d??f,v=t??h.label,g=n??s(h).path;return r.createElement(l.Z,(0,a.Z)({},m,{label:v,to:g}))}},82924:(e,t,n)=>{n.d(t,{Z:()=>a});const a=n(67294).createContext(void 0)},98465:(e,t,n)=>{n.d(t,{Z:()=>i});var a=n(87462),r=n(67294),l=n(86010),o=n(52263),c=n(85350);const s={themedImage:"themedImage_TMUO","themedImage--light":"themedImage--light_4Vu1","themedImage--dark":"themedImage--dark_uzRr"},i=e=>{const{isClient:t}=(0,o.default)(),{isDarkTheme:n}=(0,c.Z)(),{sources:i,className:m,alt:u="",...d}=e,f=t?n?["dark"]:["light"]:["light","dark"];return r.createElement(r.Fragment,null,f.map((e=>r.createElement("img",(0,a.Z)({key:e,src:i[e],alt:u,className:(0,l.Z)(s.themedImage,s[`themedImage--${e}`],m)},d)))))}},79443:(e,t,n)=>{n.d(t,{Z:()=>a});const a=(0,n(67294).createContext)(void 0)},31839:(e,t,n)=>{n.d(t,{Z:()=>r});var a=n(67294);const r=function(e){void 0===e&&(e=!0),(0,a.useEffect)((()=>(document.body.style.overflow=e?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[e])}},77898:(e,t,n)=>{n.d(t,{Z:()=>o});var a=n(67294),r=n(10412);const l=()=>({scrollX:r.Z.canUseDOM?window.pageXOffset:0,scrollY:r.Z.canUseDOM?window.pageYOffset:0}),o=function(e,t){void 0===t&&(t=[]);const n=(0,a.useRef)(l()),r=()=>{const t=l();e&&e(t,n.current),n.current=t};(0,a.useEffect)((()=>{const e={passive:!0};return r(),window.addEventListener("scroll",r,e),()=>window.removeEventListener("scroll",r,e)}),t)}},85350:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(67294),r=n(82924);const l=function(){const e=(0,a.useContext)(r.Z);if(null==e)throw new Error("`useThemeContext` is used outside of `Layout` Component. See https://docusaurus.io/docs/api/themes/configuration#usethemecontext.");return e}},80944:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(67294),r=n(79443);const l=function(){const e=(0,a.useContext)(r.Z);if(null==e)throw new Error("`useUserPreferencesContext` is used outside of `Layout` Component.");return e}},93783:(e,t,n)=>{n.d(t,{D:()=>l,Z:()=>o});var a=n(67294),r=n(10412);const l={desktop:"desktop",mobile:"mobile"};const o=function(){const e=r.Z.canUseDOM;function t(){if(e)return window.innerWidth>996?l.desktop:l.mobile}const[n,o]=(0,a.useState)(t);return(0,a.useEffect)((()=>{if(e)return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n);function n(){o(t())}}),[]),n}}}]); \ No newline at end of file diff --git a/assets/js/1be78505.49451151.js b/assets/js/1be78505.49451151.js deleted file mode 100644 index de067b6c..00000000 --- a/assets/js/1be78505.49451151.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9514,4608],{3905:(e,t,n)=>{"use strict";n.d(t,{Zo:()=>d,kt:()=>h});var a=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=a.createContext({}),c=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(s.Provider,{value:t},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,s=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),u=c(n),m=o,h=u["".concat(s,".").concat(m)]||u[m]||p[m]||r;return n?a.createElement(h,l(l({ref:t},d),{},{components:n})):a.createElement(h,l({ref:t},d))}));function h(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,l=new Array(r);l[0]=m;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[u]="string"==typeof e?e:o,l[1]=i;for(var c=2;c{"use strict";n.r(t),n.d(t,{default:()=>ce});var a=n(67294),o=n(3905),r=n(52263),l=n(46291),i=n(61952),s=n(87462),c=n(86010),d=n(86700),u=n(80944),p=n(31839),m=n(93783),h=n(77898),b=n(36742),y=n(13919),g=n(55537);const f=e=>a.createElement("svg",(0,s.Z)({width:"20",height:"20",role:"img"},e),a.createElement("g",{fill:"#7a7a7a"},a.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),a.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})));var v=n(84478),k=n(24973);const E={sidebar:"sidebar_a3j0",sidebarWithHideableNavbar:"sidebarWithHideableNavbar_VlPv",sidebarHidden:"sidebarHidden_OqfG",sidebarLogo:"sidebarLogo_hmkv",menu:"menu_cyFh",menuLinkText:"menuLinkText_lRH+",menuWithAnnouncementBar:"menuWithAnnouncementBar_+O1J",collapseSidebarButton:"collapseSidebarButton_eoK2",collapseSidebarButtonIcon:"collapseSidebarButtonIcon_e+kA",sidebarMenuIcon:"sidebarMenuIcon_iZzd",sidebarMenuCloseIcon:"sidebarMenuCloseIcon_6kU2",menuLinkExternal:"menuLinkExternal_anpt"},C=24;const N=(e,t)=>"link"===e.type?(0,d.Mg)(e.href,t):"category"===e.type&&e.items.some((e=>N(e,t))),_=(0,a.memo)((function(e){let{items:t,...n}=e;return t.map(((e,t)=>a.createElement(S,(0,s.Z)({key:t,item:e},n))))}));function S(e){return"category"===e.item.type?a.createElement(x,e):a.createElement(T,e)}function x(e){let{item:t,onItemClick:n,collapsible:o,activePath:r,...l}=e;const{items:i,label:d}=t,u=N(t,r),p=function(e){const t=(0,a.useRef)(e);return(0,a.useEffect)((()=>{t.current=e}),[e]),t.current}(u),[m,h]=(0,a.useState)((()=>!!o&&(!u&&t.collapsed))),b=(0,a.useRef)(null),[y,g]=(0,a.useState)(void 0),f=function(e){void 0===e&&(e=!0),g(e?`${b.current?.scrollHeight}px`:void 0)};(0,a.useEffect)((()=>{u&&!p&&m&&h(!1)}),[u,p,m]);const v=(0,a.useCallback)((e=>{e.preventDefault(),y||f(),setTimeout((()=>h((e=>!e))),100)}),[y]);return 0===i.length?null:a.createElement("li",{className:(0,c.Z)("menu__list-item",{"menu__list-item--collapsed":m})},a.createElement("a",(0,s.Z)({className:(0,c.Z)("menu__link",{"menu__link--sublist":o,"menu__link--active":o&&u,[E.menuLinkText]:!o}),onClick:o?v:void 0,href:o?"#!":void 0},l),d),a.createElement("ul",{className:"menu__list",ref:b,style:{height:y},onTransitionEnd:()=>{m||f(!1)}},a.createElement(_,{items:i,tabIndex:m?"-1":"0",onItemClick:n,collapsible:o,activePath:r})))}function T(e){let{item:t,onItemClick:n,activePath:o,collapsible:r,...l}=e;const{href:i,label:d}=t,u=N(t,o);return a.createElement("li",{className:"menu__list-item",key:d},a.createElement(b.Z,(0,s.Z)({className:(0,c.Z)("menu__link",{"menu__link--active":u,[E.menuLinkExternal]:!(0,y.Z)(i)}),to:i},(0,y.Z)(i)&&{isNavLink:!0,exact:!0,onClick:n},l),d))}function Z(e){let{onClick:t}=e;return a.createElement("button",{type:"button",title:(0,k.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,k.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,c.Z)("button button--secondary button--outline",E.collapseSidebarButton),onClick:t},a.createElement(f,{className:E.collapseSidebarButtonIcon}))}function I(e){let{responsiveSidebarOpened:t,onClick:n}=e;return a.createElement("button",{"aria-label":t?(0,k.I)({id:"theme.docs.sidebar.responsiveCloseButtonLabel",message:"Close menu",description:"The ARIA label for close button of mobile doc sidebar"}):(0,k.I)({id:"theme.docs.sidebar.responsiveOpenButtonLabel",message:"Open menu",description:"The ARIA label for open button of mobile doc sidebar"}),"aria-haspopup":"true",className:"button button--secondary button--sm menu__button",type:"button",onClick:n},t?a.createElement("span",{className:(0,c.Z)(E.sidebarMenuIcon,E.sidebarMenuCloseIcon)},"\xd7"):a.createElement(v.Z,{className:E.sidebarMenuIcon,height:C,width:C}))}const O=function(e){let{path:t,sidebar:n,sidebarCollapsible:o=!0,onCollapse:r,isHidden:l}=e;const i=function(){const{isAnnouncementBarClosed:e}=(0,u.Z)(),[t,n]=(0,a.useState)(!e);return(0,h.Z)((t=>{let{scrollY:a}=t;e||n(0===a)})),t}(),{navbar:{hideOnScroll:s},hideableSidebar:b}=(0,d.LU)(),{isAnnouncementBarClosed:y}=(0,u.Z)(),{showResponsiveSidebar:f,closeResponsiveSidebar:v,toggleResponsiveSidebar:k}=function(){const[e,t]=(0,a.useState)(!1);(0,p.Z)(e);const n=(0,m.Z)();return(0,a.useEffect)((()=>{n===m.D.desktop&&t(!1)}),[n]),{showResponsiveSidebar:e,closeResponsiveSidebar:(0,a.useCallback)((e=>{e.target.blur(),t(!1)}),[t]),toggleResponsiveSidebar:(0,a.useCallback)((()=>{t((e=>!e))}),[t])}}();return a.createElement("div",{className:(0,c.Z)(E.sidebar,{[E.sidebarWithHideableNavbar]:s,[E.sidebarHidden]:l})},s&&a.createElement(g.Z,{tabIndex:-1,className:E.sidebarLogo}),a.createElement("div",{className:(0,c.Z)("menu","menu--responsive","thin-scrollbar",E.menu,{"menu--show":f,[E.menuWithAnnouncementBar]:!y&&i})},a.createElement(I,{responsiveSidebarOpened:f,onClick:k}),a.createElement("ul",{className:"menu__list"},a.createElement(_,{items:n,onItemClick:v,collapsible:o,activePath:t}))),b&&a.createElement(Z,{onClick:r}))};const j={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var w={Prism:n(87410).Z,theme:j};function P(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(){return B=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)};function M(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1===t.indexOf(a)&&(n[a]=e[a]);return n}var R=function(e){function t(){for(var t=this,n=[],a=arguments.length;a--;)n[a]=arguments[a];e.apply(this,n),P(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?function(e,t){var n=e.plain,a=Object.create(null),o=e.styles.reduce((function(e,n){var a=n.languages,o=n.style;return a&&!a.includes(t)||n.types.forEach((function(t){var n=B({},e[t],o);e[t]=n})),e}),a);return o.root=n,o.plain=B({},n,{backgroundColor:null}),o}(e.theme,e.language):void 0;return t.themeDict=n})),P(this,"getLineProps",(function(e){var n=e.key,a=e.className,o=e.style,r=B({},M(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(r.style=l.plain),void 0!==o&&(r.style=void 0!==r.style?B({},r.style,o):o),void 0!==n&&(r.key=n),a&&(r.className+=" "+a),r})),P(this,"getStyleForToken",(function(e){var n=e.types,a=e.empty,o=n.length,r=t.getThemeDict(t.props);if(void 0!==r){if(1===o&&"plain"===n[0])return a?{display:"inline-block"}:void 0;if(1===o&&!a)return r[n[0]];var l=a?{display:"inline-block"}:{},i=n.map((function(e){return r[e]}));return Object.assign.apply(Object,[l].concat(i))}})),P(this,"getTokenProps",(function(e){var n=e.key,a=e.className,o=e.style,r=e.token,l=B({},M(e,["key","className","style","token"]),{className:"token "+r.types.join(" "),children:r.content,style:t.getStyleForToken(r),key:void 0});return void 0!==o&&(l.style=void 0!==l.style?B({},l.style,o):o),void 0!==n&&(l.key=n),a&&(l.className+=" "+a),l})),P(this,"tokenize",(function(e,t,n,a){var o={code:t,grammar:n,language:a,tokens:[]};e.hooks.run("before-tokenize",o);var r=o.tokens=e.tokenize(o.code,o.grammar,o.language);return e.hooks.run("after-tokenize",o),r}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,a=e.code,o=e.children,r=this.getThemeDict(this.props),l=t.languages[n];return o({tokens:function(e){for(var t=[[]],n=[e],a=[0],o=[e.length],r=0,l=0,i=[],s=[i];l>-1;){for(;(r=a[l]++)0?d:["plain"],c=u):(d=D(d,u.type),u.alias&&(d=D(d,u.alias)),c=u.content),"string"==typeof c){var p=c.split(L),m=p.length;i.push({types:d,content:p[0]});for(var h=1;h{const{prism:e}=(0,d.LU)(),{isDarkTheme:t}=(0,F.Z)(),n=e.theme||z,a=e.darkTheme||n;return t?a:n},J="codeBlockContainer_J+bg",V="codeBlockContent_csEI",X="codeBlockTitle_oQzk",q="codeBlock_rtdJ",K="codeBlockWithTitle_ZT05",Q="copyButton_M3SB",Y="codeBlockLines_1zSZ",G=/{([\d,-]+)}/,ee=function(e){void 0===e&&(e=["js","jsBlock","jsx","python","html"]);const t={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},n=["highlight-next-line","highlight-start","highlight-end"].join("|"),a=e.map((e=>`(?:${t[e].start}\\s*(${n})\\s*${t[e].end})`)).join("|");return new RegExp(`^\\s*(?:${a})\\s*$`)};function te(e){let{children:t,className:n,metastring:o,title:r}=e;const{prism:l}=(0,d.LU)(),[i,u]=(0,a.useState)(!1),[p,m]=(0,a.useState)(!1);(0,a.useEffect)((()=>{m(!0)}),[]);const h=(0,d.bc)(o)||r,b=(0,a.useRef)(null);let y=[];const g=U(),f=Array.isArray(t)?t.join(""):t;if(o&&G.test(o)){const e=o.match(G)[1];y=$()(e).filter((e=>e>0))}let v=n&&n.replace(/language-/,"");!v&&l.defaultLanguage&&(v=l.defaultLanguage);let E=f.replace(/\n$/,"");if(0===y.length&&void 0!==v){let e="";const t=(e=>{switch(e){case"js":case"javascript":case"ts":case"typescript":return ee(["js","jsBlock"]);case"jsx":case"tsx":return ee(["js","jsBlock","jsx"]);case"html":return ee(["js","jsBlock","html"]);case"python":case"py":return ee(["python"]);default:return ee()}})(v),n=f.replace(/\n$/,"").split("\n");let a;for(let o=0;oe||t),void 0)){case"highlight-next-line":e+=`${r},`;break;case"highlight-start":a=r;break;case"highlight-end":e+=`${a}-${r-1},`}n.splice(o,1)}else o+=1}y=$()(e),E=n.join("\n")}const C=()=>{!function(e,{target:t=document.body}={}){if("string"!=typeof e)throw new TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof e}\`.`);const n=document.createElement("textarea"),a=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";const o=document.getSelection(),r=o.rangeCount>0&&o.getRangeAt(0);t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}n.remove(),r&&(o.removeAllRanges(),o.addRange(r)),a&&a.focus()}(E),u(!0),setTimeout((()=>u(!1)),2e3)};return a.createElement(H,(0,s.Z)({},w,{key:String(p),theme:g,code:E,language:v}),(e=>{let{className:t,style:n,tokens:o,getLineProps:r,getTokenProps:l}=e;return a.createElement("div",{className:J},h&&a.createElement("div",{style:n,className:X},h),a.createElement("div",{className:(0,c.Z)(V,v)},a.createElement("div",{tabIndex:0,className:(0,c.Z)(t,q,"thin-scrollbar",{[K]:h})},a.createElement("div",{className:Y,style:n},o.map(((e,t)=>{1===e.length&&""===e[0].content&&(e[0].content="\n");const n=r({line:e,key:t});return y.includes(t+1)&&(n.className=`${n.className} docusaurus-highlight-code-line`),a.createElement("div",(0,s.Z)({key:t},n),e.map(((e,t)=>a.createElement("span",(0,s.Z)({key:t},l({token:e,key:t}))))))})))),a.createElement("button",{ref:b,type:"button","aria-label":(0,k.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),className:(0,c.Z)(Q),onClick:C},i?a.createElement(k.Z,{id:"theme.CodeBlock.copied",description:"The copied button label on code blocks"},"Copied"):a.createElement(k.Z,{id:"theme.CodeBlock.copy",description:"The copy button label on code blocks"},"Copy"))))}))}const ne="enhancedAnchor_WiXH",ae=e=>function(t){let{id:n,...o}=t;const{navbar:{hideOnScroll:r}}=(0,d.LU)();return n?a.createElement(e,o,a.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:(0,c.Z)("anchor",{[ne]:!r}),id:n}),o.children,a.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,k.I)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"#")):a.createElement(e,o)},oe={code:e=>{const{children:t}=e;return(0,a.isValidElement)(t)?t:t.includes("\n")?a.createElement(te,e):a.createElement("code",e)},a:e=>a.createElement(b.Z,e),pre:e=>{const{children:t}=e;return(0,a.isValidElement)(t?.props?.children)?t?.props.children:a.createElement(te,(0,a.isValidElement)(t)?t?.props:{children:t})},h1:ae("h1"),h2:ae("h2"),h3:ae("h3"),h4:ae("h4"),h5:ae("h5"),h6:ae("h6")};var re=n(24608),le=n(16550);const ie={docPage:"docPage_lDyR",docMainContainer:"docMainContainer_r8cw",docMainContainerEnhanced:"docMainContainerEnhanced_SOUu",docSidebarContainer:"docSidebarContainer_0YBq",docSidebarContainerHidden:"docSidebarContainerHidden_Qlt2",collapsedDocSidebar:"collapsedDocSidebar_zZpm",expandSidebarButtonIcon:"expandSidebarButtonIcon_cxi8",docItemWrapperEnhanced:"docItemWrapperEnhanced_aT5H",docItemWrapper:"docItemWrapper_NJLN"};function se(e){let{currentDocRoute:t,versionMetadata:n,children:l}=e;const{siteConfig:s,isClient:u}=(0,r.default)(),{pluginId:p,permalinkToSidebar:m,docsSidebars:h,version:b}=n,y=m[t.path],g=h[y],[v,E]=(0,a.useState)(!1),[C,N]=(0,a.useState)(!1),_=(0,a.useCallback)((()=>{C&&N(!1),E(!v)}),[C]);return a.createElement(i.Z,{key:u,wrapperClassName:d.kM.wrapper.docPages,pageClassName:d.kM.page.docPage,searchMetadatas:{version:b,tag:(0,d.os)(p,b)}},a.createElement("div",{className:ie.docPage},g&&a.createElement("div",{className:(0,c.Z)(ie.docSidebarContainer,{[ie.docSidebarContainerHidden]:v}),onTransitionEnd:e=>{e.currentTarget.classList.contains(ie.docSidebarContainer)&&v&&N(!0)},role:"complementary"},a.createElement(O,{key:y,sidebar:g,path:t.path,sidebarCollapsible:s.themeConfig?.sidebarCollapsible??!0,onCollapse:_,isHidden:C}),C&&a.createElement("div",{className:ie.collapsedDocSidebar,title:(0,k.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,k.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:_,onClick:_},a.createElement(f,{className:ie.expandSidebarButtonIcon}))),a.createElement("main",{className:(0,c.Z)(ie.docMainContainer,{[ie.docMainContainerEnhanced]:v||!g})},a.createElement("div",{className:(0,c.Z)("container padding-vert--lg",ie.docItemWrapper,{[ie.docItemWrapperEnhanced]:v})},a.createElement(o.Zo,{components:oe},l)))))}const ce=function(e){const{route:{routes:t},versionMetadata:n,location:o}=e,r=t.find((e=>(0,le.LX)(o.pathname,e)));return r?a.createElement(se,{currentDocRoute:r,versionMetadata:n},(0,l.Z)(t)):a.createElement(re.default,e)}},24608:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var a=n(67294),o=n(61952),r=n(24973);const l=function(){return a.createElement(o.Z,{title:"Page Not Found"},a.createElement("main",{className:"container margin-vert--xl"},a.createElement("div",{className:"row"},a.createElement("div",{className:"col col--6 col--offset-3"},a.createElement("h1",{className:"hero__title"},a.createElement(r.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),a.createElement("p",null,a.createElement(r.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),a.createElement("p",null,a.createElement(r.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."))))))}},87594:(e,t)=>{function n(e){let t,n=[];for(let a of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(a))n.push(parseInt(a,10));else if(t=a.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,a,o,r]=t;if(a&&r){a=parseInt(a),r=parseInt(r);const e=a{"use strict";n.d(t,{Zo:()=>u,kt:()=>m});var o=n(67294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=o.createContext({}),i=function(e){var t=o.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):l(l({},t),e)),n},u=function(e){var t=i(e.components);return o.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},p=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,c=e.parentName,u=s(e,["components","mdxType","originalType","parentName"]),p=i(n),m=a,h=p["".concat(c,".").concat(m)]||p[m]||d[m]||r;return n?o.createElement(h,l(l({ref:t},u),{},{components:n})):o.createElement(h,l({ref:t},u))}));function m(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,l=new Array(r);l[0]=p;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:a,l[1]=s;for(var i=2;i{"use strict";n.r(t),n.d(t,{default:()=>Oe});var o=n(67294),a=n(3905),r=n(52263),l=n(46291),s=n(61952),c=n(87462),i=n(86010),u=n(86700),d=n(80944),p=n(31839),m=n(93783),h=n(77898),y=n(36742),b=n(13919),f=n(55537);const g=e=>o.createElement("svg",(0,c.Z)({width:"20",height:"20",role:"img"},e),o.createElement("g",{fill:"#7a7a7a"},o.createElement("path",{d:"M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"}),o.createElement("path",{d:"M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"})));var v=n(84478),k=n(24973);const E="sidebar_a3j0",C="sidebarWithHideableNavbar_VlPv",N="sidebarHidden_OqfG",_="sidebarLogo_hmkv",T="menu_cyFh",Z="menuLinkText_lRH+",O="menuWithAnnouncementBar_+O1J",j="collapseSidebarButton_eoK2",x="collapseSidebarButtonIcon_e+kA",S="sidebarMenuIcon_iZzd",w="sidebarMenuCloseIcon_6kU2",P="menuLinkExternal_anpt";const I=(e,t)=>"link"===e.type?(0,u.Mg)(e.href,t):"category"===e.type&&e.items.some((e=>I(e,t))),L=(0,o.memo)((function(e){let{items:t,...n}=e;return t.map(((e,t)=>o.createElement(B,(0,c.Z)({key:t,item:e},n))))}));function B(e){return"category"===e.item.type?o.createElement(A,e):o.createElement(R,e)}function A(e){let{item:t,onItemClick:n,collapsible:a,activePath:r,...l}=e;const{items:s,label:u}=t,d=I(t,r),p=function(e){const t=(0,o.useRef)(e);return(0,o.useEffect)((()=>{t.current=e}),[e]),t.current}(d),[m,h]=(0,o.useState)((()=>!!a&&(!d&&t.collapsed))),y=(0,o.useRef)(null),[b,f]=(0,o.useState)(void 0),g=function(e){var t;void 0===e&&(e=!0),f(e?`${null==(t=y.current)?void 0:t.scrollHeight}px`:void 0)};(0,o.useEffect)((()=>{d&&!p&&m&&h(!1)}),[d,p,m]);const v=(0,o.useCallback)((e=>{e.preventDefault(),b||g(),setTimeout((()=>h((e=>!e))),100)}),[b]);return 0===s.length?null:o.createElement("li",{className:(0,i.Z)("menu__list-item",{"menu__list-item--collapsed":m})},o.createElement("a",(0,c.Z)({className:(0,i.Z)("menu__link",{"menu__link--sublist":a,"menu__link--active":a&&d,[Z]:!a}),onClick:a?v:void 0,href:a?"#!":void 0},l),u),o.createElement("ul",{className:"menu__list",ref:y,style:{height:b},onTransitionEnd:()=>{m||g(!1)}},o.createElement(L,{items:s,tabIndex:m?"-1":"0",onItemClick:n,collapsible:a,activePath:r})))}function R(e){let{item:t,onItemClick:n,activePath:a,collapsible:r,...l}=e;const{href:s,label:u}=t,d=I(t,a);return o.createElement("li",{className:"menu__list-item",key:u},o.createElement(y.Z,(0,c.Z)({className:(0,i.Z)("menu__link",{"menu__link--active":d,[P]:!(0,b.Z)(s)}),to:s},(0,b.Z)(s)&&{isNavLink:!0,exact:!0,onClick:n},l),u))}function D(e){let{onClick:t}=e;return o.createElement("button",{type:"button",title:(0,k.I)({id:"theme.docs.sidebar.collapseButtonTitle",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),"aria-label":(0,k.I)({id:"theme.docs.sidebar.collapseButtonAriaLabel",message:"Collapse sidebar",description:"The title attribute for collapse button of doc sidebar"}),className:(0,i.Z)("button button--secondary button--outline",j),onClick:t},o.createElement(g,{className:x}))}function M(e){let{responsiveSidebarOpened:t,onClick:n}=e;return o.createElement("button",{"aria-label":t?(0,k.I)({id:"theme.docs.sidebar.responsiveCloseButtonLabel",message:"Close menu",description:"The ARIA label for close button of mobile doc sidebar"}):(0,k.I)({id:"theme.docs.sidebar.responsiveOpenButtonLabel",message:"Open menu",description:"The ARIA label for open button of mobile doc sidebar"}),"aria-haspopup":"true",className:"button button--secondary button--sm menu__button",type:"button",onClick:n},t?o.createElement("span",{className:(0,i.Z)(S,w)},"\xd7"):o.createElement(v.Z,{className:S,height:24,width:24}))}const $=function(e){let{path:t,sidebar:n,sidebarCollapsible:a=!0,onCollapse:r,isHidden:l}=e;const s=function(){const{isAnnouncementBarClosed:e}=(0,d.Z)(),[t,n]=(0,o.useState)(!e);return(0,h.Z)((t=>{let{scrollY:o}=t;e||n(0===o)})),t}(),{navbar:{hideOnScroll:c},hideableSidebar:y}=(0,u.LU)(),{isAnnouncementBarClosed:b}=(0,d.Z)(),{showResponsiveSidebar:g,closeResponsiveSidebar:v,toggleResponsiveSidebar:k}=function(){const[e,t]=(0,o.useState)(!1);(0,p.Z)(e);const n=(0,m.Z)();return(0,o.useEffect)((()=>{n===m.D.desktop&&t(!1)}),[n]),{showResponsiveSidebar:e,closeResponsiveSidebar:(0,o.useCallback)((e=>{e.target.blur(),t(!1)}),[t]),toggleResponsiveSidebar:(0,o.useCallback)((()=>{t((e=>!e))}),[t])}}();return o.createElement("div",{className:(0,i.Z)(E,{[C]:c,[N]:l})},c&&o.createElement(f.Z,{tabIndex:-1,className:_}),o.createElement("div",{className:(0,i.Z)("menu","menu--responsive","thin-scrollbar",T,{"menu--show":g,[O]:!b&&s})},o.createElement(M,{responsiveSidebarOpened:g,onClick:k}),o.createElement("ul",{className:"menu__list"},o.createElement(L,{items:n,onItemClick:v,collapsible:a,activePath:t}))),y&&o.createElement(D,{onClick:r}))};const z={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]};var F={Prism:n(87410).Z,theme:z};function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W(){return W=Object.assign||function(e){for(var t=1;t0&&e[n-1]===t?e:e.concat(t)},X=function(e,t){var n=e.plain,o=Object.create(null),a=e.styles.reduce((function(e,n){var o=n.languages,a=n.style;return o&&!o.includes(t)||n.types.forEach((function(t){var n=W({},e[t],a);e[t]=n})),e}),o);return a.root=n,a.plain=W({},n,{backgroundColor:null}),a};function q(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&-1===t.indexOf(o)&&(n[o]=e[o]);return n}const K=function(e){function t(){for(var t=this,n=[],o=arguments.length;o--;)n[o]=arguments[o];e.apply(this,n),H(this,"getThemeDict",(function(e){if(void 0!==t.themeDict&&e.theme===t.prevTheme&&e.language===t.prevLanguage)return t.themeDict;t.prevTheme=e.theme,t.prevLanguage=e.language;var n=e.theme?X(e.theme,e.language):void 0;return t.themeDict=n})),H(this,"getLineProps",(function(e){var n=e.key,o=e.className,a=e.style,r=W({},q(e,["key","className","style","line"]),{className:"token-line",style:void 0,key:void 0}),l=t.getThemeDict(t.props);return void 0!==l&&(r.style=l.plain),void 0!==a&&(r.style=void 0!==r.style?W({},r.style,a):a),void 0!==n&&(r.key=n),o&&(r.className+=" "+o),r})),H(this,"getStyleForToken",(function(e){var n=e.types,o=e.empty,a=n.length,r=t.getThemeDict(t.props);if(void 0!==r){if(1===a&&"plain"===n[0])return o?{display:"inline-block"}:void 0;if(1===a&&!o)return r[n[0]];var l=o?{display:"inline-block"}:{},s=n.map((function(e){return r[e]}));return Object.assign.apply(Object,[l].concat(s))}})),H(this,"getTokenProps",(function(e){var n=e.key,o=e.className,a=e.style,r=e.token,l=W({},q(e,["key","className","style","token"]),{className:"token "+r.types.join(" "),children:r.content,style:t.getStyleForToken(r),key:void 0});return void 0!==a&&(l.style=void 0!==l.style?W({},l.style,a):a),void 0!==n&&(l.key=n),o&&(l.className+=" "+o),l})),H(this,"tokenize",(function(e,t,n,o){var a={code:t,grammar:n,language:o,tokens:[]};e.hooks.run("before-tokenize",a);var r=a.tokens=e.tokenize(a.code,a.grammar,a.language);return e.hooks.run("after-tokenize",a),r}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var e=this.props,t=e.Prism,n=e.language,o=e.code,a=e.children,r=this.getThemeDict(this.props),l=t.languages[n];return a({tokens:function(e){for(var t=[[]],n=[e],o=[0],a=[e.length],r=0,l=0,s=[],c=[s];l>-1;){for(;(r=o[l]++)0?u:["plain"],i=d):(u=V(u,d.type),d.alias&&(u=V(u,d.alias)),i=d.content),"string"==typeof i){var p=i.split(U),m=p.length;s.push({types:u,content:p[0]});for(var h=1;h{const{prism:e}=(0,u.LU)(),{isDarkTheme:t}=(0,ee.Z)(),n=e.theme||G,o=e.darkTheme||n;return t?o:n},ne="codeBlockContainer_J+bg",oe="codeBlockContent_csEI",ae="codeBlockTitle_oQzk",re="codeBlock_rtdJ",le="codeBlockWithTitle_ZT05",se="copyButton_M3SB",ce="codeBlockLines_1zSZ",ie=/{([\d,-]+)}/,ue=function(e){void 0===e&&(e=["js","jsBlock","jsx","python","html"]);const t={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},python:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},n=["highlight-next-line","highlight-start","highlight-end"].join("|"),o=e.map((e=>`(?:${t[e].start}\\s*(${n})\\s*${t[e].end})`)).join("|");return new RegExp(`^\\s*(?:${o})\\s*$`)};function de(e){let{children:t,className:n,metastring:a,title:r}=e;const{prism:l}=(0,u.LU)(),[s,d]=(0,o.useState)(!1),[p,m]=(0,o.useState)(!1);(0,o.useEffect)((()=>{m(!0)}),[]);const h=(0,u.bc)(a)||r,y=(0,o.useRef)(null);let b=[];const f=te(),g=Array.isArray(t)?t.join(""):t;if(a&&ie.test(a)){const e=a.match(ie)[1];b=Y()(e).filter((e=>e>0))}let v=n&&n.replace(/language-/,"");!v&&l.defaultLanguage&&(v=l.defaultLanguage);let E=g.replace(/\n$/,"");if(0===b.length&&void 0!==v){let e="";const t=(e=>{switch(e){case"js":case"javascript":case"ts":case"typescript":return ue(["js","jsBlock"]);case"jsx":case"tsx":return ue(["js","jsBlock","jsx"]);case"html":return ue(["js","jsBlock","html"]);case"python":case"py":return ue(["python"]);default:return ue()}})(v),n=g.replace(/\n$/,"").split("\n");let o;for(let a=0;ae||t),void 0)){case"highlight-next-line":e+=`${r},`;break;case"highlight-start":o=r;break;case"highlight-end":e+=`${o}-${r-1},`}n.splice(a,1)}else a+=1}b=Y()(e),E=n.join("\n")}const C=()=>{!function(e,{target:t=document.body}={}){const n=document.createElement("textarea"),o=document.activeElement;n.value=e,n.setAttribute("readonly",""),n.style.contain="strict",n.style.position="absolute",n.style.left="-9999px",n.style.fontSize="12pt";const a=document.getSelection();let r=!1;a.rangeCount>0&&(r=a.getRangeAt(0)),t.append(n),n.select(),n.selectionStart=0,n.selectionEnd=e.length;let l=!1;try{l=document.execCommand("copy")}catch{}n.remove(),r&&(a.removeAllRanges(),a.addRange(r)),o&&o.focus()}(E),d(!0),setTimeout((()=>d(!1)),2e3)};return o.createElement(K,(0,c.Z)({},F,{key:String(p),theme:f,code:E,language:v}),(e=>{let{className:t,style:n,tokens:a,getLineProps:r,getTokenProps:l}=e;return o.createElement("div",{className:ne},h&&o.createElement("div",{style:n,className:ae},h),o.createElement("div",{className:(0,i.Z)(oe,v)},o.createElement("div",{tabIndex:0,className:(0,i.Z)(t,re,"thin-scrollbar",{[le]:h})},o.createElement("div",{className:ce,style:n},a.map(((e,t)=>{1===e.length&&""===e[0].content&&(e[0].content="\n");const n=r({line:e,key:t});return b.includes(t+1)&&(n.className=`${n.className} docusaurus-highlight-code-line`),o.createElement("div",(0,c.Z)({key:t},n),e.map(((e,t)=>o.createElement("span",(0,c.Z)({key:t},l({token:e,key:t}))))))})))),o.createElement("button",{ref:y,type:"button","aria-label":(0,k.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),className:(0,i.Z)(se),onClick:C},s?o.createElement(k.Z,{id:"theme.CodeBlock.copied",description:"The copied button label on code blocks"},"Copied"):o.createElement(k.Z,{id:"theme.CodeBlock.copy",description:"The copy button label on code blocks"},"Copy"))))}))}const pe="enhancedAnchor_WiXH",me=e=>function(t){let{id:n,...a}=t;const{navbar:{hideOnScroll:r}}=(0,u.LU)();return n?o.createElement(e,a,o.createElement("a",{"aria-hidden":"true",tabIndex:-1,className:(0,i.Z)("anchor",{[pe]:!r}),id:n}),a.children,o.createElement("a",{className:"hash-link",href:`#${n}`,title:(0,k.I)({id:"theme.common.headingLinkTitle",message:"Direct link to heading",description:"Title for link to heading"})},"#")):o.createElement(e,a)},he={code:e=>{const{children:t}=e;return(0,o.isValidElement)(t)?t:t.includes("\n")?o.createElement(de,e):o.createElement("code",e)},a:e=>o.createElement(y.Z,e),pre:e=>{var t;const{children:n}=e;return(0,o.isValidElement)(null==n||null==(t=n.props)?void 0:t.children)?null==n?void 0:n.props.children:o.createElement(de,(0,o.isValidElement)(n)?null==n?void 0:n.props:{children:n})},h1:me("h1"),h2:me("h2"),h3:me("h3"),h4:me("h4"),h5:me("h5"),h6:me("h6")};var ye=n(24608),be=n(5977);const fe="docPage_lDyR",ge="docMainContainer_r8cw",ve="docMainContainerEnhanced_SOUu",ke="docSidebarContainer_0YBq",Ee="docSidebarContainerHidden_Qlt2",Ce="collapsedDocSidebar_zZpm",Ne="expandSidebarButtonIcon_cxi8",_e="docItemWrapperEnhanced_aT5H",Te="docItemWrapper_NJLN";function Ze(e){var t;let{currentDocRoute:n,versionMetadata:l,children:c}=e;const{siteConfig:d,isClient:p}=(0,r.default)(),{pluginId:m,permalinkToSidebar:h,docsSidebars:y,version:b}=l,f=h[n.path],v=y[f],[E,C]=(0,o.useState)(!1),[N,_]=(0,o.useState)(!1),T=(0,o.useCallback)((()=>{N&&_(!1),C(!E)}),[N]);return o.createElement(s.Z,{key:p,wrapperClassName:u.kM.wrapper.docPages,pageClassName:u.kM.page.docPage,searchMetadatas:{version:b,tag:(0,u.os)(m,b)}},o.createElement("div",{className:fe},v&&o.createElement("div",{className:(0,i.Z)(ke,{[Ee]:E}),onTransitionEnd:e=>{e.currentTarget.classList.contains(ke)&&E&&_(!0)},role:"complementary"},o.createElement($,{key:f,sidebar:v,path:n.path,sidebarCollapsible:(null==(t=d.themeConfig)?void 0:t.sidebarCollapsible)??!0,onCollapse:T,isHidden:N}),N&&o.createElement("div",{className:Ce,title:(0,k.I)({id:"theme.docs.sidebar.expandButtonTitle",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),"aria-label":(0,k.I)({id:"theme.docs.sidebar.expandButtonAriaLabel",message:"Expand sidebar",description:"The ARIA label and title attribute for expand button of doc sidebar"}),tabIndex:0,role:"button",onKeyDown:T,onClick:T},o.createElement(g,{className:Ne}))),o.createElement("main",{className:(0,i.Z)(ge,{[ve]:E||!v})},o.createElement("div",{className:(0,i.Z)("container padding-vert--lg",Te,{[_e]:E})},o.createElement(a.Zo,{components:he},c)))))}const Oe=function(e){const{route:{routes:t},versionMetadata:n,location:a}=e,r=t.find((e=>(0,be.LX)(a.pathname,e)));return r?o.createElement(Ze,{currentDocRoute:r,versionMetadata:n},(0,l.Z)(t)):o.createElement(ye.default,e)}},24608:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var o=n(67294),a=n(61952),r=n(24973);const l=function(){return o.createElement(a.Z,{title:"Page Not Found"},o.createElement("main",{className:"container margin-vert--xl"},o.createElement("div",{className:"row"},o.createElement("div",{className:"col col--6 col--offset-3"},o.createElement("h1",{className:"hero__title"},o.createElement(r.Z,{id:"theme.NotFound.title",description:"The title of the 404 page"},"Page Not Found")),o.createElement("p",null,o.createElement(r.Z,{id:"theme.NotFound.p1",description:"The first paragraph of the 404 page"},"We could not find what you were looking for.")),o.createElement("p",null,o.createElement(r.Z,{id:"theme.NotFound.p2",description:"The 2nd paragraph of the 404 page"},"Please contact the owner of the site that linked you to the original URL and let them know their link is broken."))))))}},87594:(e,t)=>{function n(e){let t,n=[];for(let o of e.split(",").map((e=>e.trim())))if(/^-?\d+$/.test(o))n.push(parseInt(o,10));else if(t=o.match(/^(-?\d+)(-|\.\.\.?|\u2025|\u2026|\u22EF)(-?\d+)$/)){let[e,o,a,r]=t;if(o&&r){o=parseInt(o),r=parseInt(r);const e=o{n.d(t,{Zo:()=>d,kt:()=>y});var a=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var l=a.createContext({}),p=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},d=function(e){var t=p(e.components);return a.createElement(l.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,s=e.mdxType,r=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),u=p(n),y=s,h=u["".concat(l,".").concat(y)]||u[y]||c[y]||r;return n?a.createElement(h,o(o({ref:t},d),{},{components:n})):a.createElement(h,o({ref:t},d))}));function y(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var r=n.length,o=new Array(r);o[0]=u;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:s,o[1]=i;for(var p=2;p{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>r,metadata:()=>o,toc:()=>i});var a=n(87462),s=(n(67294),n(3905));const r={},o={unversionedId:"guides/spts/notary-business-rulesets",id:"guides/spts/notary-business-rulesets",isDocsHomePage:!1,title:"Notary and Business Rulesets",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/notary-business-rulesets.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/notary-business-rulesets",permalink:"/docs/guides/spts/notary-business-rulesets",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Create/Issue Tokens",permalink:"/docs/guides/spts/create-issue-tokens"},next:{title:"Use Syscoin 4.2 Tokens",permalink:"/docs/guides/spts/use-tokens"}},i=[{value:"Relevant Fields",id:"relevant-fields",children:[{value:"notary_address (string)",id:"notary_address-string",children:[]},{value:"notary_details.endpoint (string)",id:"notary_detailsendpoint-string",children:[]},{value:"notary_details.instant_transfers (boolean)",id:"notary_detailsinstant_transfers-boolean",children:[]},{value:"notary_details.hd_required (boolean)",id:"notary_detailshd_required-boolean",children:[]}]},{value:"How to Enable Notary",id:"how-to-enable-notary",children:[]}],l={toc:i};function p(e){let{components:t,...n}=e;return(0,s.kt)("wrapper",(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,s.kt)("div",{parentName:"div",className:"admonition-heading"},(0,s.kt)("h5",{parentName:"div"},(0,s.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,s.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,s.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,s.kt)("div",{parentName:"div",className:"admonition-content"},(0,s.kt)("p",{parentName:"div"},(0,s.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,s.kt)("br",{parentName:"p"}),"\n","Now ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,s.kt)("p",{parentName:"div"},"Examples are available at ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,s.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,s.kt)("p",null,"You can require that allocations of your asset meet rules you define in order to be notarized and allowed to settle on-chain. With a Notary endpoint, any allocation of the asset must pass the endpoint's checks to be granted a notary signature and be accepted into a block."),(0,s.kt)("p",null,"This general-purpose feature is particularly useful for ensuring asset transactions are compliant with regulations prior to receiving approval. It can also be used to add an optional trust-based security domain for expedited service."),(0,s.kt)("p",null,"You can read more about the design and philosophy behind this capability ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"here"),"."),(0,s.kt)("p",null,"To begin, let's look at an asset notary example; Asset GUID ",(0,s.kt)("inlineCode",{parentName:"p"},"1815902629"),"."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'> syscoin-cli assetinfo 1815902629\n\n{\n "asset_guid": "1815902629",\n "symbol": "FANCY",\n "public_value": {\n "desc": "NFT with auxfees and notary"\n },\n "contract": "",\n "notary_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "notary_details": {\n "endpoint": "https://116.203.116.18:8081/notarize",\n "instant_transfers": 1,\n "hd_required": 0\n },\n "auxfee": {\n "auxfee_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "fee_struct": [\n {\n "bound": 0.00000000,\n "percentage": 0.01\n },\n {\n "bound": 10.00000000,\n "percentage": 0.004\n },\n {\n "bound": 250.00000000,\n "percentage": 0.002\n },\n {\n "bound": 2500.00000000,\n "percentage": 0.0007\n },\n {\n "bound": 25000.00000000,\n "percentage": 6e-05\n },\n {\n "bound": 250000.00000000,\n "percentage": 0\n }\n ]\n },\n "total_supply": 10.00000000,\n "max_supply": 9999.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,s.kt)("h2",{id:"relevant-fields"},"Relevant Fields"),(0,s.kt)("h3",{id:"notary_address-string"},"notary_address (string)"),(0,s.kt)("p",null,"Public key of the endpoint's notary signer. Typically an address chosen by the issuer for which the Notary holds the private key. If specified, the private key associated with this address must sign any transaction of this asset in order for the network to accept it into a block."),(0,s.kt)("h3",{id:"notary_detailsendpoint-string"},"notary_details.endpoint (string)"),(0,s.kt)("p",null,"API endpoint URL."),(0,s.kt)("p",null,"When a client executes ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend"),", an HTTP ",(0,s.kt)("inlineCode",{parentName:"p"},"POST")," is sent to the endpoint specified here and the client awaits a response. Response timeout is 15 seconds."),(0,s.kt)("p",null,"The client's ",(0,s.kt)("inlineCode",{parentName:"p"},"POST")," provides the endpoint a raw transaction hex which the notary then decodes, parses, then logically processes."),(0,s.kt)("p",null,"The endpoint URL can point to any application or script of any language that can receive and process POST requests and provide an appropriate JSON response. The endpoint must return details of a successfully notarized (signed) transaction broadcasted to the network or the client's request is considered failed or rejected."),(0,s.kt)("p",null,"Endpoint programs can interact with Syscoin by making RPC calls directly to a Syscoin Core instance (see ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin-js"},"syscoin-js"),"), or through a Web3 approach by using a combination of ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib")," and ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/blockbook"},"Syscoin Blockbook"),"."),(0,s.kt)("p",null,"A rudimentary example of a notary endpoint script is available ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/notary-endpoint/"},"here"),"."),(0,s.kt)("h3",{id:"notary_detailsinstant_transfers-boolean"},"notary_details.instant_transfers (boolean)"),(0,s.kt)("p",null,"This flag indicates whether the notary is offering a guarantee of extra security in prevention of double spends. Recipients can instantly redeem/spend notarized inputs if they fully trust the notary's security."),(0,s.kt)("p",null,"This security path theoretically can provide payment service even faster than Z-DAG's decentralized relay and is based on an optional trust trade-off."),(0,s.kt)("p",null,"Endpoints can ensure protection against double spends by tracking spend requests of an input and responding to them based on the existence (or lack) of prior spend attempts."),(0,s.kt)("p",null,"If ",(0,s.kt)("inlineCode",{parentName:"p"},"0"),", the notary is not guaranteeing any supplementary security measures and transactors of the asset should rely exclusively upon Z-DAG and/or Syscoin Core consensus."),(0,s.kt)("h3",{id:"notary_detailshd_required-boolean"},"notary_details.hd_required (boolean)"),(0,s.kt)("p",null,"This flag indicates the notary requires HD wallet approval (for sender approval specifically applicable to change address schemes), usually in the form of the account XPUB or verifiable credential of the account XPUB using decentralized identity"),(0,s.kt)("h2",{id:"how-to-enable-notary"},"How to Enable Notary"),(0,s.kt)("p",null,"An issuer can enable Notary on an asset by setting parameters in ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," (upon asset creation), or ",(0,s.kt)("inlineCode",{parentName:"p"},"assetupdate")," (updating the asset spec, if the asset's current ",(0,s.kt)("inlineCode",{parentName:"p"},"update_capabilityflags")," value permits this)."),(0,s.kt)("p",null,"Enable Notary via ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew"),":"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'> syscoin-cli assetnew 100 "ECASH" "Non-custodial KYC/AML-enabled Electronic Cash" "" 8 888000000 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://116.203.116.18:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')),(0,s.kt)("p",null,"Enable Notary via ",(0,s.kt)("inlineCode",{parentName:"p"},"assetupdate"),":"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'> syscoin-cli assetupdate 1020176632 "Non-custodial KYC/AML-enabled Electronic Cash" "" 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://116.203.116.18:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/202fef56.9879cbc4.js b/assets/js/202fef56.9879cbc4.js deleted file mode 100644 index 8d7d7e42..00000000 --- a/assets/js/202fef56.9879cbc4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5921],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>h});var a=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var l=a.createContext({}),p=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},d=function(e){var t=p(e.components);return a.createElement(l.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},y=a.forwardRef((function(e,t){var n=e.components,s=e.mdxType,r=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),c=p(n),y=s,h=c["".concat(l,".").concat(y)]||c[y]||u[y]||r;return n?a.createElement(h,o(o({ref:t},d),{},{components:n})):a.createElement(h,o({ref:t},d))}));function h(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var r=n.length,o=new Array(r);o[0]=y;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[c]="string"==typeof e?e:s,o[1]=i;for(var p=2;p{n.r(t),n.d(t,{default:()=>d,frontMatter:()=>r,metadata:()=>o,toc:()=>i});var a=n(87462),s=(n(67294),n(3905));const r={},o={unversionedId:"guides/spts/notary-business-rulesets",id:"guides/spts/notary-business-rulesets",isDocsHomePage:!1,title:"Notary and Business Rulesets",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/notary-business-rulesets.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/notary-business-rulesets",permalink:"/docs/guides/spts/notary-business-rulesets",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Create/Issue Tokens",permalink:"/docs/guides/spts/create-issue-tokens"},next:{title:"Use Syscoin 4.2 Tokens",permalink:"/docs/guides/spts/use-tokens"}},i=[{value:"Relevant Fields",id:"relevant-fields",children:[{value:"notary_address (string)",id:"notary_address-string",children:[]},{value:"notary_details.endpoint (string)",id:"notary_detailsendpoint-string",children:[]},{value:"notary_details.instant_transfers (boolean)",id:"notary_detailsinstant_transfers-boolean",children:[]},{value:"notary_details.hd_required (boolean)",id:"notary_detailshd_required-boolean",children:[]}]},{value:"How to Enable Notary",id:"how-to-enable-notary",children:[]}],l={toc:i},p="wrapper";function d(e){let{components:t,...n}=e;return(0,s.kt)(p,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,s.kt)("div",{parentName:"div",className:"admonition-heading"},(0,s.kt)("h5",{parentName:"div"},(0,s.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,s.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,s.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,s.kt)("div",{parentName:"div",className:"admonition-content"},(0,s.kt)("p",{parentName:"div"},(0,s.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,s.kt)("br",{parentName:"p"}),"\n","Now ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,s.kt)("p",{parentName:"div"},"Examples are available at ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,s.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,s.kt)("p",null,"You can require that allocations of your asset meet rules you define in order to be notarized and allowed to settle on-chain. With a Notary endpoint, any allocation of the asset must pass the endpoint's checks to be granted a notary signature and be accepted into a block."),(0,s.kt)("p",null,"This general-purpose feature is particularly useful for ensuring asset transactions are compliant with regulations prior to receiving approval. It can also be used to add an optional trust-based security domain for expedited service."),(0,s.kt)("p",null,"You can read more about the design and philosophy behind this capability ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"here"),"."),(0,s.kt)("p",null,"To begin, let's look at an asset notary example; Asset GUID ",(0,s.kt)("inlineCode",{parentName:"p"},"1815902629"),"."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'> syscoin-cli assetinfo 1815902629\n\n{\n "asset_guid": "1815902629",\n "symbol": "FANCY",\n "public_value": {\n "desc": "NFT with auxfees and notary"\n },\n "contract": "",\n "notary_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "notary_details": {\n "endpoint": "https://116.203.116.18:8081/notarize",\n "instant_transfers": 1,\n "hd_required": 0\n },\n "auxfee": {\n "auxfee_address": "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q",\n "fee_struct": [\n {\n "bound": 0.00000000,\n "percentage": 0.01\n },\n {\n "bound": 10.00000000,\n "percentage": 0.004\n },\n {\n "bound": 250.00000000,\n "percentage": 0.002\n },\n {\n "bound": 2500.00000000,\n "percentage": 0.0007\n },\n {\n "bound": 25000.00000000,\n "percentage": 6e-05\n },\n {\n "bound": 250000.00000000,\n "percentage": 0\n }\n ]\n },\n "total_supply": 10.00000000,\n "max_supply": 9999.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,s.kt)("h2",{id:"relevant-fields"},"Relevant Fields"),(0,s.kt)("h3",{id:"notary_address-string"},"notary_address (string)"),(0,s.kt)("p",null,"Public key of the endpoint's notary signer. Typically an address chosen by the issuer for which the Notary holds the private key. If specified, the private key associated with this address must sign any transaction of this asset in order for the network to accept it into a block."),(0,s.kt)("h3",{id:"notary_detailsendpoint-string"},"notary_details.endpoint (string)"),(0,s.kt)("p",null,"API endpoint URL."),(0,s.kt)("p",null,"When a client executes ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend"),", an HTTP ",(0,s.kt)("inlineCode",{parentName:"p"},"POST")," is sent to the endpoint specified here and the client awaits a response. Response timeout is 15 seconds."),(0,s.kt)("p",null,"The client's ",(0,s.kt)("inlineCode",{parentName:"p"},"POST")," provides the endpoint a raw transaction hex which the notary then decodes, parses, then logically processes."),(0,s.kt)("p",null,"The endpoint URL can point to any application or script of any language that can receive and process POST requests and provide an appropriate JSON response. The endpoint must return details of a successfully notarized (signed) transaction broadcasted to the network or the client's request is considered failed or rejected."),(0,s.kt)("p",null,"Endpoint programs can interact with Syscoin by making RPC calls directly to a Syscoin Core instance (see ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin-js"},"syscoin-js"),"), or through a Web3 approach by using a combination of ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib")," and ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/blockbook"},"Syscoin Blockbook"),"."),(0,s.kt)("p",null,"A rudimentary example of a notary endpoint script is available ",(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/notary-endpoint/"},"here"),"."),(0,s.kt)("h3",{id:"notary_detailsinstant_transfers-boolean"},"notary_details.instant_transfers (boolean)"),(0,s.kt)("p",null,"This flag indicates whether the notary is offering a guarantee of extra security in prevention of double spends. Recipients can instantly redeem/spend notarized inputs if they fully trust the notary's security."),(0,s.kt)("p",null,"This security path theoretically can provide payment service even faster than Z-DAG's decentralized relay and is based on an optional trust trade-off."),(0,s.kt)("p",null,"Endpoints can ensure protection against double spends by tracking spend requests of an input and responding to them based on the existence (or lack) of prior spend attempts."),(0,s.kt)("p",null,"If ",(0,s.kt)("inlineCode",{parentName:"p"},"0"),", the notary is not guaranteeing any supplementary security measures and transactors of the asset should rely exclusively upon Z-DAG and/or Syscoin Core consensus."),(0,s.kt)("h3",{id:"notary_detailshd_required-boolean"},"notary_details.hd_required (boolean)"),(0,s.kt)("p",null,"This flag indicates the notary requires HD wallet approval (for sender approval specifically applicable to change address schemes), usually in the form of the account XPUB or verifiable credential of the account XPUB using decentralized identity"),(0,s.kt)("h2",{id:"how-to-enable-notary"},"How to Enable Notary"),(0,s.kt)("p",null,"An issuer can enable Notary on an asset by setting parameters in ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," (upon asset creation), or ",(0,s.kt)("inlineCode",{parentName:"p"},"assetupdate")," (updating the asset spec, if the asset's current ",(0,s.kt)("inlineCode",{parentName:"p"},"update_capabilityflags")," value permits this)."),(0,s.kt)("p",null,"Enable Notary via ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew"),":"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'> syscoin-cli assetnew 100 "ECASH" "Non-custodial KYC/AML-enabled Electronic Cash" "" 8 888000000 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://116.203.116.18:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')),(0,s.kt)("p",null,"Enable Notary via ",(0,s.kt)("inlineCode",{parentName:"p"},"assetupdate"),":"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'> syscoin-cli assetupdate 1020176632 "Non-custodial KYC/AML-enabled Electronic Cash" "" 127 "tsys1qzy52g933vjc66kw9rnwk2mz25rnymv29q0dr8q" "{\\"endpoint\\":\\"https://116.203.116.18:8081/notarize\\", \\"instant_transfers\\": 0, \\"hd_required\\": 1}" {}\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2399.b1cc5e6f.js b/assets/js/2399.b1cc5e6f.js deleted file mode 100644 index 42c4673c..00000000 --- a/assets/js/2399.b1cc5e6f.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 2399.b1cc5e6f.js.LICENSE.txt */ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[2399],{3905:(e,t,n)=>{"use strict";n.d(t,{Zo:()=>c,kt:()=>g});var r=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l=r.createContext({}),u=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=u(e.components);return r.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),p=u(n),f=i,g=p["".concat(l,".").concat(f)]||p[f]||d[f]||a;return n?r.createElement(g,o(o({ref:t},c),{},{components:n})):r.createElement(g,o({ref:t},c))}));function g(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=f;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:i,o[1]=s;for(var u=2;u{"use strict";e.exports=function(e){if(e)throw e}},86010:(e,t,n)=>{"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ti});const i=function(){for(var e,t,n=0,i="";n{"use strict";t.parse=function(e){var t,r=[],a=String(e||i),o=a.indexOf(n),s=0,l=!1;for(;!l;)-1===o&&(o=a.length,l=!0),!(t=a.slice(s,o).trim())&&l||r.push(t),s=o+1,o=a.indexOf(n,s);return r},t.stringify=function(e,t){var a=t||{},o=!1===a.padLeft?i:r,s=a.padRight?r:i;e[e.length-1]===i&&(e=e.concat(i));return e.join(s+n+o).trim()};var n=",",r=" ",i=""},94470:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,p=arguments[0],d=1,f=arguments.length,g=!1;for("boolean"==typeof p&&(g=p,p=arguments[1]||{},d=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});d{"use strict";e.exports=function(e,n){var r,i,a,o=e||"",s=n||"div",l={},u=0;for(;u{"use strict";var r=n(99560),i=n(66632),a=n(78892),o=n(36582).parse,s=n(56851).parse;e.exports=function(e,t,n){var i=n?function(e){var t,n=e.length,r=-1,i={};for(;++r{"use strict";var r=n(97247),i=n(62502)(r,"div");i.displayName="html",e.exports=i},31742:(e,t,n)=>{"use strict";e.exports=n(52579)},18139:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,d=1;function f(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function g(){var e={line:p,column:d};return function(t){return t.position=new m(e),E(),t}}function m(e){this.start=e,this.end={line:p,column:d},this.source=l.source}m.prototype.content=e;var h=[];function b(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n;h.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function E(){y(r)}function v(e){var t;for(e=e||[];t=S();)!1!==t&&e.push(t);return e}function S(){var t=g();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return b("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function k(){var e=g(),n=y(i);if(n){if(S(),!y(a))return b("property missing ':'");var r=y(o),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(s),l}}return E(),function(){var e,t=[];for(v(t);e=k();)!1!==e&&(t.push(e),v(t));return t}()}},46260:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},7961:(e,t,n)=>{"use strict";var r=n(46260),i=n(46195);e.exports=function(e){return r(e)||i(e)}},48738:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},46195:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},86630:(e,t,n)=>{"use strict";var r=n(62854);e.exports=function(e,t){return function(e){return t;function t(t){var n=t&&a(t);return n&&i.call(e,n)?e[n]:null}}(function(e){var t={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return r(e,"definition",n),t;function n(e){var n=a(e.identifier);i.call(t,n)||(t[n]=e)}}(e))};var i={}.hasOwnProperty;function a(e){return e.toUpperCase()}},52524:(e,t,n)=>{"use strict";e.exports=function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);return function(e){var t=e||{},n=function(e,t){var n=-1;for(;++n-1&&(F.call(this,e),U.call(this,e))}function G(){g("atHardBreak",!0)}function H(){var e=this.resume();this.stack[this.stack.length-1].value=e}function z(){var e=this.resume();this.stack[this.stack.length-1].value=e}function $(){var e=this.resume();this.stack[this.stack.length-1].value=e}function j(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function V(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function W(e){this.stack[this.stack.length-2].identifier=o(this.sliceSerialize(e)).toLowerCase()}function K(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,g("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function q(){var e=this.resume();this.stack[this.stack.length-1].url=e}function Y(){var e=this.resume();this.stack[this.stack.length-1].title=e}function X(){g("inReference")}function Z(){g("referenceType","collapsed")}function Q(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=o(this.sliceSerialize(e)).toLowerCase(),g("referenceType","full")}function J(e){g("characterReferenceType",e.type)}function ee(e){var t,n,r=this.sliceSerialize(e),i=m("characterReferenceType");i?(t=s(r,"characterReferenceMarkerNumeric"===i?10:16),g("characterReferenceType")):t=p(r),(n=this.stack.pop()).value+=t,n.position.end=h(e.end)}function te(e){U.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function ne(e){U.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function re(){return{type:"blockquote",children:[]}}function ie(){return{type:"code",lang:null,meta:null,value:""}}function ae(){return{type:"inlineCode",value:""}}function oe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function se(){return{type:"emphasis",children:[]}}function le(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function ce(){return{type:"html",value:""}}function pe(){return{type:"image",title:null,url:"",alt:null}}function de(){return{type:"link",title:null,url:"",children:[]}}function fe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ge(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function he(){return{type:"strong",children:[]}}function be(){return{type:"text",value:""}}function ye(){return{type:"thematicBreak"}}}(n)(c(l(n).document().write(u()(e,t,!0))))};var r=n(4999),i=n(99198),a=n(46706),o=n(35478),s=n(10596),l=n(32976),u=n(30162),c=n(61242),p=n(89435),d=n(75432);function f(e,t){var n,r;for(n in t)r=a.call(e,n)?e[n]:e[n]={},"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,t[n]):Object.assign(r,t[n])}},39671:(e,t,n)=>{"use strict";e.exports=n(52524)},4999:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r{"use strict";var t={};function n(e,r,i){var a,o,s,l,u,c="";for("string"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),u=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&l<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},76734:(e,t,n)=>{"use strict";var r=n(2841)(/[A-Za-z]/);e.exports=r},46712:(e,t,n)=>{"use strict";var r=n(2841)(/[\dA-Za-z]/);e.exports=r},13571:(e,t,n)=>{"use strict";var r=n(2841)(/[#-'*+\--9=?A-Z^-~]/);e.exports=r},89696:e=>{"use strict";e.exports=function(e){return e<32||127===e}},73977:(e,t,n)=>{"use strict";var r=n(2841)(/\d/);e.exports=r},56238:(e,t,n)=>{"use strict";var r=n(2841)(/[\dA-Fa-f]/);e.exports=r},83074:(e,t,n)=>{"use strict";var r=n(2841)(/[!-/:-@[-`{-~]/);e.exports=r},88367:e=>{"use strict";e.exports=function(e){return e<0||32===e}},17238:e=>{"use strict";e.exports=function(e){return e<-2}},73654:e=>{"use strict";e.exports=function(e){return-2===e||-1===e||32===e}},36996:(e,t,n)=>{"use strict";var r=n(76830),i=n(2841)(r);e.exports=i},10395:(e,t,n)=>{"use strict";var r=n(2841)(/\s/);e.exports=r},99198:e=>{"use strict";var t=Object.assign;e.exports=t},93267:e=>{"use strict";var t=String.fromCharCode;e.exports=t},46706:e=>{"use strict";var t={}.hasOwnProperty;e.exports=t},57139:e=>{"use strict";e.exports=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},16871:e=>{"use strict";e.exports=["pre","script","style","textarea"]},21362:e=>{"use strict";var t=[].splice;e.exports=t},76830:e=>{"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},36274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97082),i=n(47542),a=n(1349),o=n(45485),s=n(49653),l=n(36713),u=n(46597),c=n(20431),p=n(60026),d=n(93865),f=n(65694),g=n(596),m=n(76872),h=n(28911),b=n(31294),y=n(36215),E=n(60534),v=n(92607),S=n(46931),k=n(15874),T=n(37039),w={42:S,43:S,45:S,48:S,49:S,50:S,51:S,52:S,53:S,54:S,55:S,56:S,57:S,62:o},A={91:d},R={"-2":c,"-1":c,32:c},C={35:g,42:T,45:[k,T],60:m,61:k,95:T,96:u,126:u},I={38:l,92:s},O={"-5":v,"-4":v,"-3":v,33:y,38:l,42:i,60:[a,h],91:E,92:[f,s],93:b,95:i,96:p},_={null:[i,r.resolver]};t.contentInitial=A,t.disable={null:[]},t.document=w,t.flow=C,t.flowInitial=R,t.insideSpan=_,t.string=I,t.text=O},13745:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928),a=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,n,"linePrefix")}),(function(t){return e.enter("paragraph"),a(t)}));return n;function a(n){var r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,o(n)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):r(t)?(e.consume(t),e.exit("chunkText"),a):(e.consume(t),o)}};t.tokenize=a},14201:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928),a=n(66532),o=function(e){var t,n,i,o=this,u=[],c=0,p={tokenize:function(e,r){var i=0;return t={},c;function c(r){return it;)o.containerState=u[a][1],u[a][0].exit.call(o,e);u.length=t}},s={tokenize:function(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},l={tokenize:function(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=o},22871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64590),i=n(52928),a=n(66532),o=function(e){var t=this,n=e.attempt(a,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,o,i(e,e.attempt(this.parser.constructs.flow,o,e.attempt(r,o)),"linePrefix")));return n;function o(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=o},97082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99198),i=n(75923),a=l("text"),o=l("string"),s={resolveAll:u()};function l(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){var t=r[e],i=-1;if(null===e)return!0;if(t)for(;++i{"use strict";var r=n(13745),i=n(14201),a=n(22871),o=n(97082),s=n(12952),l=n(21388),u=n(28180),c=n(36274);e.exports=function(e){var t={defined:[],constructs:s([c].concat(u((e||{}).extensions))),content:n(r),document:n(i),flow:n(a),string:n(o.string),text:n(o.text)};return t;function n(e){return function(n){return l(t,e,n)}}}},61242:(e,t,n)=>{"use strict";var r=n(84423);e.exports=function(e){for(;!r(e););return e}},30162:e=>{"use strict";var t=/[\0\t\n\r]/g;e.exports=function(){var e,n=!0,r=1,i="";return function(a,o,s){var l,u,c,p,d,f=[];a=i+a.toString(o),c=0,i="",n&&(65279===a.charCodeAt(0)&&c++,n=void 0);for(;c{"use strict";var r=n(78811),i=n(56808),a=n(19444),o=n(15644),s=n(58280),l=n(75923),u={name:"attention",tokenize:function(e,t){var n,r=a(this.previous);return function(t){return e.enter("attentionSequence"),n=t,i(t)};function i(o){var s,l,u,c;return o===n?(e.consume(o),i):(s=e.exit("attentionSequence"),u=!(l=a(o))||2===l&&r,c=!r||2===r&&l,s._open=42===n?u:u&&(r||!c),s._close=42===n?c:c&&(l||!u),t(o))}},resolveAll:function(e,t){var n,a,u,c,p,d,f,g,m=-1;for(;++m1&&e[m][1].end.offset-e[m][1].start.offset>1?2:1)>1?"strongSequence":"emphasisSequence",start:o(l(e[n][1].end),-d),end:l(e[n][1].end)},p={type:d>1?"strongSequence":"emphasisSequence",start:l(e[m][1].start),end:o(l(e[m][1].start),d)},u={type:d>1?"strongText":"emphasisText",start:l(e[n][1].end),end:l(e[m][1].start)},a={type:d>1?"strong":"emphasis",start:l(c.start),end:l(p.end)},e[n][1].end=l(c.start),e[m][1].start=l(p.end),f=[],e[n][1].end.offset-e[n][1].start.offset&&(f=r(f,[["enter",e[n][1],t],["exit",e[n][1],t]])),f=r(f,[["enter",a,t],["enter",c,t],["exit",c,t],["enter",u,t]]),f=r(f,s(t.parser.constructs.insideSpan.null,e.slice(n+1,m),t)),f=r(f,[["exit",u,t],["enter",p,t],["exit",p,t],["exit",a,t]]),e[m][1].end.offset-e[m][1].start.offset?(g=2,f=r(f,[["enter",e[m][1],t],["exit",e[m][1],t]])):g=0,i(e,n-1,m-n+3,f),m=n+f.length-g-2;break}m=-1;for(;++m{"use strict";var r=n(76734),i=n(46712),a=n(13571),o=n(89696),s={name:"autolink",tokenize:function(e,t,n){var s=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(t){return r(t)?(e.consume(t),u):a(t)?d(t):n(t)}function u(e){return 43===e||45===e||46===e||i(e)?c(e):d(e)}function c(t){return 58===t?(e.consume(t),p):(43===t||45===t||46===t||i(t))&&s++<32?(e.consume(t),c):d(t)}function p(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):32===t||60===t||o(t)?n(t):(e.consume(t),p)}function d(t){return 64===t?(e.consume(t),s=0,f):a(t)?(e.consume(t),d):n(t)}function f(e){return i(e)?g(e):n(e)}function g(t){return 46===t?(e.consume(t),s=0,f):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):m(t)}function m(t){return(45===t||i(t))&&s++<63?(e.consume(t),45===t?m:g):n(t)}function h(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=s},45485:(e,t,n)=>{"use strict";var r=n(73654),i=n(52928),a={name:"blockQuote",tokenize:function(e,t,n){var i=this;return function(t){if(62===t)return i.containerState.open||(e.enter("blockQuote",{_container:!0}),i.containerState.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a;return n(t)};function a(n){return r(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return i(e,e.attempt(a,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=a},49653:(e,t,n)=>{"use strict";var r=n(83074),i={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return r(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}};e.exports=i},36713:(e,t,n)=>{"use strict";var r=n(89435),i=n(46712),a=n(73977),o=n(56238);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(r),u={name:"characterReference",tokenize:function(e,t,n){var r,s,u=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),p};function p(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),r=31,s=i,f(t))}function d(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,s=o,f):(e.enter("characterReferenceValue"),r=7,s=a,f(t))}function f(a){var o;return 59===a&&c?(o=e.exit("characterReferenceValue"),s!==i||l.default(u.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)):s(a)&&c++{"use strict";var r=n(17238),i=n(88367),a=n(15096),o=n(52928),s={name:"codeFenced",tokenize:function(e,t,n){var s,l=this,u={tokenize:function(e,t,n){var i=0;return o(e,a,"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}function l(t){return t===s?(e.consume(t),i++,l):i{"use strict";var r=n(17238),i=n(56808),a=n(15096),o=n(52928),s={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(l,i,n);function i(n){return null===n?t(n):r(n)?e.attempt(l,i,t)(n):(e.enter("codeFlowValue"),a(n))}function a(t){return null===t||r(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return i(e,0,0,[["enter",n,t]]),i(e,e.length,0,[["exit",n,t]]),e}},l={tokenize:function(e,t,n){var i=this;return o(e,(function s(l){if(r(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o(e,s,"linePrefix",5);return a(i.events,"linePrefix")<4?n(l):t(l)}),"linePrefix",5)},partial:!0};e.exports=s},60026:(e,t,n)=>{"use strict";var r=n(17238),i={name:"codeText",tokenize:function(e,t,n){var i,a,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),o++,s):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):96===t?(a=e.enter("codeTextSequence"),i=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||r(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),i++,c):i===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(a.type="codeTextData",u(n))}},resolve:function(e){var t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t{"use strict";var r=n(17238),i=n(15096),a=n(84423),o=n(52928),s={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(t)};function i(t){return null===t?a(t):r(t)?e.check(l,o,a)(t):(e.consume(t),i)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),i}},resolve:function(e){return a(e),e},interruptible:!0,lazy:!0},l={tokenize:function(e,t,n){var a=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o(e,s,"linePrefix")};function s(o){return null===o||r(o)?n(o):a.parser.constructs.disable.null.indexOf("codeIndented")>-1||i(a.events,"linePrefix")<4?e.interrupt(a.parser.constructs.flow,n,t)(o):t(o)}},partial:!0};e.exports=s},93865:(e,t,n)=>{"use strict";var r=n(17238),i=n(88367),a=n(35478),o=n(38229),s=n(97154),l=n(52928),u=n(31056),c=n(59283),p={name:"definition",tokenize:function(e,t,n){var i,c=this;return function(t){return e.enter("definition"),s.call(c,e,p,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return i=a(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),u(e,o(e,e.attempt(d,l(e,f,"whitespace"),l(e,f,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function f(a){return null===a||r(a)?(e.exit("definition"),c.parser.defined.indexOf(i)<0&&c.parser.defined.push(i),t(a)):n(a)}}},d={tokenize:function(e,t,n){return function(t){return i(t)?u(e,a)(t):n(t)};function a(t){return 34===t||39===t||40===t?c(e,l(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports=p},38229:(e,t,n)=>{"use strict";var r=n(89696),i=n(88367),a=n(17238);e.exports=function(e,t,n,o,s,l,u,c,p){var d=p||1/0,f=0;return function(t){if(60===t)return e.enter(o),e.enter(s),e.enter(l),e.consume(t),e.exit(l),g;if(r(t)||41===t)return n(t);return e.enter(o),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),b(t)};function g(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(s),e.exit(o),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(c),g(t)):null===t||60===t||a(t)?n(t):(e.consume(t),92===t?h:m)}function h(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function b(a){return 40===a?++f>d?n(a):(e.consume(a),b):41===a?f--?(e.consume(a),b):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(o),t(a)):null===a||i(a)?f?n(a):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(o),t(a)):r(a)?n(a):(e.consume(a),92===a?y:b)}function y(t){return 40===t||41===t||92===t?(e.consume(t),b):b(t)}}},97154:(e,t,n)=>{"use strict";var r=n(17238),i=n(73654);e.exports=function(e,t,n,a,o,s){var l,u=this,c=0;return function(t){return e.enter(a),e.enter(o),e.consume(t),e.exit(o),e.enter(s),p};function p(i){return null===i||91===i||93===i&&!l||94===i&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs||c>999?n(i):93===i?(e.exit(s),e.enter(o),e.consume(i),e.exit(o),e.exit(a),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),d(i))}function d(t){return null===t||91===t||93===t||r(t)||c++>999?(e.exit("chunkString"),p(t)):(e.consume(t),l=l||!i(t),92===t?f:d)}function f(t){return 91===t||92===t||93===t?(e.consume(t),c++,d):d(t)}}},52928:(e,t,n)=>{"use strict";var r=n(73654);e.exports=function(e,t,n,i){var a=i?i-1:1/0,o=0;return function(i){if(r(i))return e.enter(n),s(i);return t(i)};function s(i){return r(i)&&o++{"use strict";var r=n(17238),i=n(52928);e.exports=function(e,t,n,a,o,s){var l;return function(t){return e.enter(a),e.enter(o),e.consume(t),e.exit(o),l=40===t?41:t,u};function u(n){return n===l?(e.enter(o),e.consume(n),e.exit(o),e.exit(a),t):(e.enter(s),c(n))}function c(t){return t===l?(e.exit(s),u(l)):null===t?n(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return t===l||null===t||r(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?d:p)}function d(t){return t===l||92===t?(e.consume(t),p):p(t)}}},31056:(e,t,n)=>{"use strict";var r=n(17238),i=n(73654),a=n(52928);e.exports=function(e,t){var n;return function o(s){if(r(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,o;if(i(s))return a(e,o,n?"linePrefix":"lineSuffix")(s);return t(s)}}},65694:(e,t,n)=>{"use strict";var r=n(17238),i={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),i};function i(i){return r(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):n(i)}}};e.exports=i},596:(e,t,n)=>{"use strict";var r=n(17238),i=n(88367),a=n(73654),o=n(56808),s=n(52928),l={name:"headingAtx",tokenize:function(e,t,n){var o=this,l=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),u(t)};function u(r){return 35===r&&l++<6?(e.consume(r),u):null===r||i(r)?(e.exit("atxHeadingSequence"),o.interrupt?t(r):c(r)):n(r)}function c(n){return 35===n?(e.enter("atxHeadingSequence"),p(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):a(n)?s(e,c,"whitespace")(n):(e.enter("atxHeadingText"),d(n))}function p(t){return 35===t?(e.consume(t),p):(e.exit("atxHeadingSequence"),c(t))}function d(t){return null===t||35===t||i(t)?(e.exit("atxHeadingText"),c(t)):(e.consume(t),d)}},resolve:function(e,t){var n,r,i=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);i-2>a&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4);i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},o(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=l},76872:(e,t,n)=>{"use strict";var r=n(76734),i=n(46712),a=n(17238),o=n(88367),s=n(73654),l=n(93267),u=n(57139),c=n(16871),p=n(66532),d={name:"htmlFlow",tokenize:function(e,t,n){var p,d,g,m,h,b=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),y};function y(i){return 33===i?(e.consume(i),E):47===i?(e.consume(i),k):63===i?(e.consume(i),p=3,b.interrupt?t:z):r(i)?(e.consume(i),g=l(i),d=!0,T):n(i)}function E(i){return 45===i?(e.consume(i),p=2,v):91===i?(e.consume(i),p=5,g="CDATA[",m=0,S):r(i)?(e.consume(i),p=4,b.interrupt?t:z):n(i)}function v(r){return 45===r?(e.consume(r),b.interrupt?t:z):n(r)}function S(r){return r===g.charCodeAt(m++)?(e.consume(r),m===g.length?b.interrupt?t:P:S):n(r)}function k(t){return r(t)?(e.consume(t),g=l(t),T):n(t)}function T(r){return null===r||47===r||62===r||o(r)?47!==r&&d&&c.indexOf(g.toLowerCase())>-1?(p=1,b.interrupt?t(r):P(r)):u.indexOf(g.toLowerCase())>-1?(p=6,47===r?(e.consume(r),w):b.interrupt?t(r):P(r)):(p=7,b.interrupt?n(r):d?R(r):A(r)):45===r||i(r)?(e.consume(r),g+=l(r),T):n(r)}function w(r){return 62===r?(e.consume(r),b.interrupt?t:P):n(r)}function A(t){return s(t)?(e.consume(t),A):L(t)}function R(t){return 47===t?(e.consume(t),L):58===t||95===t||r(t)?(e.consume(t),C):s(t)?(e.consume(t),R):L(t)}function C(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),C):I(t)}function I(t){return 61===t?(e.consume(t),O):s(t)?(e.consume(t),I):R(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),h=t,_):s(t)?(e.consume(t),O):(h=void 0,N(t))}function _(t){return t===h?(e.consume(t),x):null===t||a(t)?n(t):(e.consume(t),_)}function N(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||o(t)?I(t):(e.consume(t),N)}function x(e){return 47===e||62===e||s(e)?R(e):n(e)}function L(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return s(t)?(e.consume(t),D):null===t||a(t)?P(t):n(t)}function P(t){return 45===t&&2===p?(e.consume(t),U):60===t&&1===p?(e.consume(t),B):62===t&&4===p?(e.consume(t),$):63===t&&3===p?(e.consume(t),z):93===t&&5===p?(e.consume(t),H):!a(t)||6!==p&&7!==p?null===t||a(t)?M(t):(e.consume(t),P):e.check(f,$,M)(t)}function M(t){return e.exit("htmlFlowData"),F(t)}function F(t){return null===t?j(t):a(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F):(e.enter("htmlFlowData"),P(t))}function U(t){return 45===t?(e.consume(t),z):P(t)}function B(t){return 47===t?(e.consume(t),g="",G):P(t)}function G(t){return 62===t&&c.indexOf(g.toLowerCase())>-1?(e.consume(t),$):r(t)&&g.length<8?(e.consume(t),g+=l(t),G):P(t)}function H(t){return 93===t?(e.consume(t),z):P(t)}function z(t){return 62===t?(e.consume(t),$):P(t)}function $(t){return null===t||a(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),$)}function j(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},f={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(p,t,n)}},partial:!0};e.exports=d},28911:(e,t,n)=>{"use strict";var r=n(76734),i=n(46712),a=n(17238),o=n(88367),s=n(73654),l=n(52928),u={name:"htmlText",tokenize:function(e,t,n){var u,c,p,d,f=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),g};function g(t){return 33===t?(e.consume(t),m):47===t?(e.consume(t),I):63===t?(e.consume(t),R):r(t)?(e.consume(t),N):n(t)}function m(t){return 45===t?(e.consume(t),h):91===t?(e.consume(t),c="CDATA[",p=0,S):r(t)?(e.consume(t),A):n(t)}function h(t){return 45===t?(e.consume(t),b):n(t)}function b(t){return null===t||62===t?n(t):45===t?(e.consume(t),y):E(t)}function y(e){return null===e||62===e?n(e):E(e)}function E(t){return null===t?n(t):45===t?(e.consume(t),v):a(t)?(d=E,B(t)):(e.consume(t),E)}function v(t){return 45===t?(e.consume(t),H):E(t)}function S(t){return t===c.charCodeAt(p++)?(e.consume(t),p===c.length?k:S):n(t)}function k(t){return null===t?n(t):93===t?(e.consume(t),T):a(t)?(d=k,B(t)):(e.consume(t),k)}function T(t){return 93===t?(e.consume(t),w):k(t)}function w(t){return 62===t?H(t):93===t?(e.consume(t),w):k(t)}function A(t){return null===t||62===t?H(t):a(t)?(d=A,B(t)):(e.consume(t),A)}function R(t){return null===t?n(t):63===t?(e.consume(t),C):a(t)?(d=R,B(t)):(e.consume(t),R)}function C(e){return 62===e?H(e):R(e)}function I(t){return r(t)?(e.consume(t),O):n(t)}function O(t){return 45===t||i(t)?(e.consume(t),O):_(t)}function _(t){return a(t)?(d=_,B(t)):s(t)?(e.consume(t),_):H(t)}function N(t){return 45===t||i(t)?(e.consume(t),N):47===t||62===t||o(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),H):58===t||95===t||r(t)?(e.consume(t),L):a(t)?(d=x,B(t)):s(t)?(e.consume(t),x):H(t)}function L(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),L):D(t)}function D(t){return 61===t?(e.consume(t),P):a(t)?(d=D,B(t)):s(t)?(e.consume(t),D):x(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,M):a(t)?(d=P,B(t)):s(t)?(e.consume(t),P):(e.consume(t),u=void 0,U)}function M(t){return t===u?(e.consume(t),F):null===t?n(t):a(t)?(d=M,B(t)):(e.consume(t),M)}function F(e){return 62===e||47===e||o(e)?x(e):n(e)}function U(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||o(t)?x(t):(e.consume(t),U)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l(e,G,"linePrefix",f.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function G(t){return e.enter("htmlTextData"),d(t)}function H(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=u},31294:(e,t,n)=>{"use strict";var r=n(88367),i=n(78811),a=n(56808),o=n(35478),s=n(58280),l=n(75923),u=n(38229),c=n(97154),p=n(59283),d=n(31056),f={name:"labelEnd",tokenize:function(e,t,n){var r,i,a=this,s=a.events.length;for(;s--;)if(("labelImage"===a.events[s][1].type||"labelLink"===a.events[s][1].type)&&!a.events[s][1]._balanced){r=a.events[s][1];break}return function(t){if(!r)return n(t);return r._inactive?u(t):(i=a.parser.defined.indexOf(o(a.sliceSerialize({start:r.end,end:a.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l)};function l(n){return 40===n?e.attempt(g,t,i?t:u)(n):91===n?e.attempt(m,t,i?e.attempt(h,t,u):u)(n):i?t(n):u(n)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,o,u,c,p,d,f=e.length,g=0;for(;f--;)if(u=e[f][1],c){if("link"===u.type||"labelLink"===u.type&&u._inactive)break;"enter"===e[f][0]&&"labelLink"===u.type&&(u._inactive=!0)}else if(p){if("enter"===e[f][0]&&("labelImage"===u.type||"labelLink"===u.type)&&!u._balanced&&(c=f,"labelLink"!==u.type)){g=2;break}}else"labelEnd"===u.type&&(p=f);return n={type:"labelLink"===e[c][1].type?"link":"image",start:l(e[c][1].start),end:l(e[e.length-1][1].end)},r={type:"label",start:l(e[c][1].start),end:l(e[p][1].end)},o={type:"labelText",start:l(e[c+g+2][1].end),end:l(e[p-2][1].start)},d=i(d=[["enter",n,t],["enter",r,t]],e.slice(c+1,c+g+3)),d=i(d,[["enter",o,t]]),d=i(d,s(t.parser.constructs.insideSpan.null,e.slice(c+g+4,p-3),t)),d=i(d,[["exit",o,t],e[p-2],e[p-1],["exit",r,t]]),d=i(d,e.slice(p+1)),d=i(d,[["exit",n,t]]),a(e,c,e.length,d),e},resolveAll:function(e){var t,n=-1;for(;++n{"use strict";var r={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(31294).resolveAll};e.exports=r},60534:(e,t,n)=>{"use strict";var r={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(31294).resolveAll};e.exports=r},92607:(e,t,n)=>{"use strict";var r=n(52928),i={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r(e,t,"linePrefix")}}};e.exports=i},46931:(e,t,n)=>{"use strict";var r=n(73977),i=n(73654),a=n(15096),o=n(18892),s=n(52928),l=n(66532),u=n(37039),c={name:"list",tokenize:function(e,t,n){var s=this,c=a(s.events,"linePrefix"),d=0;return function(t){var i=s.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!s.containerState.marker||t===s.containerState.marker:r(t)){if(s.containerState.type||(s.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(u,n,g)(t):g(t);if(!s.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return n(t)};function f(t){return r(t)&&++d<10?(e.consume(t),f):(!s.interrupt||d<2)&&(s.containerState.marker?t===s.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),g(t)):n(t)}function g(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||t,e.check(l,s.interrupt?n:m,e.attempt(p,b,h))}function m(e){return s.containerState.initialBlankLine=!0,c++,b(e)}function h(t){return i(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),b):n(t)}function b(n){return s.containerState.size=c+o(s.sliceStream(e.exit("listItemPrefix"))),t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(l,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,s(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){if(r.containerState.furtherBlankLines||!i(n))return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,a(n);return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,e.attempt(d,t,a)(n)}));function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,s(e,e.attempt(c,t,n),"linePrefix",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},p={tokenize:function(e,t,n){var r=this;return s(e,(function(e){return i(e)||!a(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},d={tokenize:function(e,t,n){var r=this;return s(e,(function(e){return a(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=c},66532:(e,t,n)=>{"use strict";var r=n(17238),i=n(52928),a={tokenize:function(e,t,n){return i(e,(function(e){return null===e||r(e)?t(e):n(e)}),"linePrefix")},partial:!0};e.exports=a},15874:(e,t,n)=>{"use strict";var r=n(17238),i=n(75923),a=n(52928),o={name:"setextUnderline",tokenize:function(e,t,n){var i,o,s=this,l=s.events.length;for(;l--;)if("lineEnding"!==s.events[l][1].type&&"linePrefix"!==s.events[l][1].type&&"content"!==s.events[l][1].type){o="paragraph"===s.events[l][1].type;break}return function(t){if(!s.lazy&&(s.interrupt||o))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,u(t);return n(t)};function u(t){return t===i?(e.consume(t),u):(e.exit("setextHeadingLineSequence"),a(e,c,"lineSuffix")(t))}function c(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function(e,t){var n,r,a,o,s=e.length;for(;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(r=s)}else"content"===e[s][1].type&&e.splice(s,1),a||"definition"!==e[s][1].type||(a=s);o={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[a][1].end)):e[n][1]=o;return e.push(["exit",o,t]),e}};e.exports=o},37039:(e,t,n)=>{"use strict";var r=n(17238),i=n(73654),a=n(52928),o={name:"thematicBreak",tokenize:function(e,t,n){var o,s=0;return function(t){return e.enter("thematicBreak"),o=t,l(t)};function l(c){return c===o?(e.enter("thematicBreakSequence"),u(c)):i(c)?a(e,l,"whitespace")(c):s<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===o?(e.consume(t),s++,u):(e.exit("thematicBreakSequence"),l(t))}}};e.exports=o},78811:(e,t,n)=>{"use strict";var r=n(56808);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},56808:(e,t,n)=>{"use strict";var r=n(21362);e.exports=function(e,t,n,i){var a,o=e.length,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,i.length<1e4)(a=Array.from(i)).unshift(t,n),r.apply(e,a);else for(n&&r.apply(e,[t,n]);s{"use strict";var r=n(88367),i=n(36996),a=n(10395);e.exports=function(e){return null===e||r(e)||a(e)?1:i(e)?2:void 0}},12952:(e,t,n)=>{"use strict";var r=n(46706),i=n(56808),a=n(28180);function o(e,t){var n,i,o,l;for(n in t)for(l in i=r.call(e,n)?e[n]:e[n]={},o=t[n])i[l]=s(a(o[l]),r.call(i,l)?i[l]:[])}function s(e,t){for(var n=-1,r=[];++n{"use strict";var r=n(99198),i=n(17238),a=n(78811),o=n(56808),s=n(28180),l=n(58280),u=n(23082),c=n(75923),p=n(12774);e.exports=function(e,t,n){var d=n?c(n):{line:1,column:1,offset:0},f={},g=[],m=[],h=[],b={consume:function(e){i(e)?(d.line++,d.column=1,d.offset+=-3===e?2:1,C()):-1!==e&&(d.column++,d.offset++);d._bufferIndex<0?d._index++:(d._bufferIndex++,d._bufferIndex===m[d._index].length&&(d._bufferIndex=-1,d._index++));y.previous=e},enter:function(e,t){var n=t||{};return n.type=e,n.start=S(),y.events.push(["enter",n,y]),h.push(n),n},exit:function(e){var t=h.pop();return t.end=S(),y.events.push(["exit",t,y]),t},attempt:A((function(e,t){R(e,t.from)})),check:A(w),interrupt:A(w,{interrupt:!0}),lazy:A(w,{lazy:!0})},y={previous:null,events:[],parser:e,sliceStream:v,sliceSerialize:function(e){return u(v(e))},now:S,defineSkip:function(e){f[e.line]=e.column,C()},write:function(e){if(m=a(m,e),k(),null!==m[m.length-1])return[];return R(t,0),y.events=l(g,y.events,y),y.events}},E=t.tokenize.call(y,b);return t.resolveAll&&g.push(t),d._index=0,d._bufferIndex=-1,y;function v(e){return p(m,e)}function S(){return c(d)}function k(){for(var e,t;d._index-1)return m();return e.tokenize.call(t?r({},y,t):y,b,g,m)(n)}}function g(t){return e(u,c),i}function m(e){return c.restore(),++l{"use strict";e.exports=function(e){return null==e?[]:"length"in e?e:[e]}},15644:e=>{"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},35478:e=>{"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},15096:(e,t,n)=>{"use strict";var r=n(18892);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},2841:(e,t,n)=>{"use strict";var r=n(93267);e.exports=function(e){return function(t){return e.test(r(t))}}},58280:e=>{"use strict";e.exports=function(e,t,n){for(var r,i=[],a=-1;++a{"use strict";var r=n(93267);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"\ufffd":r(n)}},23082:(e,t,n)=>{"use strict";var r=n(93267);e.exports=function(e){for(var t,n,i,a=-1,o=[];++a{"use strict";var r=n(99198);e.exports=function(e){return r({},e)}},18892:e=>{"use strict";e.exports=function(e){for(var t=-1,n=0;++t{"use strict";e.exports=function(e,t){var n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;return r===a?n=[e[r].slice(i,o)]:(n=e.slice(r,a),i>-1&&(n[0]=n[0].slice(i)),o>0&&n.push(e[a].slice(0,o))),n}},84423:(e,t,n)=>{"use strict";var r=n(99198),i=n(56808),a=n(75923);function o(e,t){for(var n,r,a,o,s,l,u=e[t][1],c=e[t][2],p=t-1,d=[],f=u._tokenizer||c.parser[u.contentType](u.start),g=f.events,m=[],h={};u;){for(;e[++p][1]!==u;);d.push(p),u._tokenizer||(n=c.sliceStream(u),u.next||n.push(null),r&&f.defineSkip(u.start),u.isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(n),u.isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),r=u,u=u.next}for(u=r,a=g.length;a--;)"enter"===g[a][0]?o=!0:o&&g[a][1].type===g[a-1][1].type&&g[a][1].start.line!==g[a][1].end.line&&(b(g.slice(a+1,s)),u._tokenizer=u.next=void 0,u=u.previous,s=a+1);for(f.events=u._tokenizer=u.next=void 0,b(g.slice(0,s)),a=-1,l=0;++a{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";if((t=t||document.createElement("i")).innerHTML=r,59===(n=t.textContent).charCodeAt(n.length-1)&&"semi"!==e)return!1;return n!==r&&n}},57574:(e,t,n)=>{"use strict";var r=n(37452),i=n(93580),a=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,a,o={};t||(t={});for(a in d)n=t[a],o[a]=null==n?d[a]:n;(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start);return function(e,t){var n,a,o,d,G,H,z,$,j,V,W,K,q,Y,X,Z,Q,J,ee,te=t.additional,ne=t.nonTerminated,re=t.text,ie=t.reference,ae=t.warning,oe=t.textContext,se=t.referenceContext,le=t.warningContext,ue=t.position,ce=t.indent||[],pe=e.length,de=0,fe=-1,ge=ue.column||1,me=ue.line||1,he="",be=[];"string"==typeof te&&(te=te.charCodeAt(0));Z=ye(),$=ae?Ee:p,de--,pe++;for(;++de65535&&(V+=c((H-=65536)>>>10|55296),H=56320|1023&H),H=V+c(H))):Y!==A&&$(L,J)),H?(ve(),Z=ye(),de=ee-1,ge+=ee-q+1,be.push(H),(Q=ye()).offset++,ie&&ie.call(se,H,{start:Z,end:Q},e.slice(q-1,ee)),Z=Q):(d=e.slice(q-1,ee),he+=d,ge+=d.length,de=ee-1)}else 10===G&&(me++,fe++,ge=0),G==G?(he+=c(G),ge++):ve();return be.join("");function ye(){return{line:me,column:ge,offset:de+(ue.offset||0)}}function Ee(e,t){var n=ye();n.column+=t,n.offset+=t,ae.call(le,F[e],n,e)}function ve(){he&&(be.push(he),re&&re.call(oe,he,{start:Z,end:ye()}),he="")}}(e,o)};var u={}.hasOwnProperty,c=String.fromCharCode,p=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f=9,g=10,m=12,h=32,b=38,y=59,E=60,v=61,S=35,k=88,T=120,w=65533,A="named",R="hexadecimal",C="decimal",I={};I[R]=16,I[C]=10;var O={};O[A]=s,O[C]=a,O[R]=o;var _=1,N=2,x=3,L=4,D=5,P=6,M=7,F={};function U(e){return e>=55296&&e<=57343||e>1114111}function B(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}F[_]="Named character references must be terminated by a semicolon",F[N]="Numeric character references must be terminated by a semicolon",F[x]="Named character references cannot be empty",F[L]="Numeric character references cannot be empty",F[D]="Named character references must be known",F[P]="Numeric character references cannot be disallowed",F[M]="Numeric character references cannot be outside the permissible Unicode range"},66367:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:()=>a});var i=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};r(i,"ripple",!1),r(i,"locale","en"),r(i,"autoZIndex",!0),r(i,"zIndex",{modal:1100,overlay:1e3,menu:1e3,tooltip:1100,toast:1200}),r(i,"appendTo",null);Object.freeze({ALIGN_CENTER:"pi pi-align-center",ALIGN_JUSTIFY:"pi pi-align-justify",ALIGN_LEFT:"pi pi-align-left",ALIGN_RIGHT:"pi pi-align-right",AMAZON:"pi pi-amazon",ANDROID:"pi pi-android",ANGLE_DOUBLE_DOWN:"pi pi-angle-double-down",ANGLE_DOUBLE_LEFT:"pi pi-angle-double-left",ANGLE_DOUBLE_RIGHT:"pi pi-angle-double-right",ANGLE_DOUBLE_UP:"pi pi-angle-double-up",ANGLE_DOWN:"pi pi-angle-down",ANGLE_LEFT:"pi pi-angle-left",ANGLE_RIGHT:"pi pi-angle-right",ANGLE_UP:"pi pi-angle-up",APPLE:"pi pi-apple",ARROW_CIRCLE_DOWN:"pi pi-arrow-circle-down",ARROW_CIRCLE_LEFT:"pi pi-arrow-circle-left",ARROW_CIRCLE_RIGHT:"pi pi-arrow-circle-right",ARROW_CIRCLE_UP:"pi pi-arrow-circle-up",ARROW_DOWN:"pi pi-arrow-down",ARROW_LEFT:"pi pi-arrow-left",ARROW_RIGHT:"pi pi-arrow-right",ARROW_UP:"pi pi-arrow-up",BACKWARD:"pi pi-backward",BAN:"pi pi-ban",BARS:"pi pi-bars",BELL:"pi pi-bell",BOOK:"pi pi-book",BOOKMARK:"pi pi-bookmark",BRIEFCASE:"pi pi-briefcase",CALENDAR_MINUS:"pi pi-calendar-minus",CALENDAR_PLUS:"pi pi-calendar-plus",CALENDAR_TIMES:"pi pi-calendar-times",CALENDAR:"pi pi-calendar",CAMERA:"pi pi-camera",CARET_DOWN:"pi pi-caret-down",CARET_LEFT:"pi pi-caret-left",CARET_RIGHT:"pi pi-caret-right",CARET_UP:"pi pi-caret-up",CHART_BAR:"pi pi-chart-bar",CHART_LINE:"pi pi-chart-line",CHECK_CIRCLE:"pi pi-check-circle",CHECK_SQUARE:"pi pi-check-square",CHECK:"pi pi-check",CHEVRON_CIRCLE_DOWN:"pi pi-chevron-circle-down",CHEVRON_CIRCLE_LEFT:"pi pi-chevron-circle-left",CHEVRON_CIRCLE_RIGHT:"pi pi-chevron-circle-right",CHEVRON_CIRCLE_UP:"pi pi-chevron-circle-up",CHEVRON_DOWN:"pi pi-chevron-down",CHEVRON_LEFT:"pi pi-chevron-left",CHEVRON_RIGHT:"pi pi-chevron-right",CHEVRON_UP:"pi pi-chevron-up",CLOCK:"pi pi-clock",CLONE:"pi pi-clone",CLOUD_DOWNLOAD:"pi pi-cloud-download",CLOUD_UPLOAD:"pi pi-cloud-upload",CLOUD:"pi pi-cloud",COG:"pi pi-cog",COMMENT:"pi pi-comment",COMMENTS:"pi pi-comments",COMPASS:"pi pi-compass",COPY:"pi pi-copy",CREDIT_CARD:"pi pi-credit-card",DESKTOP:"pi pi-desktop",DISCORD:"pi pi-discord",DIRECTIONS_ALT:"pi pi-directions-alt",DIRECTIONS:"pi pi-directions",DOLLAR:"pi pi-dollar",DOWNLOAD:"pi pi-download",EJECT:"pi pi-eject",ELLIPSIS_H:"pi pi-ellipsis-h",ELLIPSIS_V:"pi pi-ellipsis-v",ENVELOPE:"pi pi-envelope",EXCLAMATION_CIRCLE:"pi pi-exclamation-circle",EXCLAMATION_TRIANGLE:"pi pi-exclamation-triangle ",EXTERNAL_LINK:"pi pi-external-link",EYE_SLASH:"pi pi-eye-slash",EYE:"pi pi-eye",FACEBOOK:"pi pi-facebook",FAST_BACKWARD:"pi pi-fast-backward",FAST_FORWARD:"pi pi-fast-forward",FILE_EXCEL:"pi pi-file-excel",FILE_O:"pi pi-file-o",FILE_PDF:"pi pi-file-pdf",FILE:"pi pi-file",FILTER:"pi pi-filter",FILTER_SLASH:"pi pi-filter-slash",FLAG:"pi pi-flag",FOLDER_OPEN:"pi pi-folder-open",FOLDER:"pi pi-folder",FORWARD:"pi pi-forward",GITHUB:"pi pi-github",GLOBE:"pi pi-globe",GOOGLE:"pi pi-google",HEART:"pi pi-heart",HOME:"pi pi-home",ID_CARD:"pi pi-id-card",IMAGE:"pi pi-image",IMAGES:"pi pi-images",INBOX:"pi pi-inbox",INFO_CIRCLE:"pi pi-info-circle",INFO:"pi pi-info",KEY:"pi pi-key",LINK:"pi pi-link",LIST:"pi pi-list",LOCK_OPEN:"pi pi-lock-open",LOCK:"pi pi-lock",MAP:"pi pi-map",MAP_MARKER:"pi pi-map-marker",MICROSOFT:"pi pi-microsoft",MINUS_CIRCLE:"pi pi-minus-circle",MINUS:"pi pi-minus",MOBILE:"pi pi-mobile",MONEY_BILL:"pi pi-money-bill",MOON:"pi pi-moon",PALETTE:"pi pi-palette",PAPERCLIP:"pi pi-paperclip",PAUSE:"pi pi-pause",PAYPAL:"pi pi-paypal",PENCIL:"pi pi-pencil",PERCENTAGE:"pi pi-percentage",PHONE:"pi pi-phone",PLAY:"pi pi-play",PLUS_CIRCLE:"pi pi-plus-circle",PLUS:"pi pi-plus",POWER_OFF:"pi pi-power-off",PRINT:"pi pi-print",QUESTION_CIRCLE:"pi pi-question-circle",QUESTION:"pi pi-question",RADIO_OFF:"pi pi-radio-off",RADIO_ON:"pi pi-radio-on",REFRESH:"pi pi-refresh",REPLAY:"pi pi-replay",REPLY:"pi pi-reply",SAVE:"pi pi-save",SEARCH_MINUS:"pi pi-search-minus",SEARCH_PLUS:"pi pi-search-plus",SEARCH:"pi pi-search",SEND:"pi pi-send",SHARE_ALT:"pi pi-share-alt",SHIELD:"pi pi-shield",SHOPPING_CART:"pi pi-shopping-cart",SIGN_IN:"pi pi-sign-in",SIGN_OUT:"pi pi-sign-out",SITEMAP:"pi pi-sitemap",SLACK:"pi pi-slack",SLIDERS_H:"pi pi-sliders-h",SLIDERS_V:"pi pi-sliders-v",SORT_ALPHA_ALT_DOWN:"pi pi-sort-alpha-alt-down",SORT_ALPHA_ALT_UP:"pi pi-sort-alpha-alt-up",SORT_ALPHA_DOWN:"pi pi-sort-alpha-down",SORT_ALPHA_UP:"pi pi-sort-alpha-up",SORT_ALT:"pi pi-sort-alt",SORT_AMOUNT_DOWN_ALT:"pi pi-sort-amount-down-alt",SORT_AMOUNT_DOWN:"pi pi-sort-amount-down",SORT_AMOUNT_UP_ALT:"pi pi-sort-amount-up-alt",SORT_AMOUNT_UP:"pi pi-sort-amount-up",SORT_DOWN:"pi pi-sort-down",SORT_NUMERIC_ALT_DOWN:"pi pi-sort-numeric-alt-down",SORT_NUMERIC_ALT_UP:"pi pi-sort-numeric-alt-up",SORT_NUMERIC_DOWN:"pi pi-sort-numeric-down",SORT_NUMERIC_UP:"pi pi-sort-numeric-up",SORT_UP:"pi pi-sort-up",SORT:"pi pi-sort",SPINNER:"pi pi-spinner",STAR_O:"pi pi-star-o",STAR:"pi pi-star",STEP_BACKWARD_ALT:"pi pi-step-backward-alt",STEP_BACKWARD:"pi pi-step-backward",STEP_FORWARD_ALT:"pi pi-step-forward-alt",STEP_FORWARD:"pi pi-step-forward",SUN:"pi pi-sun",TABLE:"pi pi-table",TABLET:"pi pi-tablet",TAG:"pi pi-tag",TAGS:"pi pi-tags",TH_LARGE:"pi pi-th-large",THUMBS_DOWN:"pi pi-thumbs-down",THUMBS_UP:"pi pi-thumbs-up",TICKET:"pi pi-ticket",TIMES_CIRCLE:"pi pi-times-circle",TIMES:"pi pi-times",TRASH:"pi pi-trash",TWITTER:"pi pi-twitter",UNDO:"pi pi-undo",UNLOCK:"pi pi-unlock",UPLOAD:"pi pi-upload",USER_EDIT:"pi pi-user-edit",USER_MINUS:"pi pi-user-minus",USER_PLUS:"pi pi-user-plus",USER:"pi pi-user",USERS:"pi pi-users",VIDEO:"pi pi-video",VIMEO:"pi pi-vimeo",VOLUME_DOWN:"pi pi-volume-down",VOLUME_OFF:"pi pi-volume-off",VOLUME_UP:"pi pi-volume-up",YOUTUBE:"pi pi-youtube",WALLET:"pi pi-wallet",WIFI:"pi pi-wifi",WINDOW_MAXIMIZE:"pi pi-window-maximize",WINDOW_MINIMIZE:"pi pi-window-minimize"}),Object.freeze({SUCCESS:"success",INFO:"info",WARN:"warn",ERROR:"error"});const a=i},99403:(e,t,n)=>{"use strict";var r=n(67294),i=n(63746);function a(){return a=Object.assign||function(e){for(var t=1;t{"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=o(e);if(t){var i=o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return a(this,n)}}var l,u,c,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}(n,e);var t=s(n);function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t.apply(this,arguments)}return n}(n(67294).Component);c={columnKey:null,field:null,sortField:null,filterField:null,header:null,body:null,loadingBody:null,footer:null,sortable:!1,sortableDisabled:!1,sortFunction:null,filter:!1,filterMatchMode:"startsWith",filterPlaceholder:null,filterType:"text",filterMaxLength:null,filterElement:null,filterFunction:null,filterHeaderStyle:null,filterHeaderClassName:null,style:null,className:null,headerStyle:null,headerClassName:null,bodyStyle:null,bodyClassName:null,footerStyle:null,footerClassName:null,expander:!1,frozen:!1,selectionMode:null,colSpan:null,rowSpan:null,editor:null,editorValidator:null,editorValidatorEvent:"click",onBeforeEditorHide:null,onBeforeEditorShow:null,onEditorInit:null,onEditorSubmit:null,onEditorCancel:null,excludeGlobalFilter:!1,rowReorder:!1,rowReorderIcon:"pi pi-bars",rowEditor:!1,exportable:!0,reorderable:!0},(u="defaultProps")in(l=p)?Object.defineProperty(l,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[u]=c},63746:(e,t,n)=>{"use strict";n.d(t,{Kv:()=>ce,Vr:()=>D,p7:()=>L,lD:()=>U,Fr:()=>Z,gb:()=>P,F0:()=>oe,h_:()=>J,HW:()=>X,P9:()=>$,AK:()=>C,IE:()=>re});var r=n(66367),i=n(67294),a=n(73935),o=n(87462),s=n(63366),l=n(51721);function u(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const c=!1,p=i.createContext(null);var d=function(e){return e.scrollTop},f="unmounted",g="exited",m="entering",h="entered",b="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i=g,r.appearStatus=m):i=h:i=t.unmountOnExit||t.mountOnEnter?f:g,r.state={status:i},r.nextCallback=null,r}(0,l.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:g}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==h&&(t=m):n!==m&&n!==h||(t=b)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===m){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&d(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],o=i[0],s=i[1],l=this.getTimeouts(),u=r?l.appear:l.enter;!e&&!n||c?this.safeSetState({status:h},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,s),this.safeSetState({status:m},(function(){t.props.onEntering(o,s),t.onTransitionEnd(u,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(o,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:b},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:g},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:g},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,s.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(p.Provider,{value:null},"function"==typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function E(){}y.contextType=p,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},y.UNMOUNTED=f,y.EXITED=g,y.ENTERING=m,y.ENTERED=h,y.EXITING=b;const v=y;var S=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=u(n.className,r):n.setAttribute("class",u(n.className&&n.className.baseVal||"",r)));var n,r}))},k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nd.height?((n=u.top+c-a)<0&&(n=c),e.style.transformOrigin="bottom"):(n=s+u.top+c,e.style.transformOrigin="top"),r=u.left+l+o>d.width?Math.max(0,u.left+p+l-o):u.left+p,e.style.top=n+"px",e.style.left=r+"px"}}},{key:"relativePosition",value:function(e,t){if(e){var n,r,i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),a=t.offsetHeight,o=t.getBoundingClientRect(),s=this.getViewport();o.top+a+i.height>s.height?(n=-1*i.height,o.top+n<0&&(n=-1*o.top),e.style.transformOrigin="bottom"):(n=a,e.style.transformOrigin="top"),r=i.width>s.width?-1*o.left:o.left+i.width>s.width?-1*(o.left+i.width-s.width):0,e.style.top=n+"px",e.style.left=r+"px"}}},{key:"flipfitCollision",value:function(t,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left top",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left bottom",o=arguments.length>4?arguments[4]:void 0,s=n.getBoundingClientRect(),l=this.getViewport(),u=i.split(" "),c=a.split(" "),p=function(e,t){return t?+e.substring(e.search(/(\+|-)/g))||0:e.substring(0,e.search(/(\+|-)/g))||e},d={my:{x:p(u[0]),y:p(u[1]||u[0]),offsetX:p(u[0],!0),offsetY:p(u[1]||u[0],!0)},at:{x:p(c[0]),y:p(c[1]||c[0]),offsetX:p(c[0],!0),offsetY:p(c[1]||c[0],!0)}},f=function(){return d.my.offsetX+d.at.offsetX+s.left+("left"===d.my.x?0:-1*("center"===d.my.x?r.getOuterWidth(t)/2:r.getOuterWidth(t)))},g=function(){return d.my.offsetY+d.at.offsetY+s.top+("top"===d.my.y?0:-1*("center"===d.my.y?r.getOuterHeight(t)/2:r.getOuterHeight(t)))},m={count:{x:0,y:0},left:function(){var n=f(),r=e.getWindowScrollLeft();t.style.left=n+r+"px",2===this.count.x?(t.style.left=r+"px",this.count.x=0):n<0&&(this.count.x++,d.my.x="left",d.at.x="right",d.my.offsetX*=-1,d.at.offsetX*=-1,this.right())},right:function(){var r=f()+e.getOuterWidth(n),i=e.getWindowScrollLeft();t.style.left=r+i+"px",2===this.count.x?(t.style.left=l.width-e.getOuterWidth(t)+i+"px",this.count.x=0):r+e.getOuterWidth(t)>l.width&&(this.count.x++,d.my.x="right",d.at.x="left",d.my.offsetX*=-1,d.at.offsetX*=-1,this.left())},top:function(){var n=g(),r=e.getWindowScrollTop();t.style.top=n+r+"px",2===this.count.y?(t.style.left=r+"px",this.count.y=0):n<0&&(this.count.y++,d.my.y="top",d.at.y="bottom",d.my.offsetY*=-1,d.at.offsetY*=-1,this.bottom())},bottom:function(){var r=g()+e.getOuterHeight(n),i=e.getWindowScrollTop();t.style.top=r+i+"px",2===this.count.y?(t.style.left=l.height-e.getOuterHeight(t)+i+"px",this.count.y=0):r+e.getOuterHeight(n)>l.height&&(this.count.y++,d.my.y="bottom",d.at.y="top",d.my.offsetY*=-1,d.at.offsetY*=-1,this.top())},center:function(r){if("y"===r){var i=g()+e.getOuterHeight(n)/2;t.style.top=i+e.getWindowScrollTop()+"px",i<0?this.bottom():i+e.getOuterHeight(n)>l.height&&this.top()}else{var a=f()+e.getOuterWidth(n)/2;t.style.left=a+e.getWindowScrollLeft()+"px",a<0?this.left():a+e.getOuterWidth(t)>l.width&&this.right()}}};m[d.at.x]("x"),m[d.at.y]("y"),this.isFunction(o)&&o(d)}},{key:"findCollisionPosition",value:function(e){if(e){var t="left"===e?"right":"left";return"top"===e||"bottom"===e?{axis:"y",my:"center ".concat("top"===e?"bottom":"top"),at:"center ".concat(e)}:{axis:"x",my:"".concat(t," center"),at:"".concat(e," center")}}}},{key:"getParents",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===e.parentNode?t:this.getParents(e.parentNode,t.concat([e.parentNode]))}},{key:"getScrollableParents",value:function(e){var t=[];if(e){var n,r=this.getParents(e),i=/(auto|scroll)/,a=function(e){var t=window.getComputedStyle(e,null);return i.test(t.getPropertyValue("overflow"))||i.test(t.getPropertyValue("overflowX"))||i.test(t.getPropertyValue("overflowY"))},o=N(r);try{for(o.s();!(n=o.n()).done;){var s=n.value,l=1===s.nodeType&&s.dataset.scrollselectors;if(l){var u,c=N(l.split(","));try{for(c.s();!(u=c.n()).done;){var p=u.value,d=this.findSingle(s,p);d&&a(d)&&t.push(d)}}catch(f){c.e(f)}finally{c.f()}}9!==s.nodeType&&a(s)&&t.push(s)}}catch(f){o.e(f)}finally{o.f()}}return t}},{key:"getHiddenElementOuterHeight",value:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetHeight;return e.style.display="",e.style.visibility="",t}return 0}},{key:"getHiddenElementOuterWidth",value:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetWidth;return e.style.display="",e.style.visibility="",t}return 0}},{key:"getHiddenElementDimensions",value:function(e){var t={};return e&&(e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="",e.style.visibility=""),t}},{key:"fadeIn",value:function(e,t){if(e){e.style.opacity=0;var n=+new Date,r=0;!function i(){r=+e.style.opacity+((new Date).getTime()-n)/t,e.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(i)||setTimeout(i,16))}()}}},{key:"fadeOut",value:function(e,t){if(e)var n=1,r=50/t,i=setInterval((function(){(n-=r)<=0&&(n=0,clearInterval(i)),e.style.opacity=n}),50)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(e){return!!(e&&e.constructor&&e.call&&e.apply)}},{key:"appendChild",value:function(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw new Error("Cannot append "+t+" to "+e);t.el.nativeElement.appendChild(e)}}},{key:"removeChild",value:function(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw new Error("Cannot remove "+e+" from "+t);t.el.nativeElement.removeChild(e)}}},{key:"isElement",value:function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":R(HTMLElement))?e instanceof HTMLElement:e&&"object"===R(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}},{key:"scrollInView",value:function(e,t){var n=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,i=getComputedStyle(e).getPropertyValue("paddingTop"),a=i?parseFloat(i):0,o=e.getBoundingClientRect(),s=t.getBoundingClientRect().top+document.body.scrollTop-(o.top+document.body.scrollTop)-r-a,l=e.scrollTop,u=e.clientHeight,c=this.getOuterHeight(t);s<0?e.scrollTop=l+s:s+c>u&&(e.scrollTop=l+s-u+c)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(e){}}},{key:"calculateScrollbarWidth",value:function(e){if(e){var t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var n=document.createElement("div");n.className="p-scrollbar-measure",document.body.appendChild(n);var r=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=r,r}},{key:"getBrowser",value:function(){if(!this.browser){var e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ ]([\w.]+)/.exec(e)||/(webkit)[ ]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}},{key:"isVisible",value:function(e){return e&&null!=e.offsetParent}},{key:"getFocusableElements",value:function(t){var n,r=[],i=N(e.find(t,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'));try{for(i.s();!(n=i.n()).done;){var a=n.value;"none"!==getComputedStyle(a).display&&"hidden"!==getComputedStyle(a).visibility&&r.push(a)}}catch(o){i.e(o)}finally{i.f()}return r}},{key:"getFirstFocusableElement",value:function(t){var n=e.getFocusableElements(t);return n.length>0?n[0]:null}},{key:"getLastFocusableElement",value:function(t){var n=e.getFocusableElements(t);return n.length>0?n[n.length-1]:null}},{key:"getCursorOffset",value:function(e,t,n,r){if(e){var i=getComputedStyle(e),a=document.createElement("div");a.style.position="absolute",a.style.top="0px",a.style.left="0px",a.style.visibility="hidden",a.style.pointerEvents="none",a.style.overflow=i.overflow,a.style.width=i.width,a.style.height=i.height,a.style.padding=i.padding,a.style.border=i.border,a.style.overflowWrap=i.overflowWrap,a.style.whiteSpace=i.whiteSpace,a.style.lineHeight=i.lineHeight,a.innerHTML=t.replace(/\r\n|\r|\n/g,"
");var o=document.createElement("span");o.textContent=r,a.appendChild(o);var s=document.createTextNode(n);a.appendChild(s),document.body.appendChild(a);var l=o.offsetLeft,u=o.offsetTop,c=o.clientHeight;return document.body.removeChild(a),{left:Math.abs(l-e.scrollLeft),top:Math.abs(u-e.scrollTop)+c}}return{top:"auto",left:"auto"}}}]),e}(),D=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};I(this,e),this.element=t,this.listener=n}return _(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=L.getScrollableParents(this.element);for(var e=0;e=e.length)for(r=n-e.length;1+r--;)e.push(void 0);e.splice(n,0,e.splice(t,1)[0])}}},{key:"findIndexInList",value:function(e,t,n){var r=this;return t?n?t.findIndex((function(t){return r.equals(t,e,n)})):t.findIndex((function(t){return t===e})):-1}},{key:"getJSXElement",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r-1&&(e=e.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),e}},{key:"isEmpty",value:function(e){return null==e||""===e||Array.isArray(e)&&0===e.length||"object"===R(e)&&0===Object.keys(e).length}},{key:"isNotEmpty",value:function(e){return!this.isEmpty(e)}}]),e}();function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt.getTime():e>parseFloat(t))}},{key:"gte",value:function(e,t,n){return!!(null==t||t.trim&&0===t.trim().length)||null!=e&&(e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=parseFloat(t))}}]),e}();function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G,H,z,$=(G=[],H=function(e){return r.ZP.zIndex[e]||999},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(G||[]).reverse().find((function(t){return!!r.ZP.autoZIndex||t.key===e}))||{key:e,value:t}},{get:function(e){return e&&parseInt(e.style.zIndex,10)||0},set:function(e,t,n){t&&(t.style.zIndex=String(function(e,t){t=t||H(e);var n=z(e,t),r=n.value+(n.key===e?0:t)+1;return G.push({key:e,value:r}),r}(e,n)))},clear:function(e){var t;e&&(t=$.get(e),G=G.filter((function(e){return e.value!==t})),e.style.zIndex="")},getBase:function(e){return H(e)},getCurrent:function(e){return function(e){return z(e).value}(e)}});function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}function W(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}function K(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?j(e):t}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},q(e)}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var i=q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return K(this,n)}}var X=function(e){W(n,e);var t=Y(n);function n(e){var r;return I(this,n),(r=t.call(this,e)).onMouseDown=r.onMouseDown.bind(j(r)),r}return _(n,[{key:"getTarget",value:function(){return this.ink&&this.ink.parentElement}},{key:"bindEvents",value:function(){this.target&&this.target.addEventListener("mousedown",this.onMouseDown)}},{key:"unbindEvents",value:function(){this.target&&this.target.removeEventListener("mousedown",this.onMouseDown)}},{key:"onMouseDown",value:function(e){if(this.ink&&"none"!==getComputedStyle(this.ink,null).display){if(L.removeClass(this.ink,"p-ink-active"),!L.getHeight(this.ink)&&!L.getWidth(this.ink)){var t=Math.max(L.getOuterWidth(this.target),L.getOuterHeight(this.target));this.ink.style.height=t+"px",this.ink.style.width=t+"px"}var n=L.getOffset(this.target),r=e.pageX-n.left+document.body.scrollTop-L.getWidth(this.ink)/2,i=e.pageY-n.top+document.body.scrollLeft-L.getHeight(this.ink)/2;this.ink.style.top=i+"px",this.ink.style.left=r+"px",L.addClass(this.ink,"p-ink-active")}}},{key:"onAnimationEnd",value:function(e){L.removeClass(e.currentTarget,"p-ink-active")}},{key:"componentDidMount",value:function(){this.ink&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentDidUpdate",value:function(){this.ink&&!this.target&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentWillUnmount",value:function(){this.ink&&(this.target=null,this.unbindEvents())}},{key:"render",value:function(){var e=this;return r.ZP.ripple&&i.createElement("span",{ref:function(t){return e.ink=t},className:"p-ink",onAnimationEnd:this.onAnimationEnd})}}]),n}(i.Component),Z=function(){function e(){I(this,e)}return _(e,null,[{key:"isNavKeyPress",value:function(t){var n=t.keyCode;return(n=L.getBrowser().safari&&e.SAFARI_KEYS[n]||n)>=33&&n<=40||n===e.KEYS.RETURN||n===e.KEYS.TAB||n===e.KEYS.ESC}},{key:"isSpecialKey",value:function(e){var t=e.keyCode;return 9===t||13===t||27===t||16===t||17===t||t>=18&&t<=20||L.getBrowser().opera&&!e.shiftKey&&(8===t||t>=33&&t<=35||t>=36&&t<=39||t>=44&&t<=45)}},{key:"getKey",value:function(t){var n=t.keyCode||t.charCode;return L.getBrowser().safari&&e.SAFARI_KEYS[n]||n}},{key:"getCharCode",value:function(e){return e.charCode||e.keyCode||e.which}},{key:"onKeyPress",value:function(t,n,r){if(!r){var i=e.DEFAULT_MASKS[n]?e.DEFAULT_MASKS[n]:n,a=L.getBrowser();if(!t.ctrlKey&&!t.altKey){var o=this.getKey(t);if(!a.mozilla||!(this.isNavKeyPress(t)||o===e.KEYS.BACKSPACE||o===e.KEYS.DELETE&&0===t.charCode)){var s=this.getCharCode(t),l=String.fromCharCode(s);(!a.mozilla||!this.isSpecialKey(t)&&l)&&(i.test(l)||t.preventDefault())}}}}},{key:"validate",value:function(e,t){var n=e.target.value,r=!0;return n&&!t.test(n)&&(r=!1),r}}]),e}();function Q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var i=q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return K(this,n)}}B(Z,"DEFAULT_MASKS",{pint:/[\d]/,int:/[\d\-]/,pnum:/[\d\.]/,money:/[\d\.\s,]/,num:/[\d\-\.]/,hex:/[0-9a-f]/i,email:/[a-z0-9_\.\-@]/i,alpha:/[a-z_]/i,alphanum:/[a-z0-9_]/i}),B(Z,"KEYS",{TAB:9,RETURN:13,ESC:27,BACKSPACE:8,DELETE:46}),B(Z,"SAFARI_KEYS",{63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35});var J=function(e){W(n,e);var t=Q(n);function n(e){var r;return I(this,n),(r=t.call(this,e)).state={mounted:e.visible},r}return _(n,[{key:"hasDOM",value:function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},{key:"componentDidMount",value:function(){this.hasDOM()&&!this.state.mounted&&this.setState({mounted:!0},this.props.onMounted)}},{key:"componentWillUnmount",value:function(){this.props.onUnmounted&&this.props.onUnmounted()}},{key:"render",value:function(){if(this.props.element&&this.state.mounted){var e=this.props.appendTo||r.ZP.appendTo||document.body;return"self"===e?this.props.element:a.createPortal(this.props.element,e)}return null}}]),n}(i.Component);function ee(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var i=q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return K(this,n)}}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;ta.width?(this.containerEl.style.left="0px",this.containerEl.style.right=window.innerWidth-a.width-r+"px"):(this.containerEl.style.right="",this.containerEl.style.left=r+"px"),this.containerEl.style.top=i+"px",L.addClass(this.containerEl,"p-tooltip-active")}else{var u=L.findCollisionPosition(this.state.position),c=this.getTargetOption(e,"my")||this.props.my||u.my,p=this.getTargetOption(e,"at")||this.props.at||u.at;this.containerEl.style.padding="0px",L.flipfitCollision(this.containerEl,e,c,p,(function(e){var t=e.at,r=t.x,i=t.y,a=e.my.x,o=n.props.at?"center"!==r&&r!==a?r:i:e.at["".concat(u.axis)];n.containerEl.style.padding="",n.setState({position:o},(function(){n.updateContainerPosition(),L.addClass(n.containerEl,"p-tooltip-active")}))}))}}},{key:"updateContainerPosition",value:function(){if(this.containerEl){var e=getComputedStyle(this.containerEl);"left"===this.state.position?this.containerEl.style.left=parseFloat(e.left)-2*parseFloat(e.paddingLeft)+"px":"top"===this.state.position&&(this.containerEl.style.top=parseFloat(e.top)-2*parseFloat(e.paddingTop)+"px")}}},{key:"onMouseEnter",value:function(){this.isAutoHide()||(this.allowHide=!1)}},{key:"onMouseLeave",value:function(e){this.isAutoHide()||(this.allowHide=!0,this.hide(e))}},{key:"bindDocumentResizeListener",value:function(){var e=this;this.documentResizeListener=function(t){L.isAndroid()||e.hide(t)},window.addEventListener("resize",this.documentResizeListener)}},{key:"unbindDocumentResizeListener",value:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},{key:"bindScrollListener",value:function(){var e=this;this.scrollHandler||(this.scrollHandler=new D(this.currentTarget,(function(t){e.state.visible&&e.hide(t)}))),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"bindTargetEvent",value:function(e){if(e){var t=this.getEvents(e),n=t.showEvent,r=t.hideEvent;e.addEventListener(n,this.show),e.addEventListener(r,this.hide)}}},{key:"unbindTargetEvent",value:function(e){if(e){var t=this.getEvents(e),n=t.showEvent,r=t.hideEvent;e.removeEventListener(n,this.show),e.removeEventListener(r,this.hide)}}},{key:"applyDelay",value:function(e,t){this.clearTimeouts();var n=this.getTargetOption(this.currentTarget,e.toLowerCase())||this.props[e];n?this["".concat(e,"Timeout")]=setTimeout((function(){return t()}),n):t()}},{key:"sendCallback",value:function(e){if(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r>>0,1)},emit:function(e,t){var n=ae.get(e);n&&n.slice().forEach((function(e){return e(t)}))}});function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t{"use strict";var r=n(67294),i=n(63746);function a(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"auto",r=this.isBoth(),i=this.isHorizontal(),a=this.state.first,o=this.props.itemSize,s=this.getContentPadding(),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e<=t.state.numToleratedItems?0:e},u=function(e,t,n){return e*t+n},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.scrollTo({left:e,top:r,behavior:n})};if(r){var p={rows:l(e[0]),cols:l(e[1])};(p.rows!==a.rows||p.cols!==a.cols)&&c(u(p.cols,o[1],s.left),u(p.rows,o[0],s.top))}else{var d=l(e);d!==a&&(i?c(u(d,o,s.left),0):c(0,u(d,o,s.top)))}}},{key:"scrollInView",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";if(t){var i=this.isBoth(),a=this.isHorizontal(),o=this.getRenderedRange(),s=o.first,l=o.viewport,u=this.props.itemSize,c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.scrollTo({left:e,top:t,behavior:r})},p="to-end"===t;if("to-start"===t){if(i)l.first.rows-s.rows>e[0]?c(l.first.cols*u,(l.first.rows-1)*u):l.first.cols-s.cols>e[1]&&c((l.first.cols-1)*u,l.first.rows*u);else if(l.first-s>e){var d=(l.first-1)*u;a?c(d,0):c(0,d)}}else if(p)if(i)l.last.rows-s.rows<=e[0]+1?c(l.first.cols*u,(l.first.rows+1)*u):l.last.cols-s.cols<=e[1]+1&&c((l.first.cols+1)*u,l.first.rows*u);else if(l.last-s<=e+1){var f=(l.first+1)*u;a?c(f,0):c(0,f)}}else this.scrollToIndex(e,r)}},{key:"getRenderedRange",value:function(){var e=this.isBoth(),t=this.isHorizontal(),n=this.state,r=n.first,i=n.last,a=n.numItemsInViewport,o=this.props.itemSize,s=function(e,t){return Math.floor(e/(t||e))},l=r,u=0;if(this.element){var c=this.element.scrollTop,p=this.element.scrollLeft;u=e?{rows:(l={rows:s(c,o[0]),cols:s(p,o[1])}).rows+a.rows,cols:l.cols+a.cols}:(l=s(t?p:c,o))+a}return{first:r,last:i,viewport:{first:l,last:u}}}},{key:"isHorizontal",value:function(){return"horizontal"===this.props.orientation}},{key:"isBoth",value:function(){return"both"===this.props.orientation}},{key:"calculateOptions",value:function(){var e=this,t=this.isBoth(),n=this.isHorizontal(),r=this.state.first,i=this.props.itemSize,a=this.getContentPadding(),o=this.element?this.element.offsetWidth-a.left:0,s=this.element?this.element.offsetHeight-a.top:0,l=function(e,t){return Math.ceil(e/(t||e))},u=t?{rows:l(s,i[0]),cols:l(o,i[1])}:l(n?o:s,i),c=this.state.numToleratedItems||Math.ceil((t?u.rows:u)/2),p=function(t,n,r){return e.getLast(t+n+(t3&&void 0!==arguments[3]?arguments[3]:0;return e.spacer.style[t]=(n||[]).length*r+i+"px"};n?(o("height",t[0],i[0],a.y),o("width",t[1],i[1],a.x)):r?o("width",t,i,a.x):o("height",t,i,a.y)}}},{key:"setContentPosition",value:function(e){var t=this;if(this.content){var n=this.isBoth(),r=this.isHorizontal(),i=e?e.first:this.state.first,a=this.props.itemSize,o=function(e,t){return e*t},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.content.style.transform="translate3d(".concat(e,"px, ").concat(n,"px, 0)")};if(n)s(o(i.cols,a[1]),o(i.rows,a[0]));else{var l=o(i,a);r?s(l,0):s(0,l)}}}},{key:"onScrollPositionChange",value:function(e){var t=this,n=e.target,r=this.isBoth(),i=this.isHorizontal(),a=this.state,o=a.first,s=a.last,l=a.numItemsInViewport,u=a.numToleratedItems,c=this.props.itemSize,p=this.getContentPadding(),d=function(e,t){return e?e>t?e-t:e:0},f=function(e,t){return Math.floor(e/(t||e))},g=function(e,t,n,r,i){return e<=u?u:i?n-r-u:t+u-1},m=function(e,t,n,r,i,a){return e<=u?0:a?et?n:e-2*u},h=function(e,n,r,i,a){var o=n+i+2*u;return e>=u&&(o+=u+1),t.getLast(o,a)},b=d(n.scrollTop,p.top),y=d(n.scrollLeft,p.left),E=0,v=s,S=!1;if(r){var k=this.lastScrollPos.top<=b,T=this.lastScrollPos.left<=y,w={rows:f(b,c[0]),cols:f(y,c[1])},A={rows:g(w.rows,o.rows,s.rows,l.rows,k),cols:g(w.cols,o.cols,s.cols,l.cols,T)};E={rows:m(w.rows,A.rows,o.rows,s.rows,l.rows,k),cols:m(w.cols,A.cols,o.cols,s.cols,l.cols,T)},v={rows:h(w.rows,E.rows,s.rows,l.rows),cols:h(w.cols,E.cols,s.cols,l.cols,!0)},S=E.rows!==o.rows||E.cols!==o.cols||v.rows!==s.rows||v.cols!==s.cols,this.lastScrollPos={top:b,left:y}}else{var R=i?y:b,C=this.lastScrollPos<=R,I=f(R,c);v=h(I,E=m(I,g(I,o,s,l,C),o,0,0,C),0,l),S=E!==o||v!==s,this.lastScrollPos=R}return{first:E,last:v,isRangeChanged:S}}},{key:"onScrollChange",value:function(e){var t=this,n=this.onScrollPositionChange(e),r=n.first,i=n.last;if(n.isRangeChanged){var a={first:r,last:i};this.setContentPosition(a),this.props.lazy&&this.props.onLazyLoad&&this.props.onLazyLoad(a),this.setState(a,(function(){t.props.onScrollIndexChange&&t.props.onScrollIndexChange(a)}))}}},{key:"onScroll",value:function(e){var t=this;this.props.onScroll&&this.props.onScroll(e),this.props.delay?(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.state.loading&&this.props.showLoader&&this.onScrollPositionChange(e).isRangeChanged&&this.setState({loading:!0}),this.scrollTimeout=setTimeout((function(){t.onScrollChange(e),t.state.loading&&t.props.showLoader&&!t.props.lazy&&t.setState({loading:!1})}),this.props.delay)):this.onScrollChange(e)}},{key:"getOptions",value:function(e,t){return{index:e,count:t,first:0===e,last:e===t-1,even:e%2==0,odd:e%2!=0,props:this.props}}},{key:"init",value:function(){this.setSize(),this.calculateOptions(),this.setSpacerSize()}},{key:"componentDidMount",value:function(){this.init()}},{key:"componentDidUpdate",value:function(e,t){e.itemSize===this.props.itemSize&&e.items&&e.items.length===(this.props.items||[]).length||this.init(),this.props.lazy&&e.loading!==this.props.loading&&this.state.loading!==this.props.loading&&this.setState({loading:this.props.loading}),e.orientation!==this.props.orientation&&(this.lastScrollPos=this.isBoth()?{top:0,left:0}:0)}},{key:"renderItem",value:function(e,t,n,a){var o=this.getOptions(t,n),s=i.gb.getJSXElement(this.props.itemTemplate,a||e,o);return r.createElement(r.Fragment,{key:t},s)}},{key:"renderItems",value:function(){var e=this,t=this.props.items;if(t&&!this.state.loading){var n=this.isBoth(),r=this.state,i=r.first,a=r.last,o=t.length;return n?t.slice(i.rows,a.rows).map((function(t,n){var r=t.slice(i.cols,a.cols),s=i.rows+n;return e.renderItem(t,s,o,r)})):t.slice(i,a).map((function(t,n){var r=i+n;return e.renderItem(t,r,o)}))}return null}},{key:"renderLoaderItem",value:function(e,t,n){var a=d(d({},this.getOptions(e,t)),n||{}),o=i.gb.getJSXElement(this.props.loadingTemplate,a);return r.createElement(r.Fragment,{key:e},o)}},{key:"renderLoader",value:function(){var e=this;if(this.state.loading){var t=(0,i.AK)("p-virtualscroller-loader",{"p-component-overlay":!this.props.loadingTemplate}),n=r.createElement("i",{className:"p-virtualscroller-loading-icon pi pi-spinner pi-spin"});if(this.props.loadingTemplate){var a=this.isBoth(),o=this.state.numItemsInViewport,s=a?o.rows:o;n=this.state.loaderArr.map((function(t,n){return e.renderLoaderItem(n,s,a&&{numCols:o.cols})}))}return r.createElement("div",{className:t},n)}return null}},{key:"renderContent",value:function(){var e=this,t=this.renderItems(),n=r.createElement("div",{className:"p-virtualscroller-content",ref:function(t){return e.content=t}},t);if(this.props.contentTemplate){var a=this.state,o=a.loading,s=a.first,l=a.last,u={className:"p-virtualscroller-content",ref:function(t){return e.content=t},children:t,element:n,props:this.props,loading:o,first:s,last:l};return i.gb.getJSXElement(this.props.contentTemplate,u)}return n}},{key:"render",value:function(){var e=this,t=this.isBoth(),n=this.isHorizontal(),a=(0,i.AK)("p-virtualscroller",{"p-both-scroll":t,"p-horizontal-scroll":n},this.props.className),o=this.renderLoader(),s=this.renderContent();return r.createElement("div",{ref:function(t){return e.element=t},className:a,tabIndex:0,style:this.props.style,onScroll:this.onScroll},s,r.createElement("div",{ref:function(t){return e.spacer=t},className:"p-virtualscroller-spacer"}),o)}}],n&&a(t.prototype,n),l&&a(t,l),c}(r.Component);c(g,"defaultProps",{id:null,style:null,className:null,items:null,itemSize:0,scrollHeight:null,scrollWidth:null,orientation:"vertical",numToleratedItems:null,delay:0,lazy:!1,showLoader:!1,loadingTemplate:null,itemTemplate:null,contentTemplate:null,onScroll:null,onScrollIndexChange:null,onLazyLoad:null});var m=n(66367);function h(){return h=Object.assign||function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?this.findPrevOption({group:n-1,option:this.getOptionGroupChildren(t[n-1]).length}):null)}return this.findPrevOptionInList(t,e)}},{key:"findPrevOptionInList",value:function(e,t){var n=t-1;if(n<0)return null;var r=e[n];return this.isOptionDisabled(r)?this.findPrevOption(n):r}},{key:"search",value:function(e){var t=this;this.searchTimeout&&clearTimeout(this.searchTimeout);var n=e.key;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=n,this.previousSearchChar===this.currentSearchChar?this.searchValue=this.currentSearchChar:this.searchValue=this.searchValue?this.searchValue+n:n,this.searchValue){var r=this.getSelectedOptionIndex(),i=this.props.optionGroupLabel?this.searchOptionInGroup(r):this.searchOption(++r);i&&(this.selectItem({originalEvent:e,option:i}),this.selectedOptionUpdated=!0)}this.searchTimeout=setTimeout((function(){t.searchValue=null}),250)}},{key:"searchOption",value:function(e){var t;if(this.searchValue){var n=this.getVisibleOptions();(t=this.searchOptionInRange(e,n.length))||(t=this.searchOptionInRange(0,e))}return t}},{key:"searchOptionInRange",value:function(e,t){for(var n=this.getVisibleOptions(),r=e;r0}},{key:"getOptionLabel",value:function(e){return this.props.optionLabel?i.gb.resolveFieldData(e,this.props.optionLabel):e&&void 0!==e.label?e.label:e}},{key:"getOptionValue",value:function(e){return this.props.optionValue?i.gb.resolveFieldData(e,this.props.optionValue):e&&void 0!==e.value?e.value:e}},{key:"getOptionRenderKey",value:function(e){return this.props.dataKey?i.gb.resolveFieldData(e,this.props.dataKey):this.getOptionLabel(e)}},{key:"isOptionDisabled",value:function(e){return this.props.optionDisabled?i.gb.isFunction(this.props.optionDisabled)?this.props.optionDisabled(e):i.gb.resolveFieldData(e,this.props.optionDisabled):!(!e||void 0===e.disabled)&&e.disabled}},{key:"getOptionGroupRenderKey",value:function(e){return i.gb.resolveFieldData(e,this.props.optionGroupLabel)}},{key:"getOptionGroupLabel",value:function(e){return i.gb.resolveFieldData(e,this.props.optionGroupLabel)}},{key:"getOptionGroupChildren",value:function(e){return i.gb.resolveFieldData(e,this.props.optionGroupChildren)}},{key:"checkValidity",value:function(){return this.inputRef.current.checkValidity()}},{key:"getVisibleOptions",value:function(){if(this.hasFilter()){var e=this.state.filter.trim().toLocaleLowerCase(this.props.filterLocale),t=this.props.filterBy?this.props.filterBy.split(","):[this.props.optionLabel||"label"];if(this.props.optionGroupLabel){var n,r=[],a=M(this.props.options);try{for(a.s();!(n=a.n()).done;){var o=n.value,s=i.lD.filter(this.getOptionGroupChildren(o),t,e,this.props.filterMatchMode,this.props.filterLocale);s&&s.length&&r.push(P(P({},o),{items:s}))}}catch(l){a.e(l)}finally{a.f()}return r}return i.lD.filter(this.props.options,t,e,this.props.filterMatchMode,this.props.filterLocale)}return this.props.options}},{key:"updateInputField",value:function(){if(this.props.editable&&this.input){var e=this.getSelectedOption(),t=(e?this.getOptionLabel(e):null)||this.props.value||"";this.input.value=t}}},{key:"updateInputRef",value:function(){var e=this.props.inputRef;e&&("function"==typeof e?e(this.inputRef.current):e.current=this.inputRef.current)}},{key:"componentDidMount",value:function(){this.updateInputRef(),this.props.autoFocus&&this.focusInput&&this.focusInput.focus(),this.props.tooltip&&this.renderTooltip(),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"componentWillUnmount",value:function(){this.unbindDocumentClickListener(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),i.P9.clear(this.overlayRef.current)}},{key:"componentDidUpdate",value:function(e){this.state.overlayVisible&&(this.props.filter&&this.alignOverlay(),e.value!==this.props.value&&this.scrollInView()),e.tooltip===this.props.tooltip&&e.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(P({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip()),!this.state.filter||this.props.options&&0!==this.props.options.length||this.setState({filter:""}),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"renderHiddenSelect",value:function(e){var t=r.createElement("option",{value:""},this.props.placeholder),n=e?r.createElement("option",{value:e.value},this.getOptionLabel(e)):null;return r.createElement("div",{className:"p-hidden-accessible p-dropdown-hidden-select"},r.createElement("select",{ref:this.inputRef,required:this.props.required,name:this.props.name,tabIndex:-1,"aria-hidden":"true"},t,n))}},{key:"renderTooltip",value:function(){this.tooltip=(0,i.IE)({target:this.container,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderKeyboardHelper",value:function(){var e=this;return r.createElement("div",{className:"p-hidden-accessible"},r.createElement("input",{ref:function(t){return e.focusInput=t},id:this.props.inputId,type:"text",readOnly:!0,"aria-haspopup":"listbox",onFocus:this.onInputFocus,onBlur:this.onInputBlur,onKeyDown:this.onInputKeyDown,disabled:this.props.disabled,tabIndex:this.props.tabIndex,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy}))}},{key:"renderLabel",value:function(e){var t=this,n=e?this.getOptionLabel(e):null;if(this.props.editable){var a=n||this.props.value||"";return r.createElement("input",{ref:function(e){return t.input=e},type:"text",defaultValue:a,className:"p-dropdown-label p-inputtext",disabled:this.props.disabled,placeholder:this.props.placeholder,maxLength:this.props.maxLength,onInput:this.onEditableInputChange,onFocus:this.onEditableInputFocus,onBlur:this.onInputBlur,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-haspopup":"listbox"})}var o=(0,i.AK)("p-dropdown-label p-inputtext",{"p-placeholder":null===n&&this.props.placeholder,"p-dropdown-label-empty":null===n&&!this.props.placeholder}),s=this.props.valueTemplate?i.gb.getJSXElement(this.props.valueTemplate,e,this.props):n||this.props.placeholder||"empty";return r.createElement("span",{ref:function(e){return t.input=e},className:o},s)}},{key:"renderClearIcon",value:function(){return null!=this.props.value&&this.props.showClear&&!this.props.disabled?r.createElement("i",{className:"p-dropdown-clear-icon pi pi-times",onClick:this.clear}):null}},{key:"renderDropdownIcon",value:function(){var e=this,t=(0,i.AK)("p-dropdown-trigger-icon p-clickable",this.props.dropdownIcon);return r.createElement("div",{ref:function(t){return e.trigger=t},className:"p-dropdown-trigger",role:"button","aria-haspopup":"listbox","aria-expanded":this.state.overlayVisible},r.createElement("span",{className:t}))}},{key:"render",value:function(){var e=this,t=(0,i.AK)("p-dropdown p-component p-inputwrapper",this.props.className,{"p-disabled":this.props.disabled,"p-focus":this.state.focused,"p-dropdown-clearable":this.props.showClear&&!this.props.disabled,"p-inputwrapper-filled":this.props.value,"p-inputwrapper-focus":this.state.focused||this.state.overlayVisible}),n=this.getVisibleOptions(),a=this.getSelectedOption(),o=this.renderHiddenSelect(a),s=this.renderKeyboardHelper(),l=this.renderLabel(a),u=this.renderDropdownIcon(),c=this.renderClearIcon();return r.createElement("div",{id:this.props.id,ref:function(t){return e.container=t},className:t,style:this.props.style,onClick:this.onClick,onMouseDown:this.props.onMouseDown,onContextMenu:this.props.onContextMenu},s,o,l,c,u,r.createElement(L,h({ref:this.overlayRef,visibleOptions:n},this.props,{onClick:this.onPanelClick,onOptionClick:this.onOptionClick,filterValue:this.state.filter,hasFilter:this.hasFilter,onFilterClearIconClick:this.onFilterClearIconClick,onFilterInputKeyDown:this.onFilterInputKeyDown,onFilterInputChange:this.onFilterInputChange,getOptionLabel:this.getOptionLabel,getOptionRenderKey:this.getOptionRenderKey,isOptionDisabled:this.isOptionDisabled,getOptionGroupChildren:this.getOptionGroupChildren,getOptionGroupLabel:this.getOptionGroupLabel,getOptionGroupRenderKey:this.getOptionGroupRenderKey,isSelected:this.isSelected,getSelectedOptionIndex:this.getSelectedOptionIndex,in:this.state.overlayVisible,onEnter:this.onOverlayEnter,onEntered:this.onOverlayEntered,onExit:this.onOverlayExit,onExited:this.onOverlayExited})))}}]),n}(r.Component);function G(){return G=Object.assign||function(e){for(var t=1;t0||null!=this.props.defaultValue&&this.props.defaultValue.toString().length>0||this.elementRef&&this.elementRef.current&&null!=this.elementRef.current.value&&this.elementRef.current.value.toString().length>0}},{key:"onKeyPress",value:function(e){this.props.onKeyPress&&this.props.onKeyPress(e),this.props.keyfilter&&i.Fr.onKeyPress(e,this.props.keyfilter,this.props.validateOnly)}},{key:"onInput",value:function(e){var t=!0;this.props.keyfilter&&this.props.validateOnly&&(t=i.Fr.validate(e,this.props.keyfilter)),this.props.onInput&&this.props.onInput(e,t),this.props.onChange||(e.target.value.length>0?i.p7.addClass(e.target,"p-filled"):i.p7.removeClass(e.target,"p-filled"))}},{key:"updateForwardRef",value:function(){var e=this.props.forwardRef;e&&("function"==typeof e?e(this.elementRef.current):e.current=this.elementRef.current)}},{key:"componentDidMount",value:function(){this.updateForwardRef(),this.props.tooltip&&this.renderTooltip()}},{key:"componentDidUpdate",value:function(e){e.tooltip===this.props.tooltip&&e.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&t>s){var c=this.isDecimalMode()&&(this.props.minFractionDigits||0)0?i:""):i=r.slice(0,t-1)+r.slice(t)}this.updateValue(e,i,null,"delete-single")}else i=this.deleteRange(r,t,n),this.updateValue(e,i,null,"delete-range");break;case 46:if(e.preventDefault(),t===n){var p=r.charAt(t),d=this.getDecimalCharIndexes(r),f=d.decimalCharIndex,g=d.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(p)){var m=this.getDecimalLength(r);if(this._group.test(p))this._group.lastIndex=0,i=r.slice(0,t)+r.slice(t+2);else if(this._decimal.test(p))this._decimal.lastIndex=0,m?this.$refs.input.$el.setSelectionRange(t+1,t+1):i=r.slice(0,t)+r.slice(t+1);else if(f>0&&t>f){var h=this.isDecimalMode()&&(this.props.minFractionDigits||0)0?i:""):i=r.slice(0,t)+r.slice(t+1)}this.updateValue(e,i,null,"delete-back-single")}else i=this.deleteRange(r,t,n),this.updateValue(e,i,null,"delete-range")}this.props.onKeyDown&&this.props.onKeyDown(e)}}},{key:"onInputKeyPress",value:function(e){e.preventDefault();var t=e.which||e.keyCode,n=String.fromCharCode(t),r=this.isDecimalSign(n),i=this.isMinusSign(n);(48<=t&&t<=57||i||r)&&this.insert(e,n,{isDecimalSign:r,isMinusSign:i})}},{key:"onPaste",value:function(e){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData("Text");if(t){var n=this.parseValue(t);null!=n&&this.insert(e,n.toString())}}},{key:"allowMinusSign",value:function(){return null===this.props.min||this.props.min<0}},{key:"isMinusSign",value:function(e){return!(!this._minusSign.test(e)&&"-"!==e||(this._minusSign.lastIndex=0,0))}},{key:"isDecimalSign",value:function(e){return!!this._decimal.test(e)&&(this._decimal.lastIndex=0,!0)}},{key:"isDecimalMode",value:function(){return"decimal"===this.props.mode}},{key:"getDecimalCharIndexes",value:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:t,decimalCharIndexWithoutPrefix:n}}},{key:"getCharIndexes",value:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.search(this._minusSign);this._minusSign.lastIndex=0;var r=e.search(this._suffix);this._suffix.lastIndex=0;var i=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:t,minusCharIndex:n,suffixCharIndex:r,currencyCharIndex:i}}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},r=t.search(this._minusSign);if(this._minusSign.lastIndex=0,this.allowMinusSign()||-1===r){var i,a=this.inputRef.current.selectionStart,o=this.inputRef.current.selectionEnd,s=this.inputRef.current.value.trim(),l=this.getCharIndexes(s),u=l.decimalCharIndex,c=l.minusCharIndex,p=l.suffixCharIndex,d=l.currencyCharIndex;if(n.isMinusSign)0===a&&(i=s,-1!==c&&0===o||(i=this.insertText(s,t,0,o)),this.updateValue(e,i,t,"insert"));else if(n.isDecimalSign)u>0&&a===u?this.updateValue(e,s,t,"insert"):(u>a&&u0&&a>u){if(a+t.length-(u+1)<=f){var m=d>=a?d-1:p>=a?p:s.length;i=s.slice(0,a)+t+s.slice(a+t.length,m)+s.slice(m),this.updateValue(e,i,t,g)}}else i=this.insertText(s,t,a,o),this.updateValue(e,i,t,g)}}}},{key:"insertText",value:function(e,t,n,r){if(2===("."===t?t:t.split(".")).length){var i=e.slice(n,r).search(this._decimal);return this._decimal.lastIndex=0,i>0?e.slice(0,n)+this.formatValue(t)+e.slice(r):e||this.formatValue(t)}return r-n===e.length?this.formatValue(t):0===n?t+e.slice(r):r===e.length?e.slice(0,n)+t:e.slice(0,n)+t+e.slice(r)}},{key:"deleteRange",value:function(e,t,n){return n-t===e.length?"":0===t?e.slice(n):n===e.length?e.slice(0,t):e.slice(0,t)+e.slice(n)}},{key:"initCursor",value:function(){var e=this.inputRef.current.selectionStart,t=this.inputRef.current.value,n=t.length,r=null,i=(this.prefixChar||"").length;e-=i;var a=(t=t.replace(this._prefix,"")).charAt(e);if(this.isNumeralChar(a))return e+i;for(var o=e-1;o>=0;){if(a=t.charAt(o),this.isNumeralChar(a)){r=o+i;break}o--}if(null!==r)this.inputRef.current.setSelectionRange(r+1,r+1);else{for(o=e;othis.props.max?this.props.max:e}},{key:"updateInput",value:function(e,t,n,r){t=t||"";var i=this.inputRef.current,a=i.value,o=this.formatValue(e),s=a.length;if(o!==r&&(o=this.concatValues(o,r)),0===s){i.value=o,i.setSelectionRange(0,0);var l=this.initCursor()+t.length;i.setSelectionRange(l,l)}else{var u=i.selectionStart,c=i.selectionEnd;i.value=o;var p=o.length;if("range-insert"===n){var d=this.parseValue((a||"").slice(0,u)),f=(null!==d?d.toString():"").split("").join("(".concat(this.groupChar,")?")),g=new RegExp(f,"g");g.test(o);var m=t.split("").join("(".concat(this.groupChar,")?")),h=new RegExp(m,"g");h.test(o.slice(g.lastIndex)),c=g.lastIndex+h.lastIndex,i.setSelectionRange(c,c)}else if(p===s)"insert"===n||"delete-back-single"===n?i.setSelectionRange(c+1,c+1):"delete-single"===n?i.setSelectionRange(c-1,c-1):"delete-range"!==n&&"spin"!==n||i.setSelectionRange(c,c);else if("delete-back-single"===n){var b=a.charAt(c-1),y=a.charAt(c),E=s-p,v=this._group.test(y);v&&1===E?c+=1:!v&&this.isNumeralChar(b)&&(c+=-1*E+1),this._group.lastIndex=0,i.setSelectionRange(c,c)}else if("-"===a&&"insert"===n){i.setSelectionRange(0,0);var S=this.initCursor()+t.length+1;i.setSelectionRange(S,S)}else c+=p-s,i.setSelectionRange(c,c)}i.setAttribute("aria-valuenow",e)}},{key:"updateInputValue",value:function(e){e=e||this.props.allowEmpty?e:0;var t=this.inputRef.current,n=t.value,r=this.formattedValue(e);n!==r&&(t.value=r,t.setAttribute("aria-valuenow",e))}},{key:"formattedValue",value:function(e){var t=e||this.props.allowEmpty?e:0;return this.formatValue(t)}},{key:"concatValues",value:function(e,t){if(e&&t){var n=t.search(this._decimal);return this._decimal.lastIndex=0,-1!==n?e.split(this._decimal)[0]+t.slice(n):e}return e}},{key:"getDecimalLength",value:function(e){if(e){var t=e.split(this._decimal);if(2===t.length)return t[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0}},{key:"updateModel",value:function(e,t){this.props.onValueChange&&this.props.onValueChange({originalEvent:e,value:t,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:t}})}},{key:"onInputFocus",value:function(e){var t=this;e.persist(),this.setState({focused:!0},(function(){t.props.onFocus&&t.props.onFocus(e)}))}},{key:"onInputBlur",value:function(e){var t=this;e.persist(),this.setState({focused:!1},(function(){var n=t.inputRef.current.value;if(t.isValueChanged(n,t.props.value)){var r=t.validateValue(t.parseValue(n));t.updateInputValue(r),t.updateModel(e,r)}t.props.onBlur&&t.props.onBlur(e)}))}},{key:"clearTimer",value:function(){this.timer&&clearInterval(this.timer)}},{key:"isStacked",value:function(){return this.props.showButtons&&"stacked"===this.props.buttonLayout}},{key:"isHorizontal",value:function(){return this.props.showButtons&&"horizontal"===this.props.buttonLayout}},{key:"isVertical",value:function(){return this.props.showButtons&&"vertical"===this.props.buttonLayout}},{key:"getInputMode",value:function(){return this.props.inputMode||("decimal"!==this.props.mode||this.props.minFractionDigits?"decimal":"numeric")}},{key:"getFormatter",value:function(){return this.numberFormat}},{key:"updateInputRef",value:function(){var e=this.props.inputRef;e&&("function"==typeof e?e(this.inputRef.current):e.current=this.inputRef.current)}},{key:"componentDidMount",value:function(){this.updateInputRef(),this.props.tooltip&&this.renderTooltip();var e=this.validateValue(this.props.value);null!==this.props.value&&this.props.value!==e&&this.updateModel(null,e)}},{key:"componentDidUpdate",value:function(e){e.tooltip===this.props.tooltip&&e.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(oe({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip());var t=this.isOptionChanged(e);if(t&&this.constructParser(),e.value!==this.props.value||t){var n=this.validateValue(this.props.value);this.updateInputValue(n),null!==this.props.value&&this.props.value!==n&&this.updateModel(null,n)}}},{key:"isOptionChanged",value:function(e){var t=this;return["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","suffix","prefix"].some((function(n){return e[n]!==t.props[n]}))}},{key:"componentWillUnmount",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null)}},{key:"renderTooltip",value:function(){this.tooltip=(0,i.IE)({target:this.element,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderInputElement",value:function(){var e=(0,i.AK)("p-inputnumber-input",this.props.inputClassName),t=this.formattedValue(this.props.value);return r.createElement(X,{ref:this.inputRef,id:this.props.inputId,style:this.props.inputStyle,role:"spinbutton",className:e,defaultValue:t,type:this.props.type,size:this.props.size,tabIndex:this.props.tabIndex,inputMode:this.getInputMode(),maxLength:this.props.maxlength,disabled:this.props.disabled,required:this.props.required,pattern:this.props.pattern,placeholder:this.props.placeholder,readOnly:this.props.readOnly,name:this.props.name,autoFocus:this.props.autoFocus,onKeyDown:this.onInputKeyDown,onKeyPress:this.onInputKeyPress,onInput:this.onInput,onClick:this.onInputClick,onBlur:this.onInputBlur,onFocus:this.onInputFocus,onPaste:this.onPaste,min:this.props.min,max:this.props.max,"aria-valuemin":this.props.min,"aria-valuemax":this.props.max,"aria-valuenow":this.props.value,"aria-labelledby":this.props.ariaLabelledBy})}},{key:"renderUpButton",value:function(){var e=(0,i.AK)("p-inputnumber-button p-inputnumber-button-up p-button p-button-icon-only p-component",{"p-disabled":this.props.disabled},this.props.incrementButtonClassName),t=(0,i.AK)("p-button-icon",this.props.incrementButtonIcon);return r.createElement("button",{type:"button",className:e,onMouseLeave:this.onUpButtonMouseLeave,onMouseDown:this.onUpButtonMouseDown,onMouseUp:this.onUpButtonMouseUp,onKeyDown:this.onUpButtonKeyDown,onKeyUp:this.onUpButtonKeyUp,disabled:this.props.disabled,tabIndex:-1},r.createElement("span",{className:t}),r.createElement(i.HW,null))}},{key:"renderDownButton",value:function(){var e=(0,i.AK)("p-inputnumber-button p-inputnumber-button-down p-button p-button-icon-only p-component",{"p-disabled":this.props.disabled},this.props.decrementButtonClassName),t=(0,i.AK)("p-button-icon",this.props.decrementButtonIcon);return r.createElement("button",{type:"button",className:e,onMouseLeave:this.onDownButtonMouseLeave,onMouseDown:this.onDownButtonMouseDown,onMouseUp:this.onDownButtonMouseUp,onKeyDown:this.onDownButtonKeyDown,onKeyUp:this.onDownButtonKeyUp,disabled:this.props.disabled,tabIndex:-1},r.createElement("span",{className:t}),r.createElement(i.HW,null))}},{key:"renderButtonGroup",value:function(){var e=this.props.showButtons&&this.renderUpButton(),t=this.props.showButtons&&this.renderDownButton();return this.isStacked()?r.createElement("span",{className:"p-inputnumber-button-group"},e,t):r.createElement(r.Fragment,null,e,t)}},{key:"render",value:function(){var e=this,t=(0,i.AK)("p-inputnumber p-component p-inputwrapper",this.props.className,{"p-inputwrapper-filled":null!=this.props.value&&this.props.value.toString().length>0,"p-inputwrapper-focus":this.state.focused,"p-inputnumber-buttons-stacked":this.isStacked(),"p-inputnumber-buttons-horizontal":this.isHorizontal(),"p-inputnumber-buttons-vertical":this.isVertical()}),n=this.renderInputElement(),a=this.renderButtonGroup();return r.createElement("span",{ref:function(t){return e.element=t},id:this.props.id,className:t,style:this.props.style},n,a)}}],n&&J(t.prototype,n),a&&J(t,a),s}(r.Component);function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}},{key:"render",value:function(){var e=this.hasOptions(),t=e?this.props.options.map((function(e){return{label:String(e),value:e}})):[],n=e?r.createElement(B,{value:this.props.value,options:t,onChange:this.props.onChange,appendTo:this.props.appendTo,disabled:this.props.disabled}):null;if(this.props.template){var a={value:this.props.value,options:t,onChange:this.props.onChange,appendTo:this.props.appendTo,currentPage:this.props.page,totalPages:this.props.pageCount,totalRecords:this.props.totalRecords,disabled:this.props.disabled,element:n,props:this.props};return i.gb.getJSXElement(this.props.template,a)}return n}}]),n}(r.Component);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function De(e){for(var t=1;t0?this.props.page+1:0,t=r.createElement(le,{value:e,onChange:this.onChange,className:"p-paginator-page-input",disabled:this.props.disabled});if(this.props.template){var n={value:e,onChange:this.onChange,disabled:this.props.disabled,className:"p-paginator-page-input",element:t,props:this.props};return i.gb.getJSXElement(this.props.template,n)}return t}}]),n}(r.Component);function Be(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var i=Ee(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ye(this,n)}}ve(Ue,"defaultProps",{page:null,rows:null,pageCount:null,disabled:!1,template:null,onChange:null});var Ge=function(e){be(n,e);var t=Be(n);function n(e){var r;return de(this,n),(r=t.call(this,e)).changePageToFirst=r.changePageToFirst.bind(me(r)),r.changePageToPrev=r.changePageToPrev.bind(me(r)),r.changePageToNext=r.changePageToNext.bind(me(r)),r.changePageToLast=r.changePageToLast.bind(me(r)),r.onRowsChange=r.onRowsChange.bind(me(r)),r.changePage=r.changePage.bind(me(r)),r.onPageLinkClick=r.onPageLinkClick.bind(me(r)),r}return ge(n,[{key:"isFirstPage",value:function(){return 0===this.getPage()}},{key:"isLastPage",value:function(){return this.getPage()===this.getPageCount()-1}},{key:"getPageCount",value:function(){return Math.ceil(this.props.totalRecords/this.props.rows)}},{key:"calculatePageLinkBoundaries",value:function(){var e=this.getPageCount(),t=Math.min(this.props.pageLinkSize,e),n=Math.max(0,Math.ceil(this.getPage()-t/2)),r=Math.min(e-1,n+t-1),i=this.props.pageLinkSize-(r-n+1);return[n=Math.max(0,n-i),r]}},{key:"updatePageLinks",value:function(){for(var e=[],t=this.calculatePageLinkBoundaries(),n=t[0],r=t[1],i=n;i<=r;i++)e.push(i+1);return e}},{key:"changePage",value:function(e,t){var n=this.getPageCount(),r=Math.floor(e/t);if(r>=0&&r0&&e.totalRecords!==this.props.totalRecords&&this.props.first>=this.props.totalRecords&&this.changePage((this.getPageCount()-1)*this.props.rows,this.props.rows):this.changePage(0,this.props.rows),this.isRowChanged=!1}},{key:"renderElement",value:function(e,t){var n;switch(e){case"FirstPageLink":n=r.createElement(ke,{key:e,onClick:this.changePageToFirst,disabled:this.isFirstPage()||this.empty(),template:t});break;case"PrevPageLink":n=r.createElement(Re,{key:e,onClick:this.changePageToPrev,disabled:this.isFirstPage()||this.empty(),template:t});break;case"NextPageLink":n=r.createElement(we,{key:e,onClick:this.changePageToNext,disabled:this.isLastPage()||this.empty(),template:t});break;case"LastPageLink":n=r.createElement(Ie,{key:e,onClick:this.changePageToLast,disabled:this.isLastPage()||this.empty(),template:t});break;case"PageLinks":n=r.createElement(_e,{key:e,value:this.updatePageLinks(),page:this.getPage(),rows:this.props.rows,pageCount:this.getPageCount(),onClick:this.onPageLinkClick,template:t});break;case"RowsPerPageDropdown":n=r.createElement(xe,{key:e,value:this.props.rows,page:this.getPage(),pageCount:this.getPageCount(),totalRecords:this.props.totalRecords,options:this.props.rowsPerPageOptions,onChange:this.onRowsChange,appendTo:this.props.dropdownAppendTo,template:t,disabled:this.empty()});break;case"CurrentPageReport":n=r.createElement(Me,{reportTemplate:this.props.currentPageReportTemplate,key:e,page:this.getPage(),pageCount:this.getPageCount(),first:this.props.first,rows:this.props.rows,totalRecords:this.props.totalRecords,template:t});break;case"JumpToPageInput":n=r.createElement(Ue,{key:e,rows:this.props.rows,page:this.getPage(),pageCount:this.getPageCount(),onChange:this.changePage,disabled:this.empty(),template:t});break;default:n=null}return n}},{key:"renderElements",value:function(){var e=this,t=this.props.template;return t?"object"===pe(t)?t.layout?t.layout.split(" ").map((function(n){var r=n.trim();return e.renderElement(r,t[r])})):Object.entries(t).map((function(t){var n=ce(t,2),r=n[0],i=n[1];return e.renderElement(r,i)})):t.split(" ").map((function(t){return e.renderElement(t.trim())})):null}},{key:"render",value:function(){if(this.props.alwaysShow||1!==this.getPageCount()){var e=(0,i.AK)("p-paginator p-component",this.props.className),t=i.gb.getJSXElement(this.props.leftContent,this.props),n=i.gb.getJSXElement(this.props.rightContent,this.props),a=this.renderElements(),o=t&&r.createElement("div",{className:"p-paginator-left-content"},t),s=n&&r.createElement("div",{className:"p-paginator-right-content"},n);return r.createElement("div",{className:e,style:this.props.style},o,a,s)}return null}}]),n}(r.Component);function He(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1}}}]),n}(r.Component);function rt(){return rt=Object.assign||function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function st(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&i!==this.props.node.children.length?r[this.props.node.key]={checked:!1,partialChecked:!0}:r[this.props.node.key]={checked:!1,partialChecked:!1}),this.props.propagateSelectionUp&&this.props.onPropagateUp&&this.props.onPropagateUp(e)}},{key:"propagateDown",value:function(e,t,n){if(t?n[e.key]={checked:!0,partialChecked:!1}:delete n[e.key],e.children&&e.children.length)for(var r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function Et(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?t[n]=e:t.push(e)}},{key:"removeSortMeta",value:function(e,t){for(var n=-1,r=0;r=0&&t.splice(n,1),t=t.length>0?t:null}},{key:"sortSingle",value:function(e){return this.sortNodes(e)}},{key:"sortNodes",value:function(e){var t=this,n=ze(e);if(this.columnSortable&&"custom"===this.columnSortable&&this.columnSortFunction)n=this.columnSortFunction({field:this.getSortField(),order:this.getSortOrder()});else{n.sort((function(e,n){var r=t.getSortField(),a=i.gb.resolveFieldData(e.data,r),o=i.gb.resolveFieldData(n.data,r),s=null;return s=null==a&&null!=o?-1:null!=a&&null==o?1:null==a&&null==o?0:"string"==typeof a&&"string"==typeof o?a.localeCompare(o,void 0,{numeric:!0}):ao?1:0,t.getSortOrder()*s}));for(var r=0;rr?this.multisortField(e,t,n,r+1):0;if(("string"==typeof a||a instanceof String)&&("string"==typeof o||o instanceof String))return n[r].order*a.localeCompare(o,void 0,{numeric:!0});s=a0}},{key:"isFilterBlank",value:function(e){return null==e||("string"==typeof e&&0===e.trim().length||e instanceof Array&&0===e.length)}},{key:"onColumnResizeStart",value:function(e){var t=i.p7.getOffset(this.container).left;this.resizeColumn=e.columnEl,this.resizeColumnProps=e.column,this.columnResizing=!0,this.lastResizerHelperX=e.originalEvent.pageX-t+this.container.scrollLeft,this.bindColumnResizeEvents()}},{key:"onColumnResize",value:function(e){var t=i.p7.getOffset(this.container).left;i.p7.addClass(this.container,"p-unselectable-text"),this.resizerHelper.style.height=this.container.offsetHeight+"px",this.resizerHelper.style.top="0px",this.resizerHelper.style.left=e.pageX-t+this.container.scrollLeft+"px",this.resizerHelper.style.display="block"}},{key:"onColumnResizeEnd",value:function(e){var t=this.resizerHelper.offsetLeft-this.lastResizerHelperX,n=this.resizeColumn.offsetWidth,r=n+t,a=this.resizeColumn.style.minWidth||15;if(n+t>parseInt(a,10)){if("fit"===this.props.columnResizeMode){var o=this.resizeColumn.nextElementSibling,s=o.offsetWidth-t;if(r>15&&s>15)if(this.props.scrollable){var l=this.findParentScrollableView(this.resizeColumn),u=i.p7.findSingle(l,"table.p-treetable-scrollable-body-table"),c=i.p7.findSingle(l,"table.p-treetable-scrollable-header-table"),p=i.p7.findSingle(l,"table.p-treetable-scrollable-footer-table"),d=i.p7.index(this.resizeColumn);this.resizeColGroup(c,d,r,s),this.resizeColGroup(u,d,r,s),this.resizeColGroup(p,d,r,s)}else this.resizeColumn.style.width=r+"px",o&&(o.style.width=s+"px")}else if("expand"===this.props.columnResizeMode)if(this.props.scrollable){var f=this.findParentScrollableView(this.resizeColumn),g=i.p7.findSingle(f,"table.p-treetable-scrollable-body-table"),m=i.p7.findSingle(f,"table.p-treetable-scrollable-header-table"),h=i.p7.findSingle(f,"table.p-treetable-scrollable-footer-table");g.style.width=g.offsetWidth+t+"px",m.style.width=m.offsetWidth+t+"px",h&&(h.style.width=m.offsetWidth+t+"px");var b=i.p7.index(this.resizeColumn);this.resizeColGroup(m,b,r,null),this.resizeColGroup(g,b,r,null),this.resizeColGroup(h,b,r,null)}else this.table.style.width=this.table.offsetWidth+t+"px",this.resizeColumn.style.width=r+"px";this.props.onColumnResizeEnd&&this.props.onColumnResizeEnd({element:this.resizeColumn,column:this.resizeColumnProps,delta:t})}this.resizerHelper.style.display="none",this.resizeColumn=null,this.resizeColumnProps=null,i.p7.removeClass(this.container,"p-unselectable-text"),this.unbindColumnResizeEvents()}},{key:"findParentScrollableView",value:function(e){if(e){for(var t=e.parentElement;t&&!i.p7.hasClass(t,"p-treetable-scrollable-view");)t=t.parentElement;return t}return null}},{key:"resizeColGroup",value:function(e,t,n,r){if(e){var i="COLGROUP"===e.children[0].nodeName?e.children[0]:null;if(!i)throw new Error("Scrollable tables require a colgroup to support resizable columns");var a=i.children[t],o=a.nextElementSibling;a.style.width=n+"px",o&&r&&(o.style.width=r+"px")}}},{key:"bindColumnResizeEvents",value:function(){var e=this;this.documentColumnResizeListener=document.addEventListener("mousemove",(function(t){e.columnResizing&&e.onColumnResize(t)})),this.documentColumnResizeEndListener=document.addEventListener("mouseup",(function(t){e.columnResizing&&(e.columnResizing=!1,e.onColumnResizeEnd(t))}))}},{key:"unbindColumnResizeEvents",value:function(){document.removeEventListener("document",this.documentColumnResizeListener),document.removeEventListener("document",this.documentColumnResizeEndListener)}},{key:"onColumnDragStart",value:function(e){var t=e.originalEvent,n=e.column;this.columnResizing?t.preventDefault():(this.iconWidth=i.p7.getHiddenElementOuterWidth(this.reorderIndicatorUp),this.iconHeight=i.p7.getHiddenElementOuterHeight(this.reorderIndicatorUp),this.draggedColumnEl=this.findParentHeader(t.currentTarget),this.draggedColumn=n,t.dataTransfer.setData("text","b"))}},{key:"onColumnDragOver",value:function(e){var t=e.originalEvent,n=this.findParentHeader(t.currentTarget);if(this.props.reorderableColumns&&this.draggedColumnEl&&n){t.preventDefault();var r=i.p7.getOffset(this.container),a=i.p7.getOffset(n);if(this.draggedColumnEl!==n){var o=a.left-r.left,s=a.left+n.offsetWidth/2;this.reorderIndicatorUp.style.top=a.top-r.top-(this.iconHeight-1)+"px",this.reorderIndicatorDown.style.top=a.top-r.top+n.offsetHeight+"px",t.pageX>s?(this.reorderIndicatorUp.style.left=o+n.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=o+n.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUp.style.left=o-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=o-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUp.style.display="block",this.reorderIndicatorDown.style.display="block"}}}},{key:"onColumnDragLeave",value:function(e){var t=e.originalEvent;this.props.reorderableColumns&&this.draggedColumnEl&&(t.preventDefault(),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none")}},{key:"onColumnDrop",value:function(e){var t=this,n=e.originalEvent,a=e.column;if(n.preventDefault(),this.draggedColumnEl){var o=i.p7.index(this.draggedColumnEl),s=i.p7.index(this.findParentHeader(n.currentTarget)),l=o!==s;if(l&&(s-o==1&&-1===this.dropPosition||o-s==1&&1===this.dropPosition)&&(l=!1),l){var u=this.state.columnOrder?this.getColumns():r.Children.toArray(this.props.children),c=function(e,t){return e.props.columnKey||t.props.columnKey?i.gb.equals(e,t,"props.columnKey"):i.gb.equals(e,t,"props.field")},p=u.findIndex((function(e){return c(e,t.draggedColumn)})),d=u.findIndex((function(e){return c(e,a)}));dp&&-1===this.dropPosition&&d--,i.gb.reorderArray(u,p,d);var f,g=[],m=yt(u);try{for(m.s();!(f=m.n()).done;){var h=f.value;g.push(h.props.columnKey||h.props.field)}}catch(b){m.e(b)}finally{m.f()}this.setState({columnOrder:g}),this.props.onColReorder&&this.props.onColReorder({dragIndex:p,dropIndex:d,columns:u})}this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",this.draggedColumnEl.draggable=!1,this.draggedColumnEl=null,this.dropPosition=null}}},{key:"findParentHeader",value:function(e){if("TH"===e.nodeName)return e;for(var t=e.parentElement;"TH"!==t.nodeName&&(t=t.parentElement););return t}},{key:"getExpandedKeys",value:function(){return this.props.onToggle?this.props.expandedKeys:this.state.expandedKeys}},{key:"getFirst",value:function(){return this.props.onPage?this.props.first:this.state.first}},{key:"getRows",value:function(){return this.props.onPage?this.props.rows:this.state.rows}},{key:"getSortField",value:function(){return this.props.onSort?this.props.sortField:this.state.sortField}},{key:"getSortOrder",value:function(){return this.props.onSort?this.props.sortOrder:this.state.sortOrder}},{key:"getMultiSortMeta",value:function(){return this.props.onSort?this.props.multiSortMeta:this.state.multiSortMeta}},{key:"getFilters",value:function(){return this.props.onFilter?this.props.filters:this.state.filters}},{key:"findColumnByKey",value:function(e,t){if(e&&e.length)for(var n=0;n{"use strict";var r=n(66632),i=n(98805),a=n(57643),o="data";e.exports=function(e,t){var n=r(t),d=t,f=a;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?d=function(e){var t=e.slice(5).replace(l,p);return o+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(l.test(t))return e;t=t.replace(u,c),"-"!==t.charAt(0)&&(t="-"+t);return o+t}(t),f=i);return new f(d,t)};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},97247:(e,t,n)=>{"use strict";var r=n(19940),i=n(8289),a=n(5812),o=n(94397),s=n(67716),l=n(61805);e.exports=r([a,i,o,s,l])},67716:(e,t,n)=>{"use strict";var r=n(17e3),i=n(17596),a=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:a,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:s,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},61805:(e,t,n)=>{"use strict";var r=n(17e3),i=n(17596),a=n(10855),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,p=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:c,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:c,cols:u,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:c,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:c,height:u,hidden:o,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:c,itemRef:c,itemScope:o,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:u,pattern:null,ping:c,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:c,required:o,reversed:o,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:u,security:null,unselectable:null}})},45789:(e,t,n)=>{"use strict";var r=n(17e3),i=n(17596),a=n(28740),o=r.boolean,s=r.number,l=r.spaceSeparated,u=r.commaSeparated,c=r.commaOrSpaceSeparated;e.exports=i({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:a,properties:{about:c,accentHeight:s,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s,amplitude:s,arabicForm:null,ascent:s,attributeName:null,attributeType:null,azimuth:s,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s,by:null,calcMode:null,capHeight:s,className:l,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:s,diffuseConstant:s,direction:null,display:null,dur:null,divisor:s,dominantBaseline:null,download:o,dx:null,dy:null,edgeMode:null,editable:null,elevation:s,enableBackground:null,end:null,event:null,exponent:s,externalResourcesRequired:null,fill:null,fillOpacity:s,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:u,g2:u,glyphName:u,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s,horizOriginX:s,horizOriginY:s,id:null,ideographic:s,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s,k:s,k1:s,k2:s,k3:s,k4:s,kernelMatrix:c,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:s,overlineThickness:s,paintOrder:null,panose1:null,path:null,pathLength:s,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s,pointsAtY:s,pointsAtZ:s,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:c,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:c,rev:c,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:c,requiredFeatures:c,requiredFonts:c,requiredFormats:c,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:s,specularExponent:s,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s,strikethroughThickness:s,string:null,stroke:null,strokeDashArray:c,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s,strokeOpacity:s,strokeWidth:null,style:null,surfaceScale:s,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:c,tabIndex:s,tableValues:null,target:null,targetX:s,targetY:s,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:c,to:null,transform:null,u1:null,u2:null,underlinePosition:s,underlineThickness:s,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s,values:null,vAlphabetic:s,vMathematical:s,vectorEffect:null,vHanging:s,vIdeographic:s,version:null,vertAdvY:s,vertOriginX:s,vertOriginY:s,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},10855:(e,t,n)=>{"use strict";var r=n(28740);e.exports=function(e,t){return r(e,t.toLowerCase())}},28740:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:(e,t,n)=>{"use strict";var r=n(66632),i=n(99607),a=n(98805);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},u=e.properties,c=e.transform,p={},d={};for(t in u)n=new a(t,c(l,t),u[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),p[t]=n,d[r(t)]=t,d[r(n.attribute)]=t;return new i(p,d,o)}},98805:(e,t,n)=>{"use strict";var r=n(57643),i=n(17e3);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function s(e,t,n,s){var u,c=-1;for(l(this,"space",s),r.call(this,e,t);++c{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},19940:(e,t,n)=>{"use strict";var r=n(47529),i=n(99607);e.exports=function(e){var t,n,a=e.length,o=[],s=[],l=-1;for(;++l{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},17e3:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},8289:(e,t,n)=>{"use strict";var r=n(17596);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},5812:(e,t,n)=>{"use strict";var r=n(17596);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},94397:(e,t,n)=>{"use strict";var r=n(17596),i=n(10855);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:i,properties:{xmlns:null,xmlnsXLink:null}})},66632:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},11218:(e,t,n)=>{"use strict";var r=n(19940),i=n(8289),a=n(5812),o=n(94397),s=n(67716),l=n(45789);e.exports=r([a,i,o,s,l])},71471:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,a=60108,o=60114,s=60109,l=60110,u=60112,c=60113,p=60120,d=60115,f=60116,g=60121,m=60122,h=60117,b=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var E=Symbol.for;n=E("react.element"),r=E("react.portal"),i=E("react.fragment"),a=E("react.strict_mode"),o=E("react.profiler"),s=E("react.provider"),l=E("react.context"),u=E("react.forward_ref"),c=E("react.suspense"),p=E("react.suspense_list"),d=E("react.memo"),f=E("react.lazy"),g=E("react.block"),m=E("react.server.block"),h=E("react.fundamental"),b=E("react.debug_trace_mode"),y=E("react.legacy_hidden")}function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case o:case a:case c:case p:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case d:case s:return e;default:return t}}case r:return t}}}var S=s,k=n,T=u,w=i,A=f,R=d,C=r,I=o,O=a,_=c;t.ContextConsumer=l,t.ContextProvider=S,t.Element=k,t.ForwardRef=T,t.Fragment=w,t.Lazy=A,t.Memo=R,t.Portal=C,t.Profiler=I,t.StrictMode=O,t.Suspense=_,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===l},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===u},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===f},t.isMemo=function(e){return v(e)===d},t.isPortal=function(e){return v(e)===r},t.isProfiler=function(e){return v(e)===o},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===c},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===o||e===b||e===a||e===c||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e[0]===m)},t.typeOf=v},82143:(e,t,n)=>{"use strict";e.exports=n(71471)},82076:(e,t,n)=>{"use strict";const r=n(67294),i=n(82143),a=n(11218),o=n(99560),s=n(99640),l=n(36582),u=n(56851),c=n(57848);t.D=f;const p={}.hasOwnProperty,d=new Set(["table","thead","tbody","tfoot","tr"]);function f(e,t){const n=[];let r,i=-1;for(;++iString(e))).join("")),!v&&s.rawSourcePos&&(c.sourcePosition=t.position),!v&&s.includeElementIndex&&(c.index=m(o,t),c.siblingCount=m(o)),v||(c.node=t),b.length>0?r.createElement(E,c,b):r.createElement(E,c)}function m(e,t){let n=-1,r=0;for(;++n{"use strict";const r=n(67294),i=n(10939),a=n(18835),o=n(12861),s=n(78818),l=n(45697),u=n(97247),c=n(26625),p=n(40100),d=n(82076).D;e.exports=h;const f={}.hasOwnProperty,g="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",m={renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function h(e){for(const r in m)if(f.call(m,r)&&f.call(e,r)){const e=m[r];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${r}\` (see <${g}#${e.id}> for more info)`),delete m[r]}const t=a().use(o).use(e.remarkPlugins||e.plugins||[]).use(s,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(c,e);let n;"string"==typeof e.children?n=i(e.children):(void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`),n=i());const l=t.runSync(t.parse(n),n);if("root"!==l.type)throw new TypeError("Expected a `root` node");let p=r.createElement(r.Fragment,{},d({options:e,schema:u,listDepth:0},l));return e.className&&(p=r.createElement("div",{className:e.className},p)),p}h.defaultProps={transformLinkUri:p},h.propTypes={children:l.string,className:l.string,allowElement:l.func,allowedElements:l.arrayOf(l.string),disallowedElements:l.arrayOf(l.string),unwrapDisallowed:l.bool,remarkPlugins:l.arrayOf(l.oneOfType([l.object,l.func,l.arrayOf(l.oneOfType([l.object,l.func]))])),rehypePlugins:l.arrayOf(l.oneOfType([l.object,l.func,l.arrayOf(l.oneOfType([l.object,l.func]))])),sourcePos:l.bool,rawSourcePos:l.bool,skipHtml:l.bool,includeElementIndex:l.bool,transformLinkUri:l.oneOfType([l.func,l.bool]),linkTarget:l.oneOfType([l.func,l.string]),transformImageUri:l.func,components:l.object},h.uriTransformer=p},26625:(e,t,n)=>{const r=n(62854);e.exports=function(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return e=>{r(e,"element",t)};function t(t,n,r){const i=t,a=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(i.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(i.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(i,n,a)),o&&"number"==typeof n)return e.unwrapDisallowed&&i.children?a.children.splice(n,1,...i.children):a.children.splice(n,1),n}}},40100:e=>{const t=["http","https","mailto","tel"];e.exports=function(e){const n=(e||"").trim(),r=n.charAt(0);if("#"===r||"/"===r)return n;const i=n.indexOf(":");if(-1===i)return n;let a=-1;for(;++aa)return n;if(a=n.indexOf("#"),-1!==a&&i>a)return n;return"javascript:void(0)"}},13960:(e,t,n)=>{"use strict";n.d(t,{Z:()=>D});var r=n(63366);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return function(e){if(0===e.length||1===e.length)return e;var t,n,r=e.join(".");return f[r]||(f[r]=0===(n=(t=e).length)||1===n?t:2===n?[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])]:3===n?[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])]:n>=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),f[r]}(e.filter((function(e){return"token"!==e}))).reduce((function(e,t){return d(d({},e),n[t])}),t)}function m(e){return e.join(" ")}function h(e){var t=e.node,n=e.stylesheet,r=e.style,i=void 0===r?{}:r,a=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,p=t.tagName,f=t.value;if("text"===l)return f;if(p){var b,y=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,i){return h({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})}))}}(n,a);if(a){var E=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),v=s.className&&s.className.includes("token")?["token"]:[],S=s.className&&v.concat(s.className.filter((function(e){return!E.includes(e)})));b=d(d({},s),{},{className:m(S)||void 0,style:g(s.className,Object.assign({},s.style,i),n)})}else b=d(d({},s),{},{className:m(s.className)});var k=y(t.children);return u.createElement(p,(0,c.Z)({key:o},b),k)}}const b=function(e,t){return-1!==e.listLanguages().indexOf(t)};var y=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return t||u.length>0?function(e,t){return A({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:i,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l})}(e,a,u):function(e,t){if(r&&t&&i){var n=w(s,t,o);e.unshift(T(t,n))}return e}(e,a)}for(var m=function(){var e=c[f],t=e.children[0].value;if(t.match(S)){var n=t.split("\n");n.forEach((function(t,i){var o=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===i){var l=g(c.slice(d+1,f).concat(A({children:[s],className:e.properties.className})),o);p.push(l)}else if(i===n.length-1){var u=c[f+1]&&c[f+1].children&&c[f+1].children[0],m={type:"text",value:"".concat(t)};if(u){var h=A({children:[m],className:e.properties.className});c.splice(f+1,0,h)}else{var b=g([m],o,e.properties.className);p.push(b)}}else{var y=g([s],o,e.properties.className);p.push(y)}})),d=f}f++};f code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,i=e.style,a=void 0===i?x:i,o=e.customStyle,s=void 0===o?{}:o,l=e.codeTagProps,c=void 0===l?{className:t?"language-".concat(t):void 0,style:v(v({},a['code[class*="language-"]']),a['code[class*="language-'.concat(t,'"]')])}:l,p=e.useInlineStyles,d=void 0===p||p,f=e.showLineNumbers,g=void 0!==f&&f,m=e.showInlineLineNumbers,h=void 0===m||m,E=e.startingLineNumber,S=void 0===E?1:E,T=e.lineNumberContainerStyle,w=e.lineNumberStyle,A=void 0===w?{}:w,R=e.wrapLines,_=e.wrapLongLines,L=void 0!==_&&_,D=e.lineProps,P=void 0===D?{}:D,M=e.renderer,F=e.PreTag,U=void 0===F?"pre":F,B=e.CodeTag,G=void 0===B?"code":B,H=e.code,z=void 0===H?(Array.isArray(n)?n[0]:n)||"":H,$=e.astGenerator,j=function(e,t){if(null==e)return{};var n,i,a=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,y);$=$||N;var V=g?u.createElement(k,{containerStyle:T,codeStyle:c.style||{},numberStyle:A,startingLineNumber:S,codeString:z}):null,W=a.hljs||a['pre[class*="language-"]']||{backgroundColor:"#fff"},K=O($)?"hljs":"prismjs",q=d?Object.assign({},j,{style:Object.assign({},W,s)}):Object.assign({},j,{className:j.className?"".concat(K," ").concat(j.className):K,style:Object.assign({},s)});if(c.style=v(v({},c.style),{},L?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!$)return u.createElement(U,q,V,u.createElement(G,c,z));(void 0===R&&M||L)&&(R=!0),M=M||I;var Y=[{type:"text",value:z}],X=function(e){var t=e.astGenerator,n=e.language,r=e.code,i=e.defaultCodeValue;if(O(t)){var a=b(t,n);return"text"===n?{value:i,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:i}}catch(o){return{value:i}}}({astGenerator:$,language:t,code:z,defaultCodeValue:Y});null===X.language&&(X.value=Y);var Z=C(X,R,P,g,h,S,X.value.length+S,A,L);return u.createElement(U,q,u.createElement(G,c,!h&&V,M({rows:Z,stylesheet:a,useInlineStyles:d})))});L.supportedLanguages=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];const D=L},89739:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},340:(e,t,n)=>{"use strict";n.d(t,{OK:()=>D,td:()=>O,x4:()=>B,mQ:()=>A});var r=n(67294);function i(e){return function(t){return!!t.type&&t.type.tabsRole===e}}var a=i("Tab"),o=i("TabList"),s=i("TabPanel");function l(){return l=Object.assign||function(e){for(var t=1;t=this.getTabsCount())){var n=this.props;(0,n.onSelect)(e,n.selectedIndex,t)}},l.getNextTab=function(e){for(var t=this.getTabsCount(),n=e+1;ne;)if(!S(this.getTab(t)))return t;return e},l.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t=0||(i[n]=e[n]);return i}(t,h));return r.createElement("div",b({},a,{className:(0,p.Z)(n),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,i&&i(t)},"data-rttabs":!0}),this.getChildren())},i}(r.Component);k.defaultProps={className:"react-tabs",focus:!1},k.propTypes={};var T=["children","defaultIndex","defaultFocus"];function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}var A=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).handleSelected=function(e,t,r){var i=n.props.onSelect,a=n.state.mode;if("function"!=typeof i||!1!==i(e,t,r)){var o={focus:"keydown"===r.type};1===a&&(o.selectedIndex=e),n.setState(o)}},n.state=i.copyPropsToState(n.props,{},t.defaultFocus),n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,w(t,n),i.getDerivedStateFromProps=function(e,t){return i.copyPropsToState(e,t)},i.getModeFromProps=function(e){return null===e.selectedIndex?1:0},i.copyPropsToState=function(e,t,n){void 0===n&&(n=!1);var r={focus:n,mode:i.getModeFromProps(e)};if(1===r.mode){var a=Math.max(0,g(e.children)-1),o=null;o=null!=t.selectedIndex?Math.min(t.selectedIndex,a):e.defaultIndex||0,r.selectedIndex=o}return r},i.prototype.render=function(){var e=this.props,t=e.children,n=(e.defaultIndex,e.defaultFocus,function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,T)),i=this.state,a=i.focus,o=i.selectedIndex;return n.focus=a,n.onSelect=this.handleSelected,null!=o&&(n.selectedIndex=o),r.createElement(k,n,t)},i}(r.Component);A.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},A.propTypes={},A.tabsRole="Tabs";var R=["children","className"];function C(){return C=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,R);return r.createElement("ul",C({},i,{className:(0,p.Z)(n),role:"tablist"}),t)},i}(r.Component);O.defaultProps={className:"react-tabs__tab-list"},O.propTypes={},O.tabsRole="TabList";var _=["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"];function N(){return N=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(n,_);return r.createElement("li",N({},m,{className:(0,p.Z)(a,(e={},e[d]=c,e[s]=o,e)),ref:function(e){t.node=e,g&&g(e)},role:"tab",id:l,"aria-selected":c?"true":"false","aria-disabled":o?"true":"false","aria-controls":u,tabIndex:f||(c?"0":null),"data-rttab":!0}),i)},i}(r.Component);D.defaultProps={className:L,disabledClassName:L+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:L+"--selected"},D.propTypes={},D.tabsRole="Tab";var P=["children","className","forceRender","id","selected","selectedClassName","tabId"];function M(){return M=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(t,P);return r.createElement("div",M({},c,{className:(0,p.Z)(i,(e={},e[l]=s,e)),role:"tabpanel",id:o,"aria-labelledby":u}),a||s?n:null)},i}(r.Component);B.defaultProps={className:U,forceRender:!1,selectedClassName:U+"--selected"},B.propTypes={},B.tabsRole="TabPanel"},11215:(e,t,n)=>{"use strict";var r,i,a="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(i=(r="Prism"in a)?a.Prism:void 0,function(){r?a.Prism=i:delete a.Prism,r=void 0,i=void 0});a.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),u=n(59216),c=n(2717),p=n(12049),d=n(29726),f=n(36155);o();var g={}.hasOwnProperty;function m(){}m.prototype=u;var h=new m;function b(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===h.languages[e.displayName]&&e(h)}e.exports=h,h.highlight=function(e,t){var n,r=u.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===h.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!g.call(h.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=h.languages[t]}return r.call(this,e,n,t)},h.register=b,h.alias=function(e,t){var n,r,i,a,o=h.languages,s=e;t&&((s={})[e]=t);for(n in s)for(i=(r="string"==typeof(r=s[n])?[r]:r).length,a=-1;++a{"use strict";var r=n(11215);e.exports=r,r.register(n(36167)),r.register(n(68313)),r.register(n(5199)),r.register(n(89693)),r.register(n(24001)),r.register(n(18018)),r.register(n(36363)),r.register(n(34764)),r.register(n(10433)),r.register(n(84039)),r.register(n(71336)),r.register(n(4481)),r.register(n(2159)),r.register(n(60274)),r.register(n(18738)),r.register(n(58572)),r.register(n(28937)),r.register(n(78734)),r.register(n(6681)),r.register(n(53358)),r.register(n(81700)),r.register(n(37219)),r.register(n(6979)),r.register(n(46241)),r.register(n(94781)),r.register(n(62260)),r.register(n(36153)),r.register(n(59258)),r.register(n(62890)),r.register(n(15958)),r.register(n(61321)),r.register(n(77856)),r.register(n(90741)),r.register(n(83410)),r.register(n(65806)),r.register(n(33039)),r.register(n(85082)),r.register(n(79415)),r.register(n(62849)),r.register(n(55773)),r.register(n(32762)),r.register(n(43576)),r.register(n(71794)),r.register(n(1315)),r.register(n(80096)),r.register(n(99176)),r.register(n(61958)),r.register(n(90312)),r.register(n(65447)),r.register(n(4762)),r.register(n(78090)),r.register(n(40315)),r.register(n(7902)),r.register(n(28651)),r.register(n(55579)),r.register(n(93685)),r.register(n(13934)),r.register(n(93336)),r.register(n(13294)),r.register(n(38223)),r.register(n(97266)),r.register(n(80636)),r.register(n(36500)),r.register(n(30296)),r.register(n(50115)),r.register(n(20791)),r.register(n(11974)),r.register(n(8645)),r.register(n(84790)),r.register(n(4502)),r.register(n(66055)),r.register(n(34668)),r.register(n(95126)),r.register(n(90618)),r.register(n(63128)),r.register(n(37225)),r.register(n(16725)),r.register(n(95559)),r.register(n(82114)),r.register(n(6806)),r.register(n(12208)),r.register(n(62728)),r.register(n(81549)),r.register(n(6024)),r.register(n(13600)),r.register(n(3322)),r.register(n(53877)),r.register(n(60794)),r.register(n(20222)),r.register(n(51519)),r.register(n(94055)),r.register(n(43826)),r.register(n(29536)),r.register(n(82834)),r.register(n(58090)),r.register(n(95121)),r.register(n(59904)),r.register(n(9436)),r.register(n(60591)),r.register(n(76942)),r.register(n(60561)),r.register(n(49660)),r.register(n(30615)),r.register(n(84071)),r.register(n(51078)),r.register(n(91178)),r.register(n(40011)),r.register(n(12017)),r.register(n(65175)),r.register(n(14970)),r.register(n(30764)),r.register(n(87624)),r.register(n(15909)),r.register(n(36553)),r.register(n(9858)),r.register(n(11223)),r.register(n(57957)),r.register(n(66604)),r.register(n(77935)),r.register(n(46155)),r.register(n(47359)),r.register(n(25319)),r.register(n(45950)),r.register(n(50235)),r.register(n(80963)),r.register(n(79358)),r.register(n(96412)),r.register(n(39259)),r.register(n(32409)),r.register(n(35760)),r.register(n(19715)),r.register(n(27614)),r.register(n(82819)),r.register(n(42876)),r.register(n(2980)),r.register(n(41701)),r.register(n(42491)),r.register(n(34927)),r.register(n(3848)),r.register(n(41469)),r.register(n(73070)),r.register(n(35049)),r.register(n(8789)),r.register(n(59803)),r.register(n(86328)),r.register(n(33055)),r.register(n(90542)),r.register(n(93205)),r.register(n(27992)),r.register(n(91115)),r.register(n(606)),r.register(n(68582)),r.register(n(23388)),r.register(n(90596)),r.register(n(95721)),r.register(n(64262)),r.register(n(18190)),r.register(n(70896)),r.register(n(42242)),r.register(n(37943)),r.register(n(293)),r.register(n(83873)),r.register(n(75932)),r.register(n(60221)),r.register(n(44188)),r.register(n(74426)),r.register(n(88447)),r.register(n(16032)),r.register(n(33607)),r.register(n(22001)),r.register(n(22950)),r.register(n(23254)),r.register(n(92694)),r.register(n(43273)),r.register(n(60718)),r.register(n(39303)),r.register(n(77393)),r.register(n(19023)),r.register(n(74212)),r.register(n(5137)),r.register(n(88262)),r.register(n(63632)),r.register(n(59149)),r.register(n(50256)),r.register(n(61777)),r.register(n(3623)),r.register(n(82707)),r.register(n(59338)),r.register(n(56267)),r.register(n(98809)),r.register(n(37548)),r.register(n(82161)),r.register(n(80625)),r.register(n(88393)),r.register(n(78404)),r.register(n(92923)),r.register(n(52992)),r.register(n(55762)),r.register(n(4137)),r.register(n(28260)),r.register(n(71360)),r.register(n(29308)),r.register(n(32168)),r.register(n(5755)),r.register(n(54105)),r.register(n(93503)),r.register(n(35108)),r.register(n(46678)),r.register(n(47496)),r.register(n(30527)),r.register(n(5261)),r.register(n(56939)),r.register(n(83648)),r.register(n(16009)),r.register(n(41720)),r.register(n(6054)),r.register(n(9997)),r.register(n(24296)),r.register(n(49246)),r.register(n(18890)),r.register(n(11037)),r.register(n(64020)),r.register(n(49760)),r.register(n(33351)),r.register(n(13570)),r.register(n(38181)),r.register(n(98774)),r.register(n(22855)),r.register(n(29611)),r.register(n(11114)),r.register(n(67386)),r.register(n(28067)),r.register(n(49168)),r.register(n(23651)),r.register(n(21483)),r.register(n(32268)),r.register(n(2329)),r.register(n(82996)),r.register(n(17290)),r.register(n(67989)),r.register(n(31065)),r.register(n(85572)),r.register(n(27536)),r.register(n(87041)),r.register(n(61028)),r.register(n(24691)),r.register(n(19892)),r.register(n(4979)),r.register(n(23159)),r.register(n(34966)),r.register(n(44623)),r.register(n(38521)),r.register(n(7255)),r.register(n(28173)),r.register(n(53813)),r.register(n(46891)),r.register(n(91824)),r.register(n(9447)),r.register(n(53062)),r.register(n(46215)),r.register(n(10784)),r.register(n(17684)),r.register(n(64851)),r.register(n(18191)),r.register(n(75242)),r.register(n(93639)),r.register(n(97202)),r.register(n(13808)),r.register(n(21301)),r.register(n(20349)),r.register(n(65039)),r.register(n(96319)),r.register(n(31501))},36167:e=>{"use strict";function t(e){e.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:e=>{"use strict";function t(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}(e)}e.exports=t,t.displayName="abnf",t.aliases=[]},5199:e=>{"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:e=>{"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:e=>{"use strict";function t(e){!function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}\u2983\u2984.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:\u2200\u2192\u03bb\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}(e)}e.exports=t,t.displayName="agda",t.aliases=[]},18018:e=>{"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:e=>{"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},34764:e=>{"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:(e,t,n)=>{"use strict";var r=n(11114);function i(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,(function(){return t.source}));function r(e){return RegExp(e.replace(//g,(function(){return n})),"i")}var i={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:i},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:i},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:i}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=i,i.displayName="apex",i.aliases=[]},84039:e=>{"use strict";function t(e){e.languages.apl={comment:/(?:\u235d|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/\xaf?(?:\d*\.?\b\d+(?:e[+\xaf]?\d+)?|\xaf|\u221e)(?:j\xaf?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+\xaf]?\d+)?|\xaf|\u221e))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/\u2395[A-Z]+/i,alias:"function"},constant:/[\u236c\u233e#\u2395\u235e]/,function:/[-+\xd7\xf7\u2308\u230a\u2223|\u2373\u2378?*\u235f\u25cb!\u2339<\u2264=>\u2265\u2260\u2261\u2262\u220a\u2377\u222a\u2229~\u2228\u2227\u2371\u2372\u2374,\u236a\u233d\u2296\u2349\u2191\u2193\u2282\u2283\u2286\u2287\u2337\u234b\u2352\u22a4\u22a5\u2355\u234e\u22a3\u22a2\u2341\u2342\u2248\u236f\u2197\xa4\u2192]/,"monadic-operator":{pattern:/[\\\/\u233f\u2340\xa8\u2368\u2336&\u2225]/,alias:"operator"},"dyadic-operator":{pattern:/[.\u2363\u2360\u2364\u2218\u2338@\u233a\u2365]/,alias:"operator"},assignment:{pattern:/\u2190/,alias:"keyword"},punctuation:/[\[;\]()\u25c7\u22c4]/,dfn:{pattern:/[{}\u237a\u2375\u2376\u2379\u2207\u236b:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:e=>{"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=\u2260\u2264\u2265*+\-\/\xf7^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,\xac\xab\xbb\u300a\u300b]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:e=>{"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'\xb4`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([\xb4`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:(e,t,n)=>{"use strict";var r=n(80096);function i(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=i,i.displayName="arduino",i.aliases=["ino"]},60274:e=>{"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:e=>{"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){for(var t={},r=0,i=(e=e.split(" ")).length;r{"use strict";function t(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}e.exports=t,t.displayName="asm6502",t.aliases=[]},28937:e=>{"use strict";function t(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:(e,t,n)=>{"use strict";var r=n(61958);function i(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=i,i.displayName="aspnet",i.aliases=[]},6681:e=>{"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:e=>{"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:e=>{"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return t[+n]}))}(e,t),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:e=>{"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:e=>{"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,o=0;o{"use strict";function t(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:e=>{"use strict";function t(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}e.exports=t,t.displayName="batch",t.aliases=[]},62260:e=>{"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:e=>{"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:e=>{"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=i,i.displayName="bison",i.aliases=[]},15958:e=>{"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:e=>{"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:e=>{"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:e=>{"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:e=>{"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\u043f\u043e\u043a\u0430|\u0434\u043b\u044f|\u043d\u043e\u0432\u044b\u0439|\u043f\u0440\u0435\u0440\u0432\u0430\u0442\u044c|\u043f\u043e\u043f\u044b\u0442\u043a\u0430|\u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435|\u0432\u044b\u0437\u0432\u0430\u0442\u044c\u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435|\u0438\u043d\u0430\u0447\u0435|\u043a\u043e\u043d\u0435\u0446\u043f\u043e\u043f\u044b\u0442\u043a\u0438|\u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e|\u0444\u0443\u043d\u043a\u0446\u0438\u044f|\u043f\u0435\u0440\u0435\u043c|\u0432\u043e\u0437\u0432\u0440\u0430\u0442|\u043a\u043e\u043d\u0435\u0446\u0444\u0443\u043d\u043a\u0446\u0438\u0438|\u0435\u0441\u043b\u0438|\u0438\u043d\u0430\u0447\u0435\u0435\u0441\u043b\u0438|\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430|\u043a\u043e\u043d\u0435\u0446\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b|\u0442\u043e\u0433\u0434\u0430|\u0437\u043d\u0430\u0447|\u044d\u043a\u0441\u043f\u043e\u0440\u0442|\u043a\u043e\u043d\u0435\u0446\u0435\u0441\u043b\u0438|\u0438\u0437|\u043a\u0430\u0436\u0434\u043e\u0433\u043e|\u0438\u0441\u0442\u0438\u043d\u0430|\u043b\u043e\u0436\u044c|\u043f\u043e|\u0446\u0438\u043a\u043b|\u043a\u043e\u043d\u0435\u0446\u0446\u0438\u043a\u043b\u0430|\u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\u0438|\u0438\u043b\u0438|\u043d\u0435)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:e=>{"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:e=>{"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:(e,t,n)=>{"use strict";var r=n(80096);function i(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=i,i.displayName="chaiscript",i.aliases=[]},79415:e=>{"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:e=>{"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:e=>{"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:e=>{"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:e=>{"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:e=>{"use strict";function t(e){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:e=>{"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:e=>{"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,(function(){return t}))),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(e)}e.exports=i,i.displayName="cpp",i.aliases=[]},99176:(e,t,n)=>{"use strict";var r=n(56939);function i(e){e.register(r),function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}e.exports=i,i.displayName="crystal",i.aliases=[]},61958:e=>{"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",o="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(a),c=RegExp(l(i+" "+a+" "+o+" "+s)),p=l(a+" "+o+" "+s),d=l(i+" "+a+" "+s),f=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),g=r(/\((?:[^()]|<>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,h=t(/<<0>>(?:\s*<<1>>)?/.source,[m,f]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,h]),y=/\[\s*(?:,\s*)*\]/.source,E=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,y]),v=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,g,y]),S=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[v]),k=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,b,y]),T={keyword:c,punctuation:/[<>()?,.:[\]]/},w=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,R=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,k]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,h]),lookbehind:!0,inside:T},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:T},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[E]),lookbehind:!0,inside:T},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[k,d,m]),inside:T}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[g]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[k,b]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[k]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,f]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(f),alias:"class-name",inside:T}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,h,m,k,c.source,g,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,g]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(k),greedy:!0,inside:T},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var C=A+"|"+w,I=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[C]),O=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,N=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,O]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,N]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[O]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var x=/:[^}\r\n]+/.source,L=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,x]),P=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[C]),2),M=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,x]);function F(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,x]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:F(D,L)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:F(M,P)}],char:{pattern:RegExp(w),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:(e,t,n)=>{"use strict";var r=n(61958);function i(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var i=0;i/g,(function(){return"(?:"+e+")"}));return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var i=r(/\((?:[^()'"@/]|||)*\)/.source,2),a=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,u=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,c=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/{"use strict";function t(e){!function(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}(e)}e.exports=t,t.displayName="csp",t.aliases=[]},4762:e=>{"use strict";function t(e){!function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:i})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:e=>{"use strict";function t(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}e.exports=t,t.displayName="css",t.aliases=[]},78090:e=>{"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:e=>{"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:e=>{"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:e=>{"use strict";function t(e){!function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}e.exports=t,t.displayName="dart",t.aliases=[]},55579:e=>{"use strict";function t(e){!function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}(e)}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:e=>{"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:e=>{"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:e=>{"use strict";function t(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}e.exports=t,t.displayName="diff",t.aliases=[]},13294:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"django",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"django")})),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"jinja2",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"jinja2")}))}(e)}e.exports=i,i.displayName="django",i.aliases=["jinja2"]},38223:e=>{"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:e=>{"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,(function(){return t})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,(function(){return r})),a={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(//g,(function(){return i})).replace(//g,(function(){return n})),RegExp(e,t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},80636:e=>{"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,(function(){return t})),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:e=>{"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:e=>{"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:e=>{"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})),e.languages.eta=e.languages.ejs}(e)}e.exports=i,i.displayName="ejs",i.aliases=["eta"]},11974:e=>{"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach((function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}}))}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:e=>{"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:(e,t,n)=>{"use strict";var r=n(56939),i=n(93205);function a(e){e.register(r),e.register(i),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")}))}(e)}e.exports=a,a.displayName="erb",a.aliases=[]},4502:e=>{"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:(e,t,n)=>{"use strict";var r=n(59803),i=n(93205);function a(e){e.register(r),e.register(i),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")}))}(e)}e.exports=a,a.displayName="etlua",a.aliases=[]},34668:e=>{"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:e=>{"use strict";function t(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},i=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(e){return new RegExp("(^|\\s)(?:"+e.map(i).join("|")+")(?=\\s|$)")},o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(o).forEach((function(e){r[e].pattern=a(o[e])}));r.combinators.pattern=a(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}(e)}e.exports=t,t.displayName="factor",t.aliases=[]},90618:e=>{"use strict";function t(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~\xdf\xf8]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[(){"use strict";function t(e){e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:e=>{"use strict";function t(e){!function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}e.exports=t,t.displayName="flow",t.aliases=[]},16725:e=>{"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:e=>{"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,(function(){return t}))),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,(function(){return t}))),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",(function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,(function(){return t})),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")}))}(e)}e.exports=i,i.displayName="ftl",i.aliases=[]},6806:e=>{"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:e=>{"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:e=>{"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:e=>{"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:e=>{"use strict";function t(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Caracter\xedstica|Egenskab|Egenskap|Eiginleiki|Feature|F\u012b\u010da|Fitur|Fonctionnalit\xe9|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Func\u0163ionalitate|Func\u021bionalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalit\u0101te|Funkcionalnost|Funkcja|Funksie|Funktionalit\xe4t|Funktionalit\xe9it|Funzionalit\xe0|Hwaet|Hw\xe6t|Jellemz\u0151|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogu\u0107nost|Moznosti|Mo\u017enosti|OH HAI|Omadus|Ominaisuus|Osobina|\xd6zellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Po\u017eadavek|Po\u017eiadavka|Pretty much|Qap|Qu'meH 'ut|Savyb\u0117|T\xednh n\u0103ng|Trajto|Vermo\xeb|Vlastnos\u0165|W\u0142a\u015bciwo\u015b\u0107|Zna\u010dilnost|\u0394\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1|\u039b\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1|\u041c\u043e\u0433\u0443\u045b\u043d\u043e\u0441\u0442|\u041c\u04e9\u043c\u043a\u0438\u043d\u043b\u0435\u043a|\u041e\u0441\u043e\u0431\u0438\u043d\u0430|\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e|\u04ae\u0437\u0435\u043d\u0447\u04d9\u043b\u0435\u043a\u043b\u0435\u043b\u0435\u043a|\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b|\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043d\u043e\u0441\u0442|\u0424\u0443\u043d\u043a\u0446\u0438\u044f|\u0424\u0443\u043d\u043a\u0446\u0456\u043e\u043d\u0430\u043b|\u05ea\u05db\u05d5\u05e0\u05d4|\u062e\u0627\u0635\u064a\u0629|\u062e\u0635\u0648\u0635\u06cc\u062a|\u0635\u0644\u0627\u062d\u06cc\u062a|\u06a9\u0627\u0631\u0648\u0628\u0627\u0631 \u06a9\u06cc \u0636\u0631\u0648\u0631\u062a|\u0648\u0650\u06cc\u0698\u06af\u06cc|\u0930\u0942\u092a \u0932\u0947\u0916|\u0a16\u0a3e\u0a38\u0a40\u0a05\u0a24|\u0a28\u0a15\u0a36 \u0a28\u0a41\u0a39\u0a3e\u0a30|\u0a2e\u0a41\u0a39\u0a3e\u0a02\u0a26\u0a30\u0a3e|\u0c17\u0c41\u0c23\u0c2e\u0c41|\u0cb9\u0cc6\u0c9a\u0ccd\u0c9a\u0cb3|\u0e04\u0e27\u0e32\u0e21\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08|\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16|\u0e42\u0e04\u0e23\u0e07\u0e2b\u0e25\u0e31\u0e01|\uae30\ub2a5|\u30d5\u30a3\u30fc\u30c1\u30e3|\u529f\u80fd|\u6a5f\u80fd):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|\xc6r|Agtergrond|All y'all|Antecedentes|Antecedents|Atbur\xf0ar\xe1s|Atbur\xf0ar\xe1sir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|B\u1ed1i c\u1ea3nh|Cefndir|Cenario|Cen\xe1rio|Cenario de Fundo|Cen\xe1rio de Fundo|Cenarios|Cen\xe1rios|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|D\xe6mi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delinea\xe7\xe3o do Cen\xe1rio|Dis is what went down|D\u1eef li\u1ec7u|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cen\xe1rio|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgat\xf3k\xf6nyv|Forgat\xf3k\xf6nyv v\xe1zlat|Fundo|Ge\xe7mi\u015f|Grundlage|Hannergrond|ghantoH|H\xe1tt\xe9r|Heave to|Istorik|Juhtumid|Keadaan|Khung k\u1ecbch b\u1ea3n|Khung t\xecnh hu\u1ed1ng|K\u1ecbch b\u1ea3n|Koncept|Konsep skenario|Kont\xe8ks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|L\xfdsing Atbur\xf0ar\xe1sar|L\xfdsing D\xe6ma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|N\xe1\u010drt Scen\xe1ra|N\xe1\u010drt Sc\xe9n\xe1\u0159e|N\xe1\u010drt Scen\xe1ru|Oris scenarija|\xd6rnekler|Osnova|Osnova Scen\xe1ra|Osnova sc\xe9n\xe1\u0159e|Osnutek|Ozadje|Paraugs|Pavyzd\u017eiai|P\xe9ld\xe1k|Piem\u0113ri|Plan du sc\xe9nario|Plan du Sc\xe9nario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozad\xed|Pozadie|Pozadina|Pr\xedklady|P\u0159\xedklady|Primer|Primeri|Primjeri|Przyk\u0142ady|Raamstsenaarium|Reckon it's like|Rerefons|Scen\xe1r|Sc\xe9n\xe1\u0159|Scenarie|Scenarij|Scenarijai|Scenarijaus \u0161ablonas|Scenariji|Scen\u0101rijs|Scen\u0101rijs p\u0113c parauga|Scenarijus|Scenario|Sc\xe9nario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se \xf0e|Se the|Se \xfee|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo tasla\u011f\u0131|Shiver me timbers|Situ\u0101cija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structur\u0103 scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hw\xe6r swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|T\xecnh hu\u1ed1ng|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Za\u0142o\u017cenia|\u03a0\u03b1\u03c1\u03b1\u03b4\u03b5\u03af\u03b3\u03bc\u03b1\u03c4\u03b1|\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03a3\u03b5\u03bd\u03b1\u03c1\u03af\u03bf\u03c5|\u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1|\u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf|\u03a5\u03c0\u03cc\u03b2\u03b1\u03b8\u03c1\u03bf|\u041a\u0435\u0440\u0435\u0448|\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442|\u041a\u043e\u043d\u0446\u0435\u043f\u0442|\u041c\u0438\u0441\u0430\u043b\u043b\u0430\u0440|\u041c\u0438\u0441\u043e\u043b\u043b\u0430\u0440|\u041e\u0441\u043d\u043e\u0432\u0430|\u041f\u0435\u0440\u0435\u0434\u0443\u043c\u043e\u0432\u0430|\u041f\u043e\u0437\u0430\u0434\u0438\u043d\u0430|\u041f\u0440\u0435\u0434\u0438\u0441\u0442\u043e\u0440\u0438\u044f|\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f|\u041f\u0440\u0438\u043a\u043b\u0430\u0434\u0438|\u041f\u0440\u0438\u043c\u0435\u0440|\u041f\u0440\u0438\u043c\u0435\u0440\u0438|\u041f\u0440\u0438\u043c\u0435\u0440\u044b|\u0420\u0430\u043c\u043a\u0430 \u043d\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439|\u0421\u043a\u0438\u0446\u0430|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0458\u0430|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u044e|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0441\u0438|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439\u043d\u044b\u04a3 \u0442\u04e9\u0437\u0435\u043b\u0435\u0448\u0435|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0458\u0438|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u043e|\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439|\u0422\u0430\u0440\u0438\u0445|\u04ae\u0440\u043d\u04d9\u043a\u043b\u04d9\u0440|\u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea|\u05e8\u05e7\u05e2|\u05ea\u05d1\u05e0\u05d9\u05ea \u05ea\u05e8\u05d7\u05d9\u05e9|\u05ea\u05e8\u05d7\u05d9\u05e9|\u0627\u0644\u062e\u0644\u0641\u064a\u0629|\u0627\u0644\u06af\u0648\u06cc \u0633\u0646\u0627\u0631\u06cc\u0648|\u0627\u0645\u062b\u0644\u0629|\u067e\u0633 \u0645\u0646\u0638\u0631|\u0632\u0645\u06cc\u0646\u0647|\u0633\u0646\u0627\u0631\u06cc\u0648|\u0633\u064a\u0646\u0627\u0631\u064a\u0648|\u0633\u064a\u0646\u0627\u0631\u064a\u0648 \u0645\u062e\u0637\u0637|\u0645\u062b\u0627\u0644\u06cc\u06ba|\u0645\u0646\u0638\u0631 \u0646\u0627\u0645\u06d2 \u06a9\u0627 \u062e\u0627\u06a9\u06c1|\u0645\u0646\u0638\u0631\u0646\u0627\u0645\u06c1|\u0646\u0645\u0648\u0646\u0647 \u0647\u0627|\u0909\u0926\u093e\u0939\u0930\u0923|\u092a\u0930\u093f\u0926\u0943\u0936\u094d\u092f|\u092a\u0930\u093f\u0926\u0943\u0936\u094d\u092f \u0930\u0942\u092a\u0930\u0947\u0916\u093e|\u092a\u0943\u0937\u094d\u0920\u092d\u0942\u092e\u093f|\u0a09\u0a26\u0a3e\u0a39\u0a30\u0a28\u0a3e\u0a02|\u0a2a\u0a1f\u0a15\u0a25\u0a3e|\u0a2a\u0a1f\u0a15\u0a25\u0a3e \u0a22\u0a3e\u0a02\u0a1a\u0a3e|\u0a2a\u0a1f\u0a15\u0a25\u0a3e \u0a30\u0a42\u0a2a \u0a30\u0a47\u0a16\u0a3e|\u0a2a\u0a3f\u0a1b\u0a4b\u0a15\u0a5c|\u0c09\u0c26\u0c3e\u0c39\u0c30\u0c23\u0c32\u0c41|\u0c15\u0c25\u0c28\u0c02|\u0c28\u0c47\u0c2a\u0c25\u0c4d\u0c2f\u0c02|\u0c38\u0c28\u0c4d\u0c28\u0c3f\u0c35\u0c47\u0c36\u0c02|\u0c89\u0ca6\u0cbe\u0cb9\u0cb0\u0ca3\u0cc6\u0c97\u0cb3\u0cc1|\u0c95\u0ca5\u0cbe\u0cb8\u0cbe\u0cb0\u0cbe\u0c82\u0cb6|\u0cb5\u0cbf\u0cb5\u0cb0\u0ca3\u0cc6|\u0cb9\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6\u0cb2\u0cc6|\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e0a\u0e38\u0e14\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07|\u0e0a\u0e38\u0e14\u0e02\u0e2d\u0e07\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e41\u0e19\u0e27\u0e04\u0e34\u0e14|\u0e2a\u0e23\u0e38\u0e1b\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\ubc30\uacbd|\uc2dc\ub098\ub9ac\uc624|\uc2dc\ub098\ub9ac\uc624 \uac1c\uc694|\uc608|\u30b5\u30f3\u30d7\u30eb|\u30b7\u30ca\u30ea\u30aa|\u30b7\u30ca\u30ea\u30aa\u30a2\u30a6\u30c8\u30e9\u30a4\u30f3|\u30b7\u30ca\u30ea\u30aa\u30c6\u30f3\u30d7\u30ec|\u30b7\u30ca\u30ea\u30aa\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8|\u30c6\u30f3\u30d7\u30ec|\u4f8b|\u4f8b\u5b50|\u5267\u672c|\u5267\u672c\u5927\u7eb2|\u5287\u672c|\u5287\u672c\u5927\u7db1|\u573a\u666f|\u573a\u666f\u5927\u7eb2|\u5834\u666f|\u5834\u666f\u5927\u7db1|\u80cc\u666f):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A tak\xe9|A taktie\u017e|A tie\u017e|A z\xe1rove\u0148|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|At\xe8s|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Bi\u1ebft|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|C\xe2nd|Cand|Cando|Ce|Cuando|\u010ce|\xd0a \xf0e|\xd0a|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Da\u0163i fiind|Da\u021bi fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donita\u0135o|Do|Dun|Duota|\xd0urh|Eeldades|Ef|E\u011fer ki|Entao|Ent\xe3o|Ent\xf3n|E|En|Entonces|Epi|\xc9s|Etant donn\xe9e|Etant donn\xe9|Et|\xc9tant donn\xe9es|\xc9tant donn\xe9e|\xc9tant donn\xe9|Etant donn\xe9es|Etant donn\xe9s|\xc9tant donn\xe9s|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Je\u015bli|Je\u017celi|Kad|Kada|Kadar|Kai|Kaj|Kdy\u017e|Ke\u010f|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|L\xe8 sa a|L\xe8|Logo|Lorsqu'<|Lorsque|m\xe4|Maar|Mais|Maj\u0105c|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|N\xe5r|N\xe4r|Nato|Nh\u01b0ng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Per\xf2|Podano|Pokia\u013e|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|S\xe5|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|\u015ei|\u0218i|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Th\xec|Thurh|Toda|Too right|Un|Und|ugeholl|V\xe0|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za p\u0159edpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zak\u0142adaj\u0105c|Zaradi|Zatati|\xdea \xfee|\xdea|\xde\xe1|\xdeegar|\xdeurh|\u0391\u03bb\u03bb\u03ac|\u0394\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5|\u039a\u03b1\u03b9|\u038c\u03c4\u03b1\u03bd|\u03a4\u03cc\u03c4\u03b5|\u0410 \u0442\u0430\u043a\u043e\u0436|\u0410\u0433\u0430\u0440|\u0410\u043b\u0435|\u0410\u043b\u0438|\u0410\u043c\u043c\u043e|\u0410|\u04d8\u0433\u04d9\u0440|\u04d8\u0439\u0442\u0438\u043a|\u04d8\u043c\u043c\u0430|\u0411\u0438\u0440\u043e\u043a|\u0412\u0430|\u0412\u04d9|\u0414\u0430\u0434\u0435\u043d\u043e|\u0414\u0430\u043d\u043e|\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c|\u0415\u0441\u043b\u0438|\u0417\u0430\u0434\u0430\u0442\u0435|\u0417\u0430\u0434\u0430\u0442\u0438|\u0417\u0430\u0434\u0430\u0442\u043e|\u0418|\u0406|\u041a \u0442\u043e\u043c\u0443 \u0436\u0435|\u041a\u0430\u0434\u0430|\u041a\u0430\u0434|\u041a\u043e\u0433\u0430\u0442\u043e|\u041a\u043e\u0433\u0434\u0430|\u041a\u043e\u043b\u0438|\u041b\u04d9\u043a\u0438\u043d|\u041b\u0435\u043a\u0438\u043d|\u041d\u04d9\u0442\u0438\u0497\u04d9\u0434\u04d9|\u041d\u0435\u0445\u0430\u0439|\u041d\u043e|\u041e\u043d\u0434\u0430|\u041f\u0440\u0438\u043f\u0443\u0441\u0442\u0438\u043c\u043e, \u0449\u043e|\u041f\u0440\u0438\u043f\u0443\u0441\u0442\u0438\u043c\u043e|\u041f\u0443\u0441\u0442\u044c|\u0422\u0430\u043a\u0436\u0435|\u0422\u0430|\u0422\u043e\u0433\u0434\u0430|\u0422\u043e\u0434\u0456|\u0422\u043e|\u0423\u043d\u0434\u0430|\u04ba\u04d9\u043c|\u042f\u043a\u0449\u043e|\u05d0\u05d1\u05dc|\u05d0\u05d6\u05d9|\u05d0\u05d6|\u05d1\u05d4\u05d9\u05e0\u05ea\u05df|\u05d5\u05d2\u05dd|\u05db\u05d0\u05e9\u05e8|\u0622\u0646\u06af\u0627\u0647|\u0627\u0630\u0627\u064b|\u0627\u06af\u0631|\u0627\u0645\u0627|\u0627\u0648\u0631|\u0628\u0627 \u0641\u0631\u0636|\u0628\u0627\u0644\u0641\u0631\u0636|\u0628\u0641\u0631\u0636|\u067e\u06be\u0631|\u062a\u0628|\u062b\u0645|\u062c\u0628|\u0639\u0646\u062f\u0645\u0627|\u0641\u0631\u0636 \u06a9\u06cc\u0627|\u0644\u0643\u0646|\u0644\u06cc\u06a9\u0646|\u0645\u062a\u0649|\u0647\u0646\u06af\u0627\u0645\u06cc|\u0648|\u0905\u0917\u0930|\u0914\u0930|\u0915\u0926\u093e|\u0915\u093f\u0928\u094d\u0924\u0941|\u091a\u0942\u0902\u0915\u093f|\u091c\u092c|\u0924\u0925\u093e|\u0924\u0926\u093e|\u0924\u092c|\u092a\u0930\u0928\u094d\u0924\u0941|\u092a\u0930|\u092f\u0926\u093f|\u0a05\u0a24\u0a47|\u0a1c\u0a26\u0a4b\u0a02|\u0a1c\u0a3f\u0a35\u0a47\u0a02 \u0a15\u0a3f|\u0a1c\u0a47\u0a15\u0a30|\u0a24\u0a26|\u0a2a\u0a30|\u0c05\u0c2a\u0c4d\u0c2a\u0c41\u0c21\u0c41|\u0c08 \u0c2a\u0c30\u0c3f\u0c38\u0c4d\u0c25\u0c3f\u0c24\u0c3f\u0c32\u0c4b|\u0c15\u0c3e\u0c28\u0c3f|\u0c1a\u0c46\u0c2a\u0c4d\u0c2a\u0c2c\u0c21\u0c3f\u0c28\u0c26\u0c3f|\u0c2e\u0c30\u0c3f\u0c2f\u0c41|\u0c86\u0ca6\u0cb0\u0cc6|\u0ca8\u0c82\u0ca4\u0cb0|\u0ca8\u0cbf\u0cd5\u0ca1\u0cbf\u0ca6|\u0cae\u0ca4\u0ccd\u0ca4\u0cc1|\u0cb8\u0ccd\u0ca5\u0cbf\u0ca4\u0cbf\u0caf\u0ca8\u0ccd\u0ca8\u0cc1|\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49|\u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19|\u0e41\u0e15\u0e48|\u0e40\u0e21\u0e37\u0e48\u0e2d|\u0e41\u0e25\u0e30|\uadf8\ub7ec\uba74<|\uadf8\ub9ac\uace0<|\ub2e8<|\ub9cc\uc57d<|\ub9cc\uc77c<|\uba3c\uc800<|\uc870\uac74<|\ud558\uc9c0\ub9cc<|\u304b\u3064<|\u3057\u304b\u3057<|\u305f\u3060\u3057<|\u306a\u3089\u3070<|\u3082\u3057<|\u4e26\u4e14<|\u4f46\u3057<|\u4f46\u662f<|\u5047\u5982<|\u5047\u5b9a<|\u5047\u8a2d<|\u5047\u8bbe<|\u524d\u63d0<|\u540c\u65f6<|\u540c\u6642<|\u5e76\u4e14<|\u5f53<|\u7576<|\u800c\u4e14<|\u90a3\u4e48<|\u90a3\u9ebc<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(e)}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:e=>{"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=i,i.displayName="glsl",i.aliases=[]},53877:e=>{"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:e=>{"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:e=>{"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:e=>{"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:e=>{"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function p(e,t){t=t||0;for(var n=0;n{"use strict";function t(e){e.languages.groovy=e.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",(function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}}))}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:(e,t,n)=>{"use strict";var r=n(56939);function i(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,i=t.length;r{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(e)}e.exports=i,i.displayName="handlebars",i.aliases=["hbs"]},58090:e=>{"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:e=>{"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:e=>{"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=i,i.displayName="hlsl",i.aliases=[]},60591:e=>{"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:e=>{"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:e=>{"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:e=>{"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},a={"application/json":!0,"application/xml":!0};function o(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var s in i)if(i[s]){n=n||{};var l=a[s]?o(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:e=>{"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},84071:e=>{"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:e=>{"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,(function(){return t(e,n-1)}))}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},i={pattern:n,greedy:!0,inside:{escape:r}},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,(function(){return n.source})),8),o={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":o,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":o,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:i},o.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:(e,t,n)=>{"use strict";var r=n(58090);function i(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=i,i.displayName="idris",i.aliases=["idr"]},40011:e=>{"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:e=>{"use strict";function t(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:e=>{"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:e=>{"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},30764:e=>{"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<{"use strict";function t(e){e.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:e=>{"use strict";function t(e){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}e.exports=t,t.displayName="java",t.aliases=[]},36553:(e,t,n)=>{"use strict";var r=n(15909),i=n(9858);function a(e){e.register(r),e.register(i),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,(function(){return n}));e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(e)}e.exports=a,a.displayName="javadoc",a.aliases=[]},9858:e=>{"use strict";function t(e){!function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",i=e.languages[t];if(i){var a=i[r];if(!a){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},a=(i=e.languages.insertBefore(t,"comment",o))[r]}if(a instanceof RegExp&&(a=i[r]={pattern:a}),Array.isArray(a))for(var s=0,l=a.length;s{"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:e=>{"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:e=>{"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Z\u0430-\u044f\u0410-\u042f_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\w\u0430-\u044f\u0410-\u042f\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Z\u0430-\u044f\u0410-\u042f_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\w\u0430-\u044f\u0410-\u042f\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:e=>{"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:e=>{"use strict";function t(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,(function(){return t}))),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};r.interpolation.inside.content.inside=i}(e)}e.exports=t,t.displayName="jq",t.aliases=[]},46155:e=>{"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r{"use strict";function t(e){!function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,i=r.inside["interpolation-punctuation"],a=r.pattern.source;function o(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var i={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}function u(t){var n={};n["interpolation-punctuation"]=i;var a=e.tokenize(t,n);if(3===a.length){var o=[1,1];o.push.apply(o,l(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,o)}return new e.Token("interpolation",a,r.alias,t)}function c(t,n,r){var i=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),o=0,c={},p=l(i.map((function(e){if("string"==typeof e)return e;for(var n,i=e.content;-1!==t.indexOf(n=s(o++,r)););return c[n]=i,n})).join(""),n,r),d=Object.keys(c);return o=0,function e(t){for(var n=0;n=d.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var i=d[o],a="string"==typeof r?r:r.content,s=a.indexOf(i);if(-1!==s){++o;var l=a.substring(0,s),p=u(c[i]),f=a.substring(s+i.length),g=[];if(l&&g.push(l),g.push(p),f){var m=[f];e(m),g.push.apply(g,m)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(g)),n+=g.length-1):r.content=g}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(p),new e.Token(r,p,"language-"+r,t)}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),t].filter(Boolean);var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in p&&function t(n){for(var r=0,i=n.length;r{"use strict";var r=n(9858),i=n(4979);function a(e){e.register(r),e.register(i),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(e)}e.exports=a,a.displayName="jsdoc",a.aliases=[]},45950:e=>{"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:(e,t,n)=>{"use strict";var r=n(45950);function i(e){e.register(r),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(e)}e.exports=i,i.displayName="json5",i.aliases=[]},80963:(e,t,n)=>{"use strict";var r=n(45950);function i(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=i,i.displayName="jsonp",i.aliases=[]},79358:e=>{"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:e=>{"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return i})),RegExp(e,t)}i=a(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(i);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:e=>{"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%\xf7\u22bb&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~\u2260\u2264\u2265'\u221a\u221b]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[\u03c0\u212f]/}}e.exports=t,t.displayName="julia",t.aliases=[]},32409:e=>{"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,(function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source})),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:e=>{"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:e=>{"use strict";function t(e){!function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:e=>{"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:\u0434\u0430|\u043d\u0435\u0442)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:\u0438|\u0438\u043b\u0438|\u043d\u0435)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])\u0437\u043d\u0430\u0447(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:\u0432\u0435\u0449|\u043b\u0438\u0442|\u043b\u043e\u0433|\u0441\u0438\u043c|\u0446\u0435\u043b)(?:\x20*\u0442\u0430\u0431)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:\u043a\u043e\u043c\u043f\u043b|\u0441\u043a\u0430\u043d\u043a\u043e\u0434|\u0444\u0430\u0439\u043b|\u0446\u0432\u0435\u0442)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:\u0430\u043b\u0433|\u0430\u0440\u0433(?:\x20*\u0440\u0435\u0437)?|\u0432\u0432\u043e\u0434|\u0412\u041a\u041b\u042e\u0427\u0418\u0422\u042c|\u0432\u0441[\u0435\u0451]|\u0432\u044b\u0431\u043e\u0440|\u0432\u044b\u0432\u043e\u0434|\u0432\u044b\u0445\u043e\u0434|\u0434\u0430\u043d\u043e|\u0434\u043b\u044f|\u0434\u043e|\u0434\u0441|\u0435\u0441\u043b\u0438|\u0438\u043d\u0430\u0447\u0435|\u0438\u0441\u043f|\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c|\u043a\u043e\u043d(?:(?:\x20+|_)\u0438\u0441\u043f)?|\u043a\u0446(?:(?:\x20+|_)\u043f\u0440\u0438)?|\u043d\u0430\u0434\u043e|\u043d\u0430\u0447|\u043d\u0441|\u043d\u0446|\u043e\u0442|\u043f\u0430\u0443\u0437\u0430|\u043f\u043e\u043a\u0430|\u043f\u0440\u0438|\u0440\u0430\u0437\u0430?|\u0440\u0435\u0437|\u0441\u0442\u043e\u043f|\u0442\u0430\u0431|\u0442\u043e|\u0443\u0442\u0432|\u0448\u0430\u0433)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:e=>{"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mn\xb5]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:e=>{"use strict";function t(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:(e,t,n)=>{"use strict";var r=n(93205),i=n(88262);function a(e){e.register(r),e.register(i),function(e){e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}};var t=e.languages.extend("markup",{});e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",(function(n){if("latte"===n.language){e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")}))}(e)}e.exports=a,a.displayName="latte",a.aliases=[]},41701:e=>{"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:(e,t,n)=>{"use strict";var r=n(9997);function i(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,(function(){return t})),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=i,i.displayName="lilypond",i.aliases=[]},34927:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,(function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")}))}e.exports=i,i.displayName="liquid",i.aliases=[]},3848:e=>{"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+r,a="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(a+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(a+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(a+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(a+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},u={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},c="\\S+(?:\\s+\\S+)*",p={pattern:RegExp(a+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+c),inside:u},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+c),inside:u},keys:{pattern:RegExp("&key\\s+"+c+"(?:\\s+&allow-other-keys)?"),inside:u},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=p,l.defun.inside.arguments=e.util.clone(p),l.defun.inside.arguments.inside.sublist=p,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:e=>{"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:e=>{"use strict";function t(e){!function(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}(e)}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:e=>{"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:e=>{"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|\u2026|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:e=>{"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:e=>{"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:e=>{"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:e=>{"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+a+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+a+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:e=>{"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,a){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(i,(function(e){if("function"==typeof a&&!a(e))return e;for(var i,s=o.length;-1!==n.code.indexOf(i=t(r,s));)++s;return o[s]=e,i})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,a=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[i],p=n.tokenStack[c],d="string"==typeof u?u:u.content,f=t(r,c),g=d.indexOf(f);if(g>-1){++i;var m=d.substring(0,g),h=new e.Token(r,e.tokenize(p,n.grammar),"language-"+r,p),b=d.substring(g+f.length),y=[];m&&y.push.apply(y,o([m])),y.push(h),b&&y.push.apply(y,o([b])),"string"==typeof u?s.splice.apply(s,[l,1].concat(y)):u.content=y}}else u.content&&o(u.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:e=>{"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:e=>{"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:e=>{"use strict";function t(e){!function(e){var t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}(e)}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:e=>{"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:e=>{"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:e=>{"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:e=>{"use strict";function t(e){!function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map((function(e){return e.replace("$","\\$")}))).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:e=>{"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:e=>{"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:e=>{"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:e=>{"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:e=>{"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:e=>{"use strict";function t(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",(function(e){e.tokens.forEach((function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t="[]{}",n=[],r=0;r{"use strict";function t(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:e=>{"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:e=>{"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:e=>{"use strict";function t(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}(e)}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:e=>{"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:e=>{"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:e=>{"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=i,i.displayName="objectivec",i.aliases=["objc"]},33607:e=>{"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}(e)}e.exports=i,i.displayName="opencl",i.aliases=[]},22950:e=>{"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|\u03c0|\ud835\udf0f|\u2107/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|\xb5s|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:e=>{"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:e=>{"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"],t=t.map((function(e){return e.split("").join(" *")})).join("|"),RegExp("\\b(?:"+t+")\\b")),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:e=>{"use strict";function t(e){!function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}e.exports=t,t.displayName="parser",t.aliases=[]},60718:e=>{"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:e=>{"use strict";function t(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,(function(){return t})),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,(function(){return n})),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,(function(){return n})),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},i=["comment","keyword","builtin","operator","punctuation"].reduce((function(e,t){return e[t]=r[t],e}),{});r["class-name"].forEach((function(e){e.inside=i}))}(e)}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:e=>{"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:e=>{"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:e=>{"use strict";function t(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(e)}e.exports=t,t.displayName="perl",t.aliases=[]},5137:(e,t,n)=>{"use strict";var r=n(88262);function i(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=i,i.displayName="phpExtras",i.aliases=[]},88262:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(e)}e.exports=i,i.displayName="php",i.aliases=[]},63632:(e,t,n)=>{"use strict";var r=n(88262),i=n(9858);function a(e){e.register(r),e.register(i),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(e)}e.exports=a,a.displayName="phpdoc",a.aliases=[]},59149:(e,t,n)=>{"use strict";var r=n(11114);function i(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=i,i.displayName="plsql",i.aliases=[]},50256:e=>{"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:e=>{"use strict";function t(e){!function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:e=>{"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:e=>{"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:e=>{"use strict";function t(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}(e)}e.exports=t,t.displayName="promql",t.aliases=[]},56267:e=>{"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:e=>{"use strict";function t(e){!function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:e=>{"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:e=>{"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},i=0,a=n.length;i",(function(){return o.filter})),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:e=>{"use strict";function t(e){!function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:e=>{"use strict";function t(e){!function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach((function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var i={};i["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},i["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",i)}})),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}e.exports=t,t.displayName="pure",t.aliases=[]},78404:e=>{"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:(e,t,n)=>{"use strict";var r=n(58090);function i(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|\u2200/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=i,i.displayName="purescript",i.aliases=["purs"]},52992:e=>{"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:e=>{"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:e=>{"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,(function(){return t})).replace(//g,(function(){return n})),i=0;i<2;i++)r=r.replace(//g,(function(){return r}));r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:e=>{"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:e=>{"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}var r=RegExp("\\b(?:"+("Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero"+" "+"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within").trim().replace(/ /g,"|")+")\\b"),i=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),a={keyword:r,punctuation:/[<>()?,.:[\]]/},o=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[o]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[i]),lookbehind:!0,inside:a},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[i]),lookbehind:!0,inside:a}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[o]),2);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:e=>{"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:(e,t,n)=>{"use strict";var r=n(9997);function i(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=i,i.displayName="racket",i.aliases=["rkt"]},5755:e=>{"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:e=>{"use strict";function t(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",i=RegExp(r+"-"+r),a={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:i,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|{"use strict";function t(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:e=>{"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:e=>{"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-\u2022\u2023\u2043]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|\u2014|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:e=>{"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:e=>{"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:e=>{"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var i={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var a in r)i[a]=r[a];return i.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},i.variable=n,i.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,(function(){return e})),"im"),alias:"section",inside:i}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":a,documentation:i,property:o}),keywords:r("Keywords",{"keyword-name":a,documentation:i,property:o}),tasks:r("Tasks",{"task-name":a,documentation:i,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:e=>{"use strict";function t(e){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(e)}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:e=>{"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:e=>{"use strict";function t(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/&[a-z_]\w*/i},a={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},u=/[$%@.(){}\[\];,\\]/,c={pattern:/%?\b\w+(?=\()/,alias:"keyword"},p={function:c,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":i,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l},d={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},g={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},h=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,(function(){return h})),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,(function(){return h})),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:c,"arg-value":p["arg-value"],operator:p.operator,argument:p.arg,number:n,"numeric-constant":r,punctuation:u,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,(function(){return t})),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":g,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":m,"global-statements":g,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":m,"global-statements":g,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:p}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:y,function:c,format:d,altformat:f,"global-statements":g,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,inside:p},"macro-keyword":a,"macro-variable":i,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":a,"macro-variable":i,"escaped-char":{pattern:/%['"()<>=\xac^~;,#]/},punctuation:u}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:p},"cas-actions":b,comment:s,function:c,format:d,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|\xa6\xa6?|<[>=]?|>[<=]?|[-+\/=&]|[~\xac^]=?/,punctuation:u}}(e)}e.exports=t,t.displayName="sas",t.aliases=[]},41720:e=>{"use strict";function t(e){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}e.exports=t,t.displayName="sass",t.aliases=[]},6054:(e,t,n)=>{"use strict";var r=n(15909);function i(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=i,i.displayName="scala",i.aliases=[]},9997:e=>{"use strict";function t(e){!function(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:e=>{"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:(e,t,n)=>{"use strict";var r=n(6979);function i(e){e.register(r),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,(function(){return t})),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(e)}e.exports=i,i.displayName="shellSession",i.aliases=[]},18890:e=>{"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:e=>{"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,(function(){return t.source})),"g");e.hooks.add("before-tokenize",(function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,(function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")}))}(e)}e.exports=i,i.displayName="smarty",i.aliases=[]},49760:e=>{"use strict";function t(e){!function(e){var t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,(function(){return/\s*(?:[*,]|->)/.source})).replace(//g,(function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source})).replace(//g,(function(){return/(?!)[a-z\d_][\w'.]*/.source})).replace(//g,(function(){return t.source})),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:e=>{"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:e=>{"use strict";function t(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,(function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")}))}(e)}e.exports=i,i.displayName="soy",i.aliases=[]},98774:(e,t,n)=>{"use strict";var r=n(24691);function i(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=i,i.displayName="sparql",i.aliases=["rq"]},22855:e=>{"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:e=>{"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:e=>{"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:e=>{"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:e=>{"use strict";function t(e){!function(e){var t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}e.exports=t,t.displayName="stan",t.aliases=[]},49168:e=>{"use strict";function t(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:e=>{"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach((function(t){t.inside.interpolation.inside=e.languages.swift}))}e.exports=t,t.displayName="swift",t.aliases=[]},21483:e=>{"use strict";function t(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:(e,t,n)=>{"use strict";var r=n(2329),i=n(61958);function a(e){e.register(r),e.register(i),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=a,a.displayName="t4Cs",a.aliases=[]},2329:e=>{"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],i="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,i),"class-feature":t("\\+",r,i),standard:t("",r,i)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:(e,t,n)=>{"use strict";var r=n(2329),i=n(53813);function a(e){e.register(r),e.register(i),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=a,a.displayName="t4Vb",a.aliases=[]},17290:(e,t,n)=>{"use strict";var r=n(65039);function i(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=i,i.displayName="tap",i.aliases=[]},67989:e=>{"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:e=>{"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,(function(){return"(?:"+t+")"})).replace(//g,(function(){return"(?:"+n+")"})),r||"")}var i={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=a.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var u=o.table.inside;u.inline=s.inline,u.link=s.link,u.image=s.image,u.footnote=s.footnote,u.acronym=s.acronym,u.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:e=>{"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,(function(){return t}))}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:e=>{"use strict";function t(e){!function(e){e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:(e,t,n)=>{"use strict";var r=n(96412),i=n(4979);function a(e){e.register(r),e.register(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}e.exports=a,a.displayName="tsx",a.aliases=[]},61028:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")}))}(e)}e.exports=i,i.displayName="tt2",i.aliases=[]},24691:e=>{"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",(function(t){if("twig"===t.language){e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")}))}e.exports=i,i.displayName="twig",i.aliases=[]},4979:e=>{"use strict";function t(e){!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(e)}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:e=>{"use strict";function t(e){!function(e){var t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:e=>{"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:e=>{"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:e=>{"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+"(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:e=>{"use strict";function t(e){!function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}e.exports=t,t.displayName="v",t.aliases=[]},28173:e=>{"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:(e,t,n)=>{"use strict";var r=n(46241);function i(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=i,i.displayName="vbnet",i.aliases=[]},46891:e=>{"use strict";function t(e){!function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:e=>{"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:e=>{"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:e=>{"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:e=>{"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['\u2018\u2019]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["\u201c\u201d](?:["\u201c\u201d]{2}|[^"\u201c\u201d])*["\u201c\u201d]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:e=>{"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:e=>{"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:e=>{"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var i in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==i&&(r[i]=e.languages["web-idl"][i]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:e=>{"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:e=>{"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:e=>{"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:e=>{"use strict";function t(e){!function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:e=>{"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},i={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",i)}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:e=>{"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:e=>{"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var i=[],a=0;a0&&i[i.length-1].tagName===t(o.content[0].content[1])&&i.pop():"/>"===o.content[o.content.length-1].content||i.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(i.length>0&&"punctuation"===o.type&&"{"===o.content)||r[a+1]&&"punctuation"===r[a+1].type&&"{"===r[a+1].content||r[a-1]&&"plain-text"===r[a-1].type&&"{"===r[a-1].content?i.length>0&&i[i.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?i[i.length-1].openedBraces--:"comment"!==o.type&&(s=!0):i[i.length-1].openedBraces++),(s||"string"==typeof o)&&i.length>0&&0===i[i.length-1].openedBraces){var l=t(o);a0&&("string"==typeof r[a-1]||"plain-text"===r[a-1].type)&&(l=t(r[a-1])+l,r.splice(a-1,1),a--),/^\s+$/.test(l)?r[a]=l:r[a]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",(function(e){"xquery"===e.language&&n(e.tokens)}))}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:e=>{"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+i+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:e=>{"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:e=>{"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(i))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(a)).replace(//g,t(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(a)).replace(//g,t(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach((function(t){null===t.inside&&(t.inside=e.languages.zig)}))}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=p.reach);T+=k.value.length,k=k.next){var w=k.value;if(t.length>e.length)return;if(!(w instanceof a)){var A,R=1;if(y){if(!(A=o(S,T,e,b))||A.index>=e.length)break;var C=A.index,I=A.index+A[0].length,O=T;for(O+=k.value.length;C>=O;)O+=(k=k.next).value.length;if(T=O-=k.value.length,k.value instanceof a)continue;for(var _=k;_!==t.tail&&(Op.reach&&(p.reach=D);var P=k.prev;if(x&&(P=u(t,P,x),T+=x.length),c(t,P,R),k=u(t,P,new a(d,h?i.tokenize(N,h):N,E,N)),L&&u(t,k,L),R>1){var M={cause:d+","+g,reach:D};s(e,t,n,k.prev,T,M),p&&M.reach>p.reach&&(p.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function c(e,t,n){for(var r=t.next,i=0;i"+a.content+""},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()}),!1),i):i;var p=i.util.currentScript();function d(){i.manual||i.highlightAll()}if(p&&(i.filename=p.src,p.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var f=document.readyState;"loading"===f||"interactive"===f&&p&&p.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},12861:(e,t,n)=>{"use strict";e.exports=function(e){var t=this;this.Parser=function(n){return r(n,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var r=n(39671)},78818:(e,t,n)=>{"use strict";var r=n(26555);e.exports=function(e,t){e&&!e.process&&(t=e,e=null);return e?function(e,t){return n;function n(n,i,a){function o(e){a(e)}e.run(r(n,t),i,o)}}(e,t):function(e){return t;function t(t){return r(t,e)}}(t)}},26555:(e,t,n)=>{"use strict";e.exports=n(22064)},13331:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i,a=t.children||[],o=a.length,s=[],l=-1;for(;++l{"use strict";e.exports=function(e){var t,n,o,s,l=e.footnoteById,u=e.footnoteOrder,c=u.length,p=-1,d=[];for(;++p{"use strict";e.exports=function(e,t){return e(t,"blockquote",r(i(e,t),!0))};var r=n(67775),i=n(13331)},54868:(e,t,n)=>{"use strict";e.exports=function(e,t){return[e(t,"br"),r("text","\n")]};var r=n(50914)},9601:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i=t.value?t.value+"\n":"",a=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};a&&(o.className=["language-"+a]);n=e(t,"code",o,[r("text",i)]),t.meta&&(n.data={meta:t.meta});return e(t.position,"pre",[n])};var r=n(50914)},36267:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"del",r(e,t))};var r=n(13331)},91671:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"em",r(e,t))};var r=n(13331)},70060:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=e.footnoteOrder,i=String(t.identifier);-1===n.indexOf(i)&&n.push(i);return e(t.position,"sup",{id:"fnref-"+i},[e(t,"a",{href:"#fn-"+i,className:["footnote-ref"]},[r("text",t.label||i)])])};var r=n(50914)},63037:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=e.footnoteById,i=e.footnoteOrder,a=1;for(;a in n;)a++;return a=String(a),i.push(a),n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},r(e,{type:"footnoteReference",identifier:a,position:t.position})};var r=n(70060)},3456:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"h"+t.depth,r(e,t))};var r=n(13331)},73737:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.dangerous?e.augment(t,r("raw",t.value)):null};var r=n(50914)},24943:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a=e.definition(t.identifier);if(!a)return i(e,t);n={src:r(a.url||""),alt:t.alt},null!==a.title&&void 0!==a.title&&(n.title=a.title);return e(t,"img",n)};var r=n(70729),i=n(58663)},52612:(e,t,n)=>{"use strict";var r=n(70729);e.exports=function(e,t){var n={src:r(t.url),alt:t.alt};null!==t.title&&void 0!==t.title&&(n.title=t.title);return e(t,"img",n)}},45016:(e,t,n)=>{"use strict";function r(){return null}e.exports={blockquote:n(7576),break:n(54868),code:n(9601),delete:n(36267),emphasis:n(91671),footnoteReference:n(70060),footnote:n(63037),heading:n(3456),html:n(73737),imageReference:n(24943),image:n(52612),inlineCode:n(54563),linkReference:n(7010),link:n(73793),listItem:n(52328),list:n(1003),paragraph:n(50634),root:n(71128),strong:n(60110),table:n(21270),text:n(65835),thematicBreak:n(4318),toml:r,yaml:r,definition:r,footnoteDefinition:r}},54563:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.value.replace(/\r?\n|\r/g," ");return e(t,"code",[r("text",n)])};var r=n(50914)},7010:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o=e.definition(t.identifier);if(!o)return i(e,t);n={href:r(o.url||"")},null!==o.title&&void 0!==o.title&&(n.title=o.title);return e(t,"a",n,a(e,t))};var r=n(70729),i=n(58663),a=n(13331)},73793:(e,t,n)=>{"use strict";var r=n(70729),i=n(13331);e.exports=function(e,t){var n={href:r(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);return e(t,"a",n,i(e,t))}},52328:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var o,s,l,u=i(e,t),c=u[0],p=n?function(e){var t=e.spread,n=e.children,r=n.length,i=-1;for(;!t&&++i0&&c.children.unshift(r("text"," ")),c.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),d.className=["task-list-item"]);o=u.length,s=-1;for(;++s1:t}},1003:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a,o={},s=t.ordered?"ol":"ul",l=-1;"number"==typeof t.start&&1!==t.start&&(o.start=t.start);n=i(e,t),a=n.length;for(;++l{"use strict";e.exports=function(e,t){return e(t,"p",r(e,t))};var r=n(13331)},71128:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("root",i(a(e,t))))};var r=n(50914),i=n(67775),a=n(13331)},60110:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(13331)},21270:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o,s,l,u,c=t.children,p=c.length,d=t.align||[],f=d.length,g=[];for(;p--;){for(o=c[p].children,l=0===p?"th":"td",n=f||o.length,s=[];n--;)u=o[n],s[n]=e(u,l,{align:d[n]},u?a(e,u):[]);g[p]=e(c[p],"tr",i(s,!0))}return e(t,"table",i([e(g[0].position,"thead",i([g[0]],!0))].concat(g[1]?e({start:r.start(g[1]),end:r.end(g[g.length-1])},"tbody",i(g.slice(1),!0)):[]),!0))};var r=n(77361),i=n(67775),a=n(13331)},65835:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))};var r=n(50914)},4318:e=>{"use strict";e.exports=function(e,t){return e(t,"hr")}},22064:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=function(e,t){var n=t||{};void 0===n.allowDangerousHTML||d||(d=!0,console.warn("mdast-util-to-hast: deprecation: `allowDangerousHTML` is nonstandard, use `allowDangerousHtml` instead"));var r=n.allowDangerousHtml||n.allowDangerousHTML,l={};return f.dangerous=r,f.definition=s(e),f.footnoteById=l,f.footnoteOrder=[],f.augment=u,f.handlers=Object.assign({},c,n.handlers),f.unknownHandler=n.unknownHandler,f.passThrough=n.passThrough,i(e,"footnoteDefinition",g),f;function u(e,t){var n,r;return e&&e.data&&((n=e.data).hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=Object.assign({},t.properties,n.hProperties)),t.children&&n.hChildren&&(t.children=n.hChildren)),r=e&&e.position?e:{position:e},o(r)||(t.position={start:a.start(r),end:a.end(r)}),t}function f(e,t,n,r){return null==r&&"object"==typeof n&&"length"in n&&(r=n,n={}),u(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}function g(e){var t=String(e.identifier).toUpperCase();p.call(l,t)||(l[t]=e)}}(e,t),f=l(n,e),g=u(n);g&&(f.children=f.children.concat(r("text","\n"),g));return f};var r=n(50914),i=n(62854),a=n(77361),o=n(61744),s=n(86630),l=n(17828),u=n(4528),c=n(45016),p={}.hasOwnProperty,d=!1},17828:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var r,i=t&&t.type;if(!i)throw new Error("Expected node, got `"+t+"`");r=a.call(e.handlers,i)?e.handlers[i]:e.passThrough&&e.passThrough.indexOf(i)>-1?s:e.unknownHandler;return("function"==typeof r?r:o)(e,t,n)};var r=n(50914),i=n(13331),a={}.hasOwnProperty;function o(e,t){return function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t)?e.augment(t,r("text",t.value)):e(t,"div",i(e,t))}function s(e,t){var n;return t.children?((n=Object.assign({},t)).children=i(e,t),n):t}},58663:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a,o,s=t.referenceType,l="]";"collapsed"===s?l+="[]":"full"===s&&(l+="["+(t.label||t.identifier)+"]");if("imageReference"===t.type)return r("text","!["+t.alt+l);n=i(e,t),(a=n[0])&&"text"===a.type?a.value="["+a.value:n.unshift(r("text","["));(o=n[n.length-1])&&"text"===o.type?o.value+=l:n.push(r("text",l));return n};var r=n(50914),i=n(13331)},67775:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=[],i=-1,a=e.length;t&&n.push(r("text","\n"));for(;++i0&&n.push(r("text","\n"));return n};var r=n(50914)},36582:(e,t)=>{"use strict";t.parse=function(e){var t=String(e||n).trim();return t===n?[]:t.split(i)},t.stringify=function(e){return e.join(r).trim()};var n="",r=" ",i=/[ \t\n\r\f]+/g},57848:(e,t,n)=>{var r=n(18139);e.exports=function(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var a,o,s=r(e),l="function"==typeof t,u=0,c=s.length;u{"use strict";var r=n(43368);e.exports=a,a.wrap=r;var i=[].slice;function a(){var e=[],t={run:function(){var t=-1,n=i.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!=typeof a)throw new Error("Expected function as last argument, not "+a);(function o(s){var l=e[++t],u=i.call(arguments,0).slice(1),c=n.length,p=-1;if(s)a(s);else{for(;++p{"use strict";var t=[].slice;e.exports=function(e,n){var r;return function(){var n,o=t.call(arguments,0),s=e.length>o.length;s&&o.push(i);try{n=e.apply(null,o)}catch(l){if(s&&r)throw l;return i(l)}s||(n&&"function"==typeof n.then?n.then(a,i):n instanceof Error?i(n):a(n))};function i(){r||(r=!0,n.apply(null,arguments))}function a(e){i(null,e)}}},18835:(e,t,n)=>{"use strict";var r=n(18869),i=n(48738),a=n(94470),o=n(48568),s=n(28281),l=n(10939);e.exports=function e(){var t=[],n=s(),i={},y=!1,E=-1;return v.data=function(e,t){if("string"==typeof e)return 2===arguments.length?(m("data",y),i[e]=t,v):c.call(i,e)&&i[e]||null;if(e)return m("data",y),i=e,v;return i},v.freeze=S,v.attachers=t,v.use=function(e){var n;if(m("use",y),null==e);else if("function"==typeof e)c.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?l(e):r(e)}n&&(i.settings=a(i.settings||{},n));return v;function r(e){l(e.plugins),e.settings&&(n=a(n||{},e.settings))}function s(e){if("function"==typeof e)c(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?c.apply(null,e):r(e)}}function l(e){var t,n;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(t=e.length,n=-1;++n{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},50914:e=>{"use strict";e.exports=function(e,t,n){var r;null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={});r=Object.assign({type:String(e)},t),Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n));return r}},61744:e=>{"use strict";e.exports=function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}},48145:e=>{"use strict";function t(e){if(null==e)return n;if("string"==typeof e)return function(e){return t;function t(t){return Boolean(t&&t.type===e)}}(e);if("object"==typeof e)return"length"in e?function(e){var n=[],r=-1;for(;++r{"use strict";var t=i("start"),n=i("end");function r(e){return{start:t(e),end:n(e)}}function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}e.exports=r,r.start=t,r.end=n},75432:e=>{"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"==typeof e||(e={}),i(e.line)+":"+i(e.column)}function r(e){return e&&"object"==typeof e||(e={}),n(e.start)+"-"+n(e.end)}function i(e){return e&&"number"==typeof e?e:1}e.exports=function(e){if(!e||"object"!=typeof e)return"";if(t.call(e,"position")||t.call(e,"type"))return r(e.position);if(t.call(e,"start")||t.call(e,"end"))return r(e);if(t.call(e,"line")||t.call(e,"column"))return n(e);return""}},66750:e=>{e.exports=function(e){return e}},99294:(e,t,n)=>{"use strict";e.exports=l;var r=n(48145),i=n(66750),a=!0,o="skip",s=!1;function l(e,t,n,l){var u,c;"function"==typeof t&&"function"!=typeof n&&(l=n,n=t,t=null),c=r(t),u=l?-1:1,function e(r,p,d){var f,g="object"==typeof r&&null!==r?r:{};"string"==typeof g.type&&(f="string"==typeof g.tagName?g.tagName:"string"==typeof g.name?g.name:void 0,m.displayName="node ("+i(g.type+(f?"<"+f+">":""))+")");return m;function m(){var i,f,g=d.concat(r),m=[];if((!t||c(r,p,d[d.length-1]||null))&&(m=function(e){if(null!==e&&"object"==typeof e&&"length"in e)return e;if("number"==typeof e)return[a,e];return[e]}(n(r,d)),m[0]===s))return m;if(r.children&&m[0]!==o)for(f=(l?r.children.length:-1)+u;f>-1&&f{"use strict";e.exports=s;var r=n(99294),i=r.CONTINUE,a=r.SKIP,o=r.EXIT;function s(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],i=r?r.children.indexOf(e):null;return n(e,i,r)}),i)}s.CONTINUE=i,s.SKIP=a,s.EXIT=o},80734:(e,t,n)=>{"use strict";var r=n(75432);function i(){}e.exports=o,i.prototype=Error.prototype,o.prototype=new i;var a=o.prototype;function o(e,t,n){var i,a,o;"string"==typeof t&&(n=t,t=null),i=function(e){var t,n=[null,null];"string"==typeof e&&(-1===(t=e.indexOf(":"))?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1)));return n}(n),a=r(t)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(o=t,t=t.start):o.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=o,this.source=i[0],this.ruleId=i[1]}a.file="",a.name="",a.reason="",a.message="",a.stack="",a.fatal=null,a.column=null,a.line=null},10939:(e,t,n)=>{"use strict";e.exports=n(65905)},45442:(e,t,n)=>{"use strict";var r=n(28064),i=n(54228),a=n(48738);e.exports=l;var o={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function l(e){var t,n;if(e){if("string"==typeof e||a(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof l))return new l(e);for(this.data={},this.messages=[],this.history=[],this.cwd=i.cwd(),n=-1;++n-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function c(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function p(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(l.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(l.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){p(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(l.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(l.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(u(e,"extname"),p(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(l.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},65905:(e,t,n)=>{"use strict";var r=n(80734),i=n(45442);e.exports=i,i.prototype.message=function(e,t,n){var i=new r(e,t,n);this.path&&(i.name=this.path+":"+i.name,i.file=this.path);return i.fatal=!1,this.messages.push(i),i},i.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},28064:(e,t)=>{"use strict";function n(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var r,i,a,o,s=0,l=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(n(e),r=e.length,void 0===t||!t.length||t.length>e.length){for(;r--;)if(47===e.charCodeAt(r)){if(a){s=r+1;break}}else l<0&&(a=!0,l=r+1);return l<0?"":e.slice(s,l)}if(t===e)return"";i=-1,o=t.length-1;for(;r--;)if(47===e.charCodeAt(r)){if(a){s=r+1;break}}else i<0&&(a=!0,i=r+1),o>-1&&(e.charCodeAt(r)===t.charCodeAt(o--)?o<0&&(l=r):(o=-1,l=i));s===l?l=i:l<0&&(l=e.length);return e.slice(s,l)},t.dirname=function(e){var t,r,i;if(n(e),!e.length)return".";t=-1,i=e.length;for(;--i;)if(47===e.charCodeAt(i)){if(r){t=i;break}}else r||(r=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,r,i,a=-1,o=0,s=-1,l=0;n(e),i=e.length;for(;i--;)if(47!==(r=e.charCodeAt(i)))s<0&&(t=!0,s=i+1),46===r?a<0?a=i:1!==l&&(l=1):a>-1&&(l=-1);else if(t){o=i+1;break}if(a<0||s<0||0===l||1===l&&a===s-1&&a===o+1)return"";return e.slice(a,s)},t.join=function(){var e,t=-1;for(;++t2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=l,s=0;continue}}else if(i.length){i="",a=0,o=l,s=0;continue}t&&(i=i.length?i+"/..":"..",a=2)}else i.length?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t),r.length||t||(r=".");r.length&&47===e.charCodeAt(e.length-1)&&(r+="/");return t?"/"+r:r}(e)},t.sep="/"},54228:(e,t)=>{"use strict";t.cwd=function(){return"/"}},47529:e=>{e.exports=function(){for(var e={},n=0;n{"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:e=>{"use strict";e.exports=JSON.parse('{"0":"\ufffd","128":"\u20ac","130":"\u201a","131":"\u0192","132":"\u201e","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02c6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017d","145":"\u2018","146":"\u2019","147":"\u201c","148":"\u201d","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02dc","153":"\u2122","154":"\u0161","155":"\u203a","156":"\u0153","158":"\u017e","159":"\u0178"}')},99640:e=>{"use strict";e.exports=JSON.parse('{"classId":"classID","dataType":"datatype","itemId":"itemID","strokeDashArray":"strokeDasharray","strokeDashOffset":"strokeDashoffset","strokeLineCap":"strokeLinecap","strokeLineJoin":"strokeLinejoin","strokeMiterLimit":"strokeMiterlimit","typeOf":"typeof","xLinkActuate":"xlinkActuate","xLinkArcRole":"xlinkArcrole","xLinkHref":"xlinkHref","xLinkRole":"xlinkRole","xLinkShow":"xlinkShow","xLinkTitle":"xlinkTitle","xLinkType":"xlinkType","xmlnsXLink":"xmlnsXlink"}')}}]); \ No newline at end of file diff --git a/assets/js/24866cdd.245465e3.js b/assets/js/24866cdd.245465e3.js new file mode 100644 index 00000000..d3d84b97 --- /dev/null +++ b/assets/js/24866cdd.245465e3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[917],{3905:(e,n,t)=>{t.d(n,{Zo:()=>p,kt:()=>m});var r=t(67294);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=r.createContext({}),s=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},p=function(e){var n=s(e.components);return r.createElement(c.Provider,{value:n},e.children)},u={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},d=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),d=s(t),m=a,f=d["".concat(c,".").concat(m)]||d[m]||u[m]||o;return t?r.createElement(f,l(l({ref:n},p),{},{components:t})):r.createElement(f,l({ref:n},p))}));function m(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=d;var i={};for(var c in n)hasOwnProperty.call(n,c)&&(i[c]=n[c]);i.originalType=e,i.mdxType="string"==typeof e?e:a,l[1]=i;for(var s=2;s{t.r(n),t.d(n,{default:()=>s,frontMatter:()=>o,metadata:()=>l,toc:()=>i});var r=t(87462),a=(t(67294),t(3905));const o={},l={unversionedId:"dev-resources/nevm/truffle",id:"dev-resources/nevm/truffle",isDocsHomePage:!1,title:"Deploying Smart Contracts with Truffle",description:"This is a guide to creating and deploying smart contracts with Truffle on the Syscoin Tanenbaum Testnet.",source:"@site/docs/dev-resources/nevm/truffle.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/truffle",permalink:"/docs/dev-resources/nevm/truffle",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Tooling",permalink:"/docs/dev-resources/nevm/tooling"},next:{title:"Rollups",permalink:"/docs/dev-resources/nevm/zk-rollups"}},i=[{value:"1. Install Truffle and create a project",id:"1-install-truffle-and-create-a-project",children:[]},{value:"2. Create a new contract",id:"2-create-a-new-contract",children:[]},{value:"3. Configure the network used by Truffle",id:"3-configure-the-network-used-by-truffle",children:[]},{value:"4. Deploy the contract",id:"4-deploy-the-contract",children:[]},{value:"5. Interact with the smart contract",id:"5-interact-with-the-smart-contract",children:[]}],c={toc:i};function s(e){let{components:n,...t}=e;return(0,a.kt)("wrapper",(0,r.Z)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"This is a guide to creating and deploying smart contracts with Truffle on the Syscoin Tanenbaum Testnet."),(0,a.kt)("p",null,(0,a.kt)("em",{parentName:"p"},"NOTE: Syscoin is designed to be a settlement layer for zkRollups and other L2s/execution layers, as such it has a 2.5 minute block time for the optimal settlement security, it is advised to create dApps using zkRollups rather than using the Syscoin blockchain itself for executing smart contracts. You can find zkRollup resources ",(0,a.kt)("a",{parentName:"em",href:"zk-rollups"},"here"),".")),(0,a.kt)("p",null,"This guide assumes that you have already:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Installed ",(0,a.kt)("a",{parentName:"p",href:"https://docs.npmjs.com/downloading-and-installing-node-js-and-npm"},"npm")," on your system")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Imported the ",(0,a.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"Tanenbaum Testnet (or Mainnet) network into MetaMask"))),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Requested gas from either the ",(0,a.kt)("a",{parentName:"p",href:"/docs/dev-resources/tsys"},"Tanenbaum faucet or Mainnet faucet")))),(0,a.kt)("h2",{id:"1-install-truffle-and-create-a-project"},"1. Install Truffle and create a project"),(0,a.kt)("p",null,"To install Truffle use the following command:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"npm install truffle -g\n")),(0,a.kt)("p",null,"Make a new directory where you wish to create your project then ",(0,a.kt)("inlineCode",{parentName:"p"},"cd")," into it and run the command below:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"truffle init\n")),(0,a.kt)("p",null,"Then enter this command to install support for HD wallet providers:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"npm install @truffle/hdwallet-provider -s\n")),(0,a.kt)("h2",{id:"2-create-a-new-contract"},"2. Create a new contract"),(0,a.kt)("p",null,"Create a new file in the ",(0,a.kt)("inlineCode",{parentName:"p"},"contracts")," directory called ",(0,a.kt)("inlineCode",{parentName:"p"},"HelloNEVM.sol"),"."),(0,a.kt)("p",null,"Paste the following code into the ",(0,a.kt)("inlineCode",{parentName:"p"},"HelloNEVM.sol")," file."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"pragma solidity ^0.8.10;\n\ncontract HelloNEVM {\n function sayHello() public pure returns(string memory) {\n return('Hello NEVM!');\n }\n}\n")),(0,a.kt)("h2",{id:"3-configure-the-network-used-by-truffle"},"3. Configure the network used by Truffle"),(0,a.kt)("p",null,"In ",(0,a.kt)("inlineCode",{parentName:"p"},"truffle-config.js")," in the ",(0,a.kt)("inlineCode",{parentName:"p"},"networks:{}")," section, add the following:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js"},'mainnet: {\n provider: function() {\n return new HDWalletProvider(mnemonic, "https://rpc.syscoin.org")\n },\n websocket: true, // Enable EventEmitter interface for web3 (default: false)\n network_id: 57,\n gas: 8000000 // gas should be no higher than 8m\n}\ntanenbaum: {\n provider: function() {\n return new HDWalletProvider(mnemonic, "https://rpc.tanenbaum.io/")\n },\n websocket: true, // Enable EventEmitter interface for web3 (default: false)\n network_id: 5700,\n gas: 8000000 // gas should be no higher than 8m\n}\n')),(0,a.kt)("p",null,"Then create a new file in the same directory called ",(0,a.kt)("inlineCode",{parentName:"p"},".secret\t")," and store your mnemonic from MetaMask in there and uncomment the line in ",(0,a.kt)("inlineCode",{parentName:"p"},"truffle-config.js")," where ",(0,a.kt)("inlineCode",{parentName:"p"},"mnemonic")," is initialized. Don't forget to add an entry in ",(0,a.kt)("inlineCode",{parentName:"p"},".gitignore")," for the ",(0,a.kt)("inlineCode",{parentName:"p"},".secret")," file."),(0,a.kt)("h2",{id:"4-deploy-the-contract"},"4. Deploy the contract"),(0,a.kt)("p",null,"In the ",(0,a.kt)("inlineCode",{parentName:"p"},"migrations")," folder create a JavaScript file named ",(0,a.kt)("inlineCode",{parentName:"p"},"2_deploy_contracts.js")," for deploying the contract."),(0,a.kt)("p",null,"Paste the following code into the file."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js"},"var HelloNEVM = artifacts.require('HelloNEVM');\nmodule.exports = function(deployer) {\n deployer.deploy(HelloNEVM, 'Hello NEVM!');\n // Additional contracts can be deployed here\n};\n")),(0,a.kt)("p",null,"Once this has been done then you can then deploy the contract (use ",(0,a.kt)("inlineCode",{parentName:"p"},"mainnet")," if you want to deploy on mainnet rather than the Tanenbaum testnet)."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"truffle deploy --network tanenbaum\n")),(0,a.kt)("p",null,"You will then receive something similar to the following output showing that the contracts have been successfully deployed."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"Compiling your contracts...\n===========================\n> Compiling ./contracts/HelloNEVM.sol\n> Compiling ./contracts/Migrations.sol\n> Compilation warnings encountered:\n\n Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: \" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.\n--\x3e project:/contracts/HelloNEVM.sol\n\n\n> Artifacts written to /home/nevm/Desktop/truffle/build/contracts\n> Compiled successfully using:\n - solc: 0.8.10+commit.fc410830.Emscripten.clang\n\n\n\nStarting migrations...\n======================\n> Network name: 'tanenbaum'\n> Network id: 5700\n> Block gas limit: 8000000 (0x7a1200)\n\n\n1_initial_migration.js\n======================\n\n Deploying 'Migrations'\n ----------------------\n > transaction hash: 0xb47d5c5615574d924c993b8950f12790b3bc5c80057a5a277c62970fd12b27b1\n > Blocks: 2 Seconds: 57\n > contract address: 0xbcB2F470C038bB1C46D37b1d83B583637f4E6Fa7\n > block number: 35173\n > block timestamp: 1638216695\n > account: 0x747825653574060c4AdA31c028cfCb81E1C6C9a4\n > balance: 2.494746334985289738\n > gas used: 250154 (0x3d12a)\n > gas price: 2.500000007 gwei\n > value sent: 0 ETH\n > total cost: 0.000625385001751078 ETH\n\n\n > Saving migration to chain.\n > Saving artifacts\n -------------------------------------\n > Total cost: 0.000625385001751078 ETH\n\n\n2_deploy_contracts.js\n=====================\n\n Deploying 'HelloNEVM'\n ---------------------\n > transaction hash: 0xa552bbf6dea81da9f6bb89d4195b238f672cf76064cb3649665fbeb99676aecd\n > Blocks: 1 Seconds: 37\n > contract address: 0x2ad52f0832Edd1169bB2234A9C931E0C95c892be\n > block number: 35178\n > block timestamp: 1638216962\n > account: 0x747825653574060c4AdA31c028cfCb81E1C6C9a4\n > balance: 2.494293884984022878\n > gas used: 135067 (0x20f9b)\n > gas price: 2.500000007 gwei\n > value sent: 0 ETH\n > total cost: 0.000337667500945469 ETH\n\n\n > Saving migration to chain.\n > Saving artifacts\n -------------------------------------\n > Total cost: 0.000337667500945469 ETH\n\n\nSummary\n=======\n> Total deployments: 2\n> Final cost: 0.000963052502696547 ETH\n\n")),(0,a.kt)("p",null,"Congratulations! Your contracts have been deployed and in the ",(0,a.kt)("inlineCode",{parentName:"p"},"Deploying 'HelloNEVM'")," section you can see the contract's address, which is worth saving if you wish to interact with it at a later date."),(0,a.kt)("h2",{id:"5-interact-with-the-smart-contract"},"5. Interact with the smart contract"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"cd")," to the root of your project directory then use this command to use Truffle on the Tanenbaum network (as specified in the ",(0,a.kt)("inlineCode",{parentName:"p"},"truffle-config.js"),")"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"truffle console --network tanenbaum\n")),(0,a.kt)("p",null,"You can then call the ",(0,a.kt)("inlineCode",{parentName:"p"},"sayHello()")," function with the following input:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"HelloNEVM.deployed().then(function(instance){return instance.sayHello()});\n")))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/24866cdd.7e3fb769.js b/assets/js/24866cdd.7e3fb769.js deleted file mode 100644 index 5afd3f5f..00000000 --- a/assets/js/24866cdd.7e3fb769.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[917],{3905:(e,n,t)=>{t.d(n,{Zo:()=>p,kt:()=>f});var r=t(67294);function a(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function l(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}var c=r.createContext({}),s=function(e){var n=r.useContext(c),t=n;return e&&(t="function"==typeof e?e(n):l(l({},n),e)),t},p=function(e){var n=s(e.components);return r.createElement(c.Provider,{value:n},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var n=e.children;return r.createElement(r.Fragment,{},n)}},m=r.forwardRef((function(e,n){var t=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=s(t),m=a,f=u["".concat(c,".").concat(m)]||u[m]||d[m]||o;return t?r.createElement(f,l(l({ref:n},p),{},{components:t})):r.createElement(f,l({ref:n},p))}));function f(e,n){var t=arguments,a=n&&n.mdxType;if("string"==typeof e||a){var o=t.length,l=new Array(o);l[0]=m;var i={};for(var c in n)hasOwnProperty.call(n,c)&&(i[c]=n[c]);i.originalType=e,i[u]="string"==typeof e?e:a,l[1]=i;for(var s=2;s{t.r(n),t.d(n,{default:()=>p,frontMatter:()=>o,metadata:()=>l,toc:()=>i});var r=t(87462),a=(t(67294),t(3905));const o={},l={unversionedId:"dev-resources/nevm/truffle",id:"dev-resources/nevm/truffle",isDocsHomePage:!1,title:"Deploying Smart Contracts with Truffle",description:"This is a guide to creating and deploying smart contracts with Truffle on the Syscoin Tanenbaum Testnet.",source:"@site/docs/dev-resources/nevm/truffle.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/truffle",permalink:"/docs/dev-resources/nevm/truffle",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Tooling",permalink:"/docs/dev-resources/nevm/tooling"},next:{title:"Rollups",permalink:"/docs/dev-resources/nevm/zk-rollups"}},i=[{value:"1. Install Truffle and create a project",id:"1-install-truffle-and-create-a-project",children:[]},{value:"2. Create a new contract",id:"2-create-a-new-contract",children:[]},{value:"3. Configure the network used by Truffle",id:"3-configure-the-network-used-by-truffle",children:[]},{value:"4. Deploy the contract",id:"4-deploy-the-contract",children:[]},{value:"5. Interact with the smart contract",id:"5-interact-with-the-smart-contract",children:[]}],c={toc:i},s="wrapper";function p(e){let{components:n,...t}=e;return(0,a.kt)(s,(0,r.Z)({},c,t,{components:n,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"This is a guide to creating and deploying smart contracts with Truffle on the Syscoin Tanenbaum Testnet."),(0,a.kt)("p",null,(0,a.kt)("em",{parentName:"p"},"NOTE: Syscoin is designed to be a settlement layer for zkRollups and other L2s/execution layers, as such it has a 2.5 minute block time for the optimal settlement security, it is advised to create dApps using zkRollups rather than using the Syscoin blockchain itself for executing smart contracts. You can find zkRollup resources ",(0,a.kt)("a",{parentName:"em",href:"zk-rollups"},"here"),".")),(0,a.kt)("p",null,"This guide assumes that you have already:"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Installed ",(0,a.kt)("a",{parentName:"p",href:"https://docs.npmjs.com/downloading-and-installing-node-js-and-npm"},"npm")," on your system")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Imported the ",(0,a.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"Tanenbaum Testnet (or Mainnet) network into MetaMask"))),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Requested gas from either the ",(0,a.kt)("a",{parentName:"p",href:"/docs/dev-resources/tsys"},"Tanenbaum faucet or Mainnet faucet")))),(0,a.kt)("h2",{id:"1-install-truffle-and-create-a-project"},"1. Install Truffle and create a project"),(0,a.kt)("p",null,"To install Truffle use the following command:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"npm install truffle -g\n")),(0,a.kt)("p",null,"Make a new directory where you wish to create your project then ",(0,a.kt)("inlineCode",{parentName:"p"},"cd")," into it and run the command below:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"truffle init\n")),(0,a.kt)("p",null,"Then enter this command to install support for HD wallet providers:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"npm install @truffle/hdwallet-provider -s\n")),(0,a.kt)("h2",{id:"2-create-a-new-contract"},"2. Create a new contract"),(0,a.kt)("p",null,"Create a new file in the ",(0,a.kt)("inlineCode",{parentName:"p"},"contracts")," directory called ",(0,a.kt)("inlineCode",{parentName:"p"},"HelloNEVM.sol"),"."),(0,a.kt)("p",null,"Paste the following code into the ",(0,a.kt)("inlineCode",{parentName:"p"},"HelloNEVM.sol")," file."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"pragma solidity ^0.8.10;\n\ncontract HelloNEVM {\n function sayHello() public pure returns(string memory) {\n return('Hello NEVM!');\n }\n}\n")),(0,a.kt)("h2",{id:"3-configure-the-network-used-by-truffle"},"3. Configure the network used by Truffle"),(0,a.kt)("p",null,"In ",(0,a.kt)("inlineCode",{parentName:"p"},"truffle-config.js")," in the ",(0,a.kt)("inlineCode",{parentName:"p"},"networks:{}")," section, add the following:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js"},'mainnet: {\n provider: function() {\n return new HDWalletProvider(mnemonic, "https://rpc.syscoin.org")\n },\n websocket: true, // Enable EventEmitter interface for web3 (default: false)\n network_id: 57,\n gas: 8000000 // gas should be no higher than 8m\n}\ntanenbaum: {\n provider: function() {\n return new HDWalletProvider(mnemonic, "https://rpc.tanenbaum.io/")\n },\n websocket: true, // Enable EventEmitter interface for web3 (default: false)\n network_id: 5700,\n gas: 8000000 // gas should be no higher than 8m\n}\n')),(0,a.kt)("p",null,"Then create a new file in the same directory called ",(0,a.kt)("inlineCode",{parentName:"p"},".secret\t")," and store your mnemonic from MetaMask in there and uncomment the line in ",(0,a.kt)("inlineCode",{parentName:"p"},"truffle-config.js")," where ",(0,a.kt)("inlineCode",{parentName:"p"},"mnemonic")," is initialized. Don't forget to add an entry in ",(0,a.kt)("inlineCode",{parentName:"p"},".gitignore")," for the ",(0,a.kt)("inlineCode",{parentName:"p"},".secret")," file."),(0,a.kt)("h2",{id:"4-deploy-the-contract"},"4. Deploy the contract"),(0,a.kt)("p",null,"In the ",(0,a.kt)("inlineCode",{parentName:"p"},"migrations")," folder create a JavaScript file named ",(0,a.kt)("inlineCode",{parentName:"p"},"2_deploy_contracts.js")," for deploying the contract."),(0,a.kt)("p",null,"Paste the following code into the file."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-js"},"var HelloNEVM = artifacts.require('HelloNEVM');\nmodule.exports = function(deployer) {\n deployer.deploy(HelloNEVM, 'Hello NEVM!');\n // Additional contracts can be deployed here\n};\n")),(0,a.kt)("p",null,"Once this has been done then you can then deploy the contract (use ",(0,a.kt)("inlineCode",{parentName:"p"},"mainnet")," if you want to deploy on mainnet rather than the Tanenbaum testnet)."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"truffle deploy --network tanenbaum\n")),(0,a.kt)("p",null,"You will then receive something similar to the following output showing that the contracts have been successfully deployed."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"Compiling your contracts...\n===========================\n> Compiling ./contracts/HelloNEVM.sol\n> Compiling ./contracts/Migrations.sol\n> Compilation warnings encountered:\n\n Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing \"SPDX-License-Identifier: \" to each source file. Use \"SPDX-License-Identifier: UNLICENSED\" for non-open-source code. Please see https://spdx.org for more information.\n--\x3e project:/contracts/HelloNEVM.sol\n\n\n> Artifacts written to /home/nevm/Desktop/truffle/build/contracts\n> Compiled successfully using:\n - solc: 0.8.10+commit.fc410830.Emscripten.clang\n\n\n\nStarting migrations...\n======================\n> Network name: 'tanenbaum'\n> Network id: 5700\n> Block gas limit: 8000000 (0x7a1200)\n\n\n1_initial_migration.js\n======================\n\n Deploying 'Migrations'\n ----------------------\n > transaction hash: 0xb47d5c5615574d924c993b8950f12790b3bc5c80057a5a277c62970fd12b27b1\n > Blocks: 2 Seconds: 57\n > contract address: 0xbcB2F470C038bB1C46D37b1d83B583637f4E6Fa7\n > block number: 35173\n > block timestamp: 1638216695\n > account: 0x747825653574060c4AdA31c028cfCb81E1C6C9a4\n > balance: 2.494746334985289738\n > gas used: 250154 (0x3d12a)\n > gas price: 2.500000007 gwei\n > value sent: 0 ETH\n > total cost: 0.000625385001751078 ETH\n\n\n > Saving migration to chain.\n > Saving artifacts\n -------------------------------------\n > Total cost: 0.000625385001751078 ETH\n\n\n2_deploy_contracts.js\n=====================\n\n Deploying 'HelloNEVM'\n ---------------------\n > transaction hash: 0xa552bbf6dea81da9f6bb89d4195b238f672cf76064cb3649665fbeb99676aecd\n > Blocks: 1 Seconds: 37\n > contract address: 0x2ad52f0832Edd1169bB2234A9C931E0C95c892be\n > block number: 35178\n > block timestamp: 1638216962\n > account: 0x747825653574060c4AdA31c028cfCb81E1C6C9a4\n > balance: 2.494293884984022878\n > gas used: 135067 (0x20f9b)\n > gas price: 2.500000007 gwei\n > value sent: 0 ETH\n > total cost: 0.000337667500945469 ETH\n\n\n > Saving migration to chain.\n > Saving artifacts\n -------------------------------------\n > Total cost: 0.000337667500945469 ETH\n\n\nSummary\n=======\n> Total deployments: 2\n> Final cost: 0.000963052502696547 ETH\n\n")),(0,a.kt)("p",null,"Congratulations! Your contracts have been deployed and in the ",(0,a.kt)("inlineCode",{parentName:"p"},"Deploying 'HelloNEVM'")," section you can see the contract's address, which is worth saving if you wish to interact with it at a later date."),(0,a.kt)("h2",{id:"5-interact-with-the-smart-contract"},"5. Interact with the smart contract"),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"cd")," to the root of your project directory then use this command to use Truffle on the Tanenbaum network (as specified in the ",(0,a.kt)("inlineCode",{parentName:"p"},"truffle-config.js"),")"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"truffle console --network tanenbaum\n")),(0,a.kt)("p",null,"You can then call the ",(0,a.kt)("inlineCode",{parentName:"p"},"sayHello()")," function with the following input:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"HelloNEVM.deployed().then(function(instance){return instance.sayHello()});\n")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/2c70be15.2cf73d8a.js b/assets/js/2c70be15.2cf73d8a.js new file mode 100644 index 00000000..07499654 --- /dev/null +++ b/assets/js/2c70be15.2cf73d8a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8596],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>f});var r=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var u=r.createContext({}),l=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},c=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,s=e.mdxType,o=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),d=l(n),f=s,A=d["".concat(u,".").concat(f)]||d[f]||p[f]||o;return n?r.createElement(A,a(a({ref:t},c),{},{components:n})):r.createElement(A,a({ref:t},c))}));function f(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var o=n.length,a=new Array(o);a[0]=d;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i.mdxType="string"==typeof e?e:s,a[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>i});var r=n(87462),s=(n(67294),n(3905));const o={},a={unversionedId:"dev-resources/sys/testnet",id:"dev-resources/sys/testnet",isDocsHomePage:!1,title:"Testnet Setup",description:"Syscoin 4.3 Testnet Setup Guide",source:"@site/docs/dev-resources/sys/testnet.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/testnet",permalink:"/docs/dev-resources/sys/testnet",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"SPT Exchange Integration",permalink:"/docs/dev-resources/sys/exchange-integration"},next:{title:"Testnet Masternode Setup Guide",permalink:"/docs/dev-resources/sys/testnet_mn"}},i=[{value:"Syscoin 4.3 Testnet Setup Guide",id:"syscoin-43-testnet-setup-guide",children:[{value:"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum.",id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum",children:[]},{value:"Setup QT for Testnet",id:"setup-qt-for-testnet",children:[]}]}],u={toc:i};function l(e){let{components:t,...o}=e;return(0,s.kt)("wrapper",(0,r.Z)({},u,o,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"syscoin-43-testnet-setup-guide"},"Syscoin 4.3 Testnet Setup Guide"),(0,s.kt)("h3",{id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum"},"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum."),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"64-bit CPU \u2014 2 Cores (4 preferred)")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"4gb RAM (real) minimum (8gb RAM preferred)")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"4gb swap (if less than 8gb real RAM) Will need to use SSD if using Swap")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"KVM or OpenVZ (KVM preferred)")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"Linux OS \u2014 Minimum Ubuntu 18.04, LTS Ubuntu 20.04 LTS (Focal Fossa) preferred.")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"80gb Disk Space (100gb+ SSD preferred).")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"Port open for Syscoin (default: 18369) and Geth (default: 30303)"))),(0,s.kt)("h3",{id:"setup-qt-for-testnet"},"Setup QT for Testnet"),(0,s.kt)("p",null,"You will need to setup a separate datadir for use on Testnet."),(0,s.kt)("p",null,"Replace 4.2 with 4.3 if necessary"),(0,s.kt)("p",null,"Choose a location for the Testnet data and create a folder, I use"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"D:\\Users\\john\\AppData\\Roaming\\Syscoin4.3TestNet\n")),(0,s.kt)("p",null,"Open this folder and create a syscoin.conf file with the following and save it as syscoin.conf."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"#rpc config\ntestnet=1\n[test]\nzmqpubnevm=\nrpcuser=user\nrpcpassword=password\nlisten=1\ndaemon=1\nserver=1\nassetindex=1\nport=18369\nrpcport=18370\nrpcallowip=127.0.0.1\ngethtestnet=1\naddnode=54.203.169.179\naddnode=54.190.239.153\n")),(0,s.kt)("p",null,"Close and save this file as syscoin.conf before running QT."),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Now we need to tell QT to use this directory for Testnet")),(0,s.kt)("p",null,"Use latest RC release and for windows use the win64.zip unzip and run from the download folder. (If you use the installer it will overwrite any existing installation)"),(0,s.kt)("p",null,(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/releases"},"https://github.com/syscoin/syscoin/releases")),(0,s.kt)("p",null,"Locate your syscoin-qt.exe, Use 4.3rc x"),(0,s.kt)("p",null,"Right click on it and create a shortcut"),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(26643).Z})),(0,s.kt)("p",null,"You might have to save it to your desktop"),(0,s.kt)("p",null,"Rename the shortcut to something like"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"syscoin-qt.exe \u2014 TestNet\n")),(0,s.kt)("p",null,"Right click on the shortcut and choose properties"),(0,s.kt)("p",null,"In the target field add -datadir and the location (created above)after syscoin-qt.exe so it looks like this (note the space before -datadir)"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"\u201cC:\\Program Files\\Syscoin\\syscoin-qt.exe\u201d \n-datadir=D:\\Users\\john\\AppData\\Roaming\\Syscoin4.3TestNet\n")),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(68486).Z})),(0,s.kt)("p",null,"If you want you can change the icon to distinguish it from Live"),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(26982).Z})),(0,s.kt)("p",null,"Press OK to save changes"),(0,s.kt)("p",null,"Now run QT from this shortcut and it will run QT on Testnet"),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(85772).Z})),(0,s.kt)("p",null,"Once synced you can follow this guide to request tSYS for testing:"),(0,s.kt)("p",null,(0,s.kt)("a",{parentName:"p",href:"../tsys"},"TSYS Faucets")),(0,s.kt)("p",null,"You can also follow the testnet masternode setup guide here:"),(0,s.kt)("p",null,(0,s.kt)("a",{parentName:"p",href:"testnet_mn"},"Testnet Masternode Setup Guide")))}l.isMDXComponent=!0},26982:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/change_icon-ae371d83fe2ca8b4c7f85a58b50cad24.png"},26643:(e,t,n)=>{n.d(t,{Z:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAf4AAACoCAIAAACOrRssAAARy0lEQVR42uzdP4gbWZ7A8ac+B8tF682WC9rDSZ6j6cBgR3JgvI6kmaBx0IET+zqQuGBQ9YJhBwzuBsMsGLbVbHBIgddOHHQwdDCWYFiPcdCK3OCgMWdLw3Qfs2x4Gy0LNzc6qkpV9arqvfojV6kl1fdDM7ir9apevVf9069eafp3wTAMAQAokgtCiL29PQYCAApie3t7hVEAgKIh9AMAoR8AQOgHABD6AQCEfgAAoR8AQOgHABD6AQCEfgAAoR8AQOgHAMwy9PebJU+zb20b7V93/gkAWK7Qb4b4uuiNHb21D6OsDt5vlq7vj2bfFgCK7UJc5H9xMKi2n9XcDbVWi1EDgKXO+suX18Xg3TDqnsDiy8DdrdICkbtGZK8eNZvNUqneFQOjIr1Gbmht8+f2ziJTX9UWAJBR6Be1++1qt65eXOnW74pn1ipQY2DcnbxitH+9Yqw7K0TD9kldjs4njw7XhuPxuNPpmM1EtW19Vws2HLbXIvoUagsAyDD0i3LraDxsCyvDDrwBVNvPWmXn/WFyb9B/bIj20I3H5dazdrV76MX+zft2k5D+Y2PQ6DkNy60WIR0Aziv0O+Hfzu0rcgq/flmO4icfRkL0D7uBzeXL6/aPFE3kyH/YFY0Nwj0AzEvot9U642G72n3EB2sAoDChP/6prxCVtaqU45tGH070uX5Uw7DhuwEzBgC5h/7R/nVphWe0/yhmWabcetAYGBW3zWj/riHa97Ut3PeRQMPR/n7ffkMYGI/tbf1mvatuCwDIMvSXL6936+4HLq1P4MR8pMZaFjpx2lQONodHmge7zqeHJh/QrHXGvYZzsMqBqNgPGdxthxvDdlXTFgCQXMkwjL29PQYCAApie3ubP98GAIVD6AcAQj8AgNAPACD0AwAI/QAAQj8AgNAPACD0AwAI/QAAQj8AgNAPACD0AwAI/QAAQj8AgNAPACD0AwChHwBA6AcAEPoBAIR+AAChHwBA6AcAEPoBAIR+AMDShf6/PDW/AADz4cIsDvL9rvnff7nHcANAMbL+vzwV/3tqfpH4A0BRQv/3u+OLYnzRyf0BAEse+q2U/+dfiZ9/JUj8AaAYod9K+c2DrJD4A0ARQr+T8ttI/AGgAKHfTfmdQ5H4A8BSh35/yk/iDwAFCP2BlJ/EHwCWPPSrUn4SfwBY6tCvTPlzTvz7zVKp2Q9uub4/Ur3G/Efg1XFG+9dTtjgvi9PTZTvBpR95EPqnSvlzTfxrGw3RPZR+70YfToQYHLwY+bY0Nmrmizvj8bhTW/rp7TcDb35Ldbjz6uoCnSYwu9AfkfLnmvhX1qri5IP7Gzl6cTCoVquDd0PflrUKkw6A0D/blD/HxL/82WbVS/LNON948GBduhMYvhtUNz8rB/I2+ybd/K/Fl85Z60KTzcPwvb3Lucn3Lzr5vvPWAuSdjjSrBoEdy5u8Rrqel1tH5h2NeZx6VwyMimZxK3Qge4d2/8JHlnqr6o/ycOrmuk7oUmn1iKmnTDkvgVNrxnTVXRQMnLK5OXZUE3TM3Z54wIF5D/2qlP/CqvmVf+JvxX4nyTfj/FqlttFw7wT6h12xfrmsatmt3xXPxuPxuNcYGHe9WFY/aQ/Hlgfv6sZA/jWuGOs9+0fjYfukbv/myoezjue98QzfDRobNbOlu9PepjJseHsettcmb2PvNofOJmFUpIij7PlkBaxjbhVV62ihxS3lgYQQJ48O15wG5msOnCP31t0DK/sTPpyuua8b+lPzOqoaMeWJ6+YlcGodZVdVo6FYV4wc1aiOaYYiyYAD2TMMY5yVH/80/rP46Qfx05nvyxbY+NMPYvxnYTbJUK8hRKM3+Zf92yn/Y/Izeav5i151/21/F9hDaN+hH3mtpJ31GqLRble976x/efuPOYGol0z2qeu58sVJDuTfYbCxpuvyq3wtkjWP7a2iXdIpk34UOLVwV+PGTu6GdlQTdkx1uUw3YsBUDMNYmekqf96Jv/uot3/YnaztVNbsOwHvEa+C/2bAytvN1/s2V9aqQmhuH8qX1+1W3o1H/7Db2GhdXreXoNz+mC/o1nVLBeae1Z301gHq3ZieJ6E/kLdD8zX2uoatIt32aPvjP4S2eZJTk+7lFCOmOPGIeVE0STQaU9B0TDsUCQccmNcFn2Sr/Dmv+E9WXKS4bUWOw37qR7zDd4NpF53MN5/RhxPzcLWNhvlOYH43ecpQbh1NliISf7q03yyVpHWAxgwvj2DSaa1wJO+PsnnaU5tixOZQ7FCkehkwP6E/VcqfW+JvJvkHjx8fDNwszsz8uoePvUe8iXfkT6K994LQj0TgrebkQ//FgbAOV9todA/3XxwMfMmgGc2G7Wr3UeBBXnjPzkdSe0etsvtdJsMUe4uge03C/iQ5RPJT041Y9BFDt27Td3XKVCDx/pO/DJij0J8+5c8p8bdWXLpdOcO3VoG63XSRX5RbD+QHp/2mtxph/6gifXjnriHa9723moFRN8TkcJW16smB907Ub8qJazAsBfY82t/v+1dyzEOlDEHSp1sTHEj/GjHab7pxV98f93BRzYVikUp3atEjFt1heV4iRkY9GmYWYTzuh6ZfP6rJO6YcCt3LRvvX+bQP5jT0T5Hy55T4m7FfCF+cN2O/SJL9BRaPOtZnTux118ONYbsq/chZgbDWZA82h07m6hzO7UD5s00x8O5BKmtOM7NV+Ha+1hn3Gl33JaJiRoRnbj/uimepFnxq99vWQnl4pURxIBHZmVLlYM06p4j++A+nbu4PdvGnFjdigQ7r5yVqZFSjUW4dudsC068d1YiOxQxFmpcBH69kGMbe3t7Hpvz/9e//96/a0G9/stP9qE8o8xf/9L0Q//Yn6rYDwAxsb2+vnGfKn1PiDwDId8Fn2lV+X97Pn/MEgEUK/R+Z8pP4A8CChf4sUn4SfwBYqNCfScpP4g8ACxP6s0v5SfwBYEFCf4YpP4k/ACxA6E+T8st/v5PEHwAWNvRnnvJnkfj7ynRQ7UIalez+7NmylZ/Nr9hi3mUcZzITWR5kqn3N6Hqbolh3rmPtVSfK7SJayTvlV5dqyS/x9/3pw966USkta6HsiNAy58Vjc6qLS8nchXjLmstOTlmsO6+x6n9YG45zrtizMkcpfxaJf2hCh+1qt06xIwALo9Zy//aUr/Lf+Yb+9B/sSb7Wn03i71NuPWhI9Xl1tVv9t37SdvnPJmraqou46vepqdmbpgBvRIVYzY+SF4xV3AnPf13cuMrAMfd+3iv9wxA7PnZHdc3VQ6M9hP+qKKUrFq07Wmgi1HOXy8WTtLq11DyqcrXdIv4Skuc64QQlKtbt71uKYtT62Y+fUK/qVNZSF2h8fenn41C1xay/fj4W49eX0lYdU1e0k6rgWX9+sdGTfqB4va9Mnr/En7qtvpKfroqhtDDVa7j7b7SH4Z3bfzHSK/OoqYYYcwrKPfjKA8ZWbOy1rX9E7k09PtZeqg1dIUJfw2G73ZuuOGLkbnVz7cyG8iTixyeyudwdzeQqz1173ODsC/UZRU+E+lrK4+KJ7LC6ueZ6c6tc6i7+iLmOmCDNSWtOWdE3VTdUY6Kb/fgJDdUVzbBAY8rQr6m+m/3XVJV746rHRtRujbgMYuu+Jgj9sTV7pyjAmyb0pykYu6B1caMrA0ddHL7NXmcTVcrVN4+siywFlrh6yu5xI4pFRxY41k2ErvRvVhdPiurWTnPN9dbohd6oEs91xARF/M4rTjn+FNPWso6b0Nzi/lS1eXNd5c9pxd8t/hRXu1V4q2t2RV0xeuEUWUnaVrfsFFezN3BfmEkB3ug9JKkEu2h1cf27TTpfvsKd5svcPSSqlKtuHrEI406u8tx1x40oFp3mxKe4lqa8eGKqW6uaa663k0fX612vmlvaU044QTGnHF1Ve4pa1nETOnpxINrPWuX8QmyqVf5/nI5/IUp/n8XX+BdC/COLFf9h2tqMbuz3Iv/HP3KIq9l7LgV4YyvBLkdd3PzGJ/kHQVJNruq4H1Mh8lwGJ6bDyuYR19u5l65M8ruQppb1eU/oSqqU32zwo1j575l8/egd9GPSv2a923hgvXcmr91qx/6+FPmTt9XMaEzN3jwK8EZLXgl2EevipumPr9iim0ImHh9182D+q5pc5SF0x40oFp3JRGR+8aSqbh15va0/OLIK5mke0cadcvwEpYv/mt+FtLWs4ya03Do6auVZpS31Y945Flxdsx/YSFusd1zf46CodeNqNVnbwCNfzdO38AMn+QCh/clr/d7ufM+aGpoDBX6k3UPwjBqhseg15P4pljwj9lZVPDBRLmr6Gk4edeqHNOlZJ53r8N79D94ixyeuueJ5jW9yleeuPW7Cx7xJJ0I3JFldPJEdVjePvN5CT0gTzXXEBMU+3/PtTNG3uG40Qs+Hw7Ovn9A8l/qneMw7/6E/8v4r8JqogVUNvL6texfX6OmengWvu+CHDbydV9tDf9jQ/Lo6LSLOMvzszH9e8tqDYjSkE04SPjTjEx6RYM+lbgR+FcJDmvCsk861NdI974X+3caMT2Rz/yd8lJOrO3fdcYfygfQXWrKJ0IaWjC6euA4rmsddb1J4TDrX0fObIvQr+hZ9JSeZ/ajxyTv0Z1Gbdyn1m6VHa8N877jAZQIm6Bxsb29fYBRURvuPutXNIdcLgKW0whCE04RSqWKs98gUACwrsv6gWmc87jAMSHq11BgFJoisHwBA6AcAEPoBAIR+AAChHwBA6AcAEPoBAIR+AAChHwBA6AcAEPoBgNAPACD0AwAI/QAAQj8AgNAPACD0AwAI/QAAQj8AYPYuCCFOT08ZCAAoVui/ePEiAwEAxcGCDwAQ+gEAhH4AAKEfAEDoBwAQ+gEAhH4AAKEfAEDoBwAQ+gEAebnAEAAL5Je//2uRT/9vv/t1xE9fvnxZ5MG5desWoR9AEV27dq2YJ/7mzRuyfmDJnf3HP1+5cuXt27fF+e/qf/6dec9QyTCMnZ0dBgJYCPaCz8VO9e3bt8U56ytXrvxPc5BkwafIWX/yBZ+dnR0e8wKLp1Bxv4DnOwOEfmAhs2DOF4R+gKyf8wWhHyAL5nxB6AfIgpN49eXq6pev5C2nT26v3n5yStbvjk9oOMwh8g8aoR/AImXBN5sPrz7/oxTaXnV2j+98sXWJrN9zvPvbc34vJPQDZP2ZurT1xZ3j3c4rJ5/94/OrD5s3l/d807v68OGdxQ/+hH6ArD+c+H9rxf7T777xUv7TJ7dXJ6QVD2sFJLhxybP+33z1VHp7DJEGanVuF4II/QBZfyDx/83n9qLPq86umKT8p09u3/jm89dnlqef7t6wQtrpk9v33j+0tz79vCBZv/X2+NXTO8/vqcK6OVC7nz61B+rs9cP39+Yz+hP6AbL+YOzf+uLO8TffPfn2uZPyW28Cf3BW/KX7AiE+/cTeenMrvwcCc/gJn9BDkclNkDlQr7+66Y7kH6ShIvQDmOss+Gbzodjdfe+s8r/69rk43r3hrmLc2D327g/u5b+qMY+f6zejuggu+ZsD5bwXTl72yafi/Q+nhH4AC5AFm0HdH8TuOIsYE1Zme2nr68mqRq7xfz4/128/EV/Q572EfoCsP84nlasRqasZ/18rlz+WOesXkyX/493OdxEDdfrD+8B9AKEfwGJkwXZ+e8PN60+ffGmF+Vdfyql+fhFufv9vXut57+5k/Us1UL91n5TPF/5eP0DWnyTEnT0Vq/dWn9vfXn34estKct/fWF11tnx9M8fzndu/128973VjvzlQryu3nVGxhmXrkiD0A8gkC847+l/a+vosFP3Pvgq/aGtGdznW3+ufgyz/7KaIGYRZjQqhHyDrz8iqk67Kzs7Ozv185yHrVw7OXA0UoR8g65/GfAavOcn6Fyiyx+IxL0DWz/kWDqEfWMisn/MFoR8oXNZvR8OC/JesP3MlwzB2dnYYCGAh/PL3fy3y6f/td7+O+OnLly+vXbtWzJF58+bNrVu3Er54Z2eHx7wAlioCMghJEPqB5Ul7Cy552gvW+gGA0A8AIPQDAAj9AABCPwCA0A8AIPQDAAj9AABCPwCA0A8AIPQDADJSMgyDUQCAQvn/AAAA//8FebMy4l3DggAAAABJRU5ErkJggg=="},68486:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/shortcut_props-3fa7b5eb06466c07e951a58e328db814.png"},85772:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/sys_core-ff03fc2406b1d6b36b8bd69330b57c30.png"}}]); \ No newline at end of file diff --git a/assets/js/2c70be15.5edb42e5.js b/assets/js/2c70be15.5edb42e5.js deleted file mode 100644 index 3a2680db..00000000 --- a/assets/js/2c70be15.5edb42e5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8596],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>A});var r=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var u=r.createContext({}),l=function(e){var t=r.useContext(u),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},c=function(e){var t=l(e.components);return r.createElement(u.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,s=e.mdxType,o=e.originalType,u=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),p=l(n),f=s,A=p["".concat(u,".").concat(f)]||p[f]||d[f]||o;return n?r.createElement(A,a(a({ref:t},c),{},{components:n})):r.createElement(A,a({ref:t},c))}));function A(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var o=n.length,a=new Array(o);a[0]=f;var i={};for(var u in t)hasOwnProperty.call(t,u)&&(i[u]=t[u]);i.originalType=e,i[p]="string"==typeof e?e:s,a[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>o,metadata:()=>a,toc:()=>i});var r=n(87462),s=(n(67294),n(3905));const o={},a={unversionedId:"dev-resources/sys/testnet",id:"dev-resources/sys/testnet",isDocsHomePage:!1,title:"Testnet Setup",description:"Syscoin 4.3 Testnet Setup Guide",source:"@site/docs/dev-resources/sys/testnet.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/testnet",permalink:"/docs/dev-resources/sys/testnet",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"SPT Exchange Integration",permalink:"/docs/dev-resources/sys/exchange-integration"},next:{title:"Testnet Masternode Setup Guide",permalink:"/docs/dev-resources/sys/testnet_mn"}},i=[{value:"Syscoin 4.3 Testnet Setup Guide",id:"syscoin-43-testnet-setup-guide",children:[{value:"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum.",id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum",children:[]},{value:"Setup QT for Testnet",id:"setup-qt-for-testnet",children:[]}]}],u={toc:i},l="wrapper";function c(e){let{components:t,...o}=e;return(0,s.kt)(l,(0,r.Z)({},u,o,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("h2",{id:"syscoin-43-testnet-setup-guide"},"Syscoin 4.3 Testnet Setup Guide"),(0,s.kt)("h3",{id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum"},"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum."),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"64-bit CPU \u2014 2 Cores (4 preferred)")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"4gb RAM (real) minimum (8gb RAM preferred)")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"4gb swap (if less than 8gb real RAM) Will need to use SSD if using Swap")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"KVM or OpenVZ (KVM preferred)")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"Linux OS \u2014 Minimum Ubuntu 18.04, LTS Ubuntu 20.04 LTS (Focal Fossa) preferred.")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"80gb Disk Space (100gb+ SSD preferred).")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("p",{parentName:"li"},"Port open for Syscoin (default: 18369) and Geth (default: 30303)"))),(0,s.kt)("h3",{id:"setup-qt-for-testnet"},"Setup QT for Testnet"),(0,s.kt)("p",null,"You will need to setup a separate datadir for use on Testnet."),(0,s.kt)("p",null,"Replace 4.2 with 4.3 if necessary"),(0,s.kt)("p",null,"Choose a location for the Testnet data and create a folder, I use"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"D:\\Users\\john\\AppData\\Roaming\\Syscoin4.3TestNet\n")),(0,s.kt)("p",null,"Open this folder and create a syscoin.conf file with the following and save it as syscoin.conf."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"#rpc config\ntestnet=1\n[test]\nzmqpubnevm=\nrpcuser=user\nrpcpassword=password\nlisten=1\ndaemon=1\nserver=1\nassetindex=1\nport=18369\nrpcport=18370\nrpcallowip=127.0.0.1\ngethtestnet=1\naddnode=54.203.169.179\naddnode=54.190.239.153\n")),(0,s.kt)("p",null,"Close and save this file as syscoin.conf before running QT."),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Now we need to tell QT to use this directory for Testnet")),(0,s.kt)("p",null,"Use latest RC release and for windows use the win64.zip unzip and run from the download folder. (If you use the installer it will overwrite any existing installation)"),(0,s.kt)("p",null,(0,s.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/releases"},"https://github.com/syscoin/syscoin/releases")),(0,s.kt)("p",null,"Locate your syscoin-qt.exe, Use 4.3rc x"),(0,s.kt)("p",null,"Right click on it and create a shortcut"),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(26643).Z})),(0,s.kt)("p",null,"You might have to save it to your desktop"),(0,s.kt)("p",null,"Rename the shortcut to something like"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"syscoin-qt.exe \u2014 TestNet\n")),(0,s.kt)("p",null,"Right click on the shortcut and choose properties"),(0,s.kt)("p",null,"In the target field add -datadir and the location (created above)after syscoin-qt.exe so it looks like this (note the space before -datadir)"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},"\u201cC:\\Program Files\\Syscoin\\syscoin-qt.exe\u201d \n-datadir=D:\\Users\\john\\AppData\\Roaming\\Syscoin4.3TestNet\n")),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(68486).Z})),(0,s.kt)("p",null,"If you want you can change the icon to distinguish it from Live"),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(26982).Z})),(0,s.kt)("p",null,"Press OK to save changes"),(0,s.kt)("p",null,"Now run QT from this shortcut and it will run QT on Testnet"),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(85772).Z})),(0,s.kt)("p",null,"Once synced you can follow this guide to request tSYS for testing:"),(0,s.kt)("p",null,(0,s.kt)("a",{parentName:"p",href:"../tsys"},"TSYS Faucets")),(0,s.kt)("p",null,"You can also follow the testnet masternode setup guide here:"),(0,s.kt)("p",null,(0,s.kt)("a",{parentName:"p",href:"testnet_mn"},"Testnet Masternode Setup Guide")))}c.isMDXComponent=!0},26982:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/change_icon-ae371d83fe2ca8b4c7f85a58b50cad24.png"},26643:(e,t,n)=>{n.d(t,{Z:()=>r});const r="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAf4AAACoCAIAAACOrRssAAARy0lEQVR42uzdP4gbWZ7A8ac+B8tF682WC9rDSZ6j6cBgR3JgvI6kmaBx0IET+zqQuGBQ9YJhBwzuBsMsGLbVbHBIgddOHHQwdDCWYFiPcdCK3OCgMWdLw3Qfs2x4Gy0LNzc6qkpV9arqvfojV6kl1fdDM7ir9apevVf9069eafp3wTAMAQAokgtCiL29PQYCAApie3t7hVEAgKIh9AMAoR8AQOgHABD6AQCEfgAAoR8AQOgHABD6AQCEfgAAoR8AQOgHAMwy9PebJU+zb20b7V93/gkAWK7Qb4b4uuiNHb21D6OsDt5vlq7vj2bfFgCK7UJc5H9xMKi2n9XcDbVWi1EDgKXO+suX18Xg3TDqnsDiy8DdrdICkbtGZK8eNZvNUqneFQOjIr1Gbmht8+f2ziJTX9UWAJBR6Be1++1qt65eXOnW74pn1ipQY2DcnbxitH+9Yqw7K0TD9kldjs4njw7XhuPxuNPpmM1EtW19Vws2HLbXIvoUagsAyDD0i3LraDxsCyvDDrwBVNvPWmXn/WFyb9B/bIj20I3H5dazdrV76MX+zft2k5D+Y2PQ6DkNy60WIR0Aziv0O+Hfzu0rcgq/flmO4icfRkL0D7uBzeXL6/aPFE3kyH/YFY0Nwj0AzEvot9U642G72n3EB2sAoDChP/6prxCVtaqU45tGH070uX5Uw7DhuwEzBgC5h/7R/nVphWe0/yhmWabcetAYGBW3zWj/riHa97Ut3PeRQMPR/n7ffkMYGI/tbf1mvatuCwDIMvSXL6936+4HLq1P4MR8pMZaFjpx2lQONodHmge7zqeHJh/QrHXGvYZzsMqBqNgPGdxthxvDdlXTFgCQXMkwjL29PQYCAApie3ubP98GAIVD6AcAQj8AgNAPACD0AwAI/QAAQj8AgNAPACD0AwAI/QAAQj8AgNAPACD0AwAI/QAAQj8AgNAPACD0AwChHwBA6AcAEPoBAIR+AAChHwBA6AcAEPoBAIR+AMDShf6/PDW/AADz4cIsDvL9rvnff7nHcANAMbL+vzwV/3tqfpH4A0BRQv/3u+OLYnzRyf0BAEse+q2U/+dfiZ9/JUj8AaAYod9K+c2DrJD4A0ARQr+T8ttI/AGgAKHfTfmdQ5H4A8BSh35/yk/iDwAFCP2BlJ/EHwCWPPSrUn4SfwBY6tCvTPlzTvz7zVKp2Q9uub4/Ur3G/Efg1XFG+9dTtjgvi9PTZTvBpR95EPqnSvlzTfxrGw3RPZR+70YfToQYHLwY+bY0Nmrmizvj8bhTW/rp7TcDb35Ldbjz6uoCnSYwu9AfkfLnmvhX1qri5IP7Gzl6cTCoVquDd0PflrUKkw6A0D/blD/HxL/82WbVS/LNON948GBduhMYvhtUNz8rB/I2+ybd/K/Fl85Z60KTzcPwvb3Lucn3Lzr5vvPWAuSdjjSrBoEdy5u8Rrqel1tH5h2NeZx6VwyMimZxK3Qge4d2/8JHlnqr6o/ycOrmuk7oUmn1iKmnTDkvgVNrxnTVXRQMnLK5OXZUE3TM3Z54wIF5D/2qlP/CqvmVf+JvxX4nyTfj/FqlttFw7wT6h12xfrmsatmt3xXPxuPxuNcYGHe9WFY/aQ/Hlgfv6sZA/jWuGOs9+0fjYfukbv/myoezjue98QzfDRobNbOlu9PepjJseHsettcmb2PvNofOJmFUpIij7PlkBaxjbhVV62ihxS3lgYQQJ48O15wG5msOnCP31t0DK/sTPpyuua8b+lPzOqoaMeWJ6+YlcGodZVdVo6FYV4wc1aiOaYYiyYAD2TMMY5yVH/80/rP46Qfx05nvyxbY+NMPYvxnYTbJUK8hRKM3+Zf92yn/Y/Izeav5i151/21/F9hDaN+hH3mtpJ31GqLRble976x/efuPOYGol0z2qeu58sVJDuTfYbCxpuvyq3wtkjWP7a2iXdIpk34UOLVwV+PGTu6GdlQTdkx1uUw3YsBUDMNYmekqf96Jv/uot3/YnaztVNbsOwHvEa+C/2bAytvN1/s2V9aqQmhuH8qX1+1W3o1H/7Db2GhdXreXoNz+mC/o1nVLBeae1Z301gHq3ZieJ6E/kLdD8zX2uoatIt32aPvjP4S2eZJTk+7lFCOmOPGIeVE0STQaU9B0TDsUCQccmNcFn2Sr/Dmv+E9WXKS4bUWOw37qR7zDd4NpF53MN5/RhxPzcLWNhvlOYH43ecpQbh1NliISf7q03yyVpHWAxgwvj2DSaa1wJO+PsnnaU5tixOZQ7FCkehkwP6E/VcqfW+JvJvkHjx8fDNwszsz8uoePvUe8iXfkT6K994LQj0TgrebkQ//FgbAOV9todA/3XxwMfMmgGc2G7Wr3UeBBXnjPzkdSe0etsvtdJsMUe4uge03C/iQ5RPJT041Y9BFDt27Td3XKVCDx/pO/DJij0J8+5c8p8bdWXLpdOcO3VoG63XSRX5RbD+QHp/2mtxph/6gifXjnriHa9723moFRN8TkcJW16smB907Ub8qJazAsBfY82t/v+1dyzEOlDEHSp1sTHEj/GjHab7pxV98f93BRzYVikUp3atEjFt1heV4iRkY9GmYWYTzuh6ZfP6rJO6YcCt3LRvvX+bQP5jT0T5Hy55T4m7FfCF+cN2O/SJL9BRaPOtZnTux118ONYbsq/chZgbDWZA82h07m6hzO7UD5s00x8O5BKmtOM7NV+Ha+1hn3Gl33JaJiRoRnbj/uimepFnxq99vWQnl4pURxIBHZmVLlYM06p4j++A+nbu4PdvGnFjdigQ7r5yVqZFSjUW4dudsC068d1YiOxQxFmpcBH69kGMbe3t7Hpvz/9e//96/a0G9/stP9qE8o8xf/9L0Q//Yn6rYDwAxsb2+vnGfKn1PiDwDId8Fn2lV+X97Pn/MEgEUK/R+Z8pP4A8CChf4sUn4SfwBYqNCfScpP4g8ACxP6s0v5SfwBYEFCf4YpP4k/ACxA6E+T8st/v5PEHwAWNvRnnvJnkfj7ynRQ7UIalez+7NmylZ/Nr9hi3mUcZzITWR5kqn3N6Hqbolh3rmPtVSfK7SJayTvlV5dqyS/x9/3pw966USkta6HsiNAy58Vjc6qLS8nchXjLmstOTlmsO6+x6n9YG45zrtizMkcpfxaJf2hCh+1qt06xIwALo9Zy//aUr/Lf+Yb+9B/sSb7Wn03i71NuPWhI9Xl1tVv9t37SdvnPJmraqou46vepqdmbpgBvRIVYzY+SF4xV3AnPf13cuMrAMfd+3iv9wxA7PnZHdc3VQ6M9hP+qKKUrFq07Wmgi1HOXy8WTtLq11DyqcrXdIv4Skuc64QQlKtbt71uKYtT62Y+fUK/qVNZSF2h8fenn41C1xay/fj4W49eX0lYdU1e0k6rgWX9+sdGTfqB4va9Mnr/En7qtvpKfroqhtDDVa7j7b7SH4Z3bfzHSK/OoqYYYcwrKPfjKA8ZWbOy1rX9E7k09PtZeqg1dIUJfw2G73ZuuOGLkbnVz7cyG8iTixyeyudwdzeQqz1173ODsC/UZRU+E+lrK4+KJ7LC6ueZ6c6tc6i7+iLmOmCDNSWtOWdE3VTdUY6Kb/fgJDdUVzbBAY8rQr6m+m/3XVJV746rHRtRujbgMYuu+Jgj9sTV7pyjAmyb0pykYu6B1caMrA0ddHL7NXmcTVcrVN4+siywFlrh6yu5xI4pFRxY41k2ErvRvVhdPiurWTnPN9dbohd6oEs91xARF/M4rTjn+FNPWso6b0Nzi/lS1eXNd5c9pxd8t/hRXu1V4q2t2RV0xeuEUWUnaVrfsFFezN3BfmEkB3ug9JKkEu2h1cf27TTpfvsKd5svcPSSqlKtuHrEI406u8tx1x40oFp3mxKe4lqa8eGKqW6uaa663k0fX612vmlvaU044QTGnHF1Ve4pa1nETOnpxINrPWuX8QmyqVf5/nI5/IUp/n8XX+BdC/COLFf9h2tqMbuz3Iv/HP3KIq9l7LgV4YyvBLkdd3PzGJ/kHQVJNruq4H1Mh8lwGJ6bDyuYR19u5l65M8ruQppb1eU/oSqqU32zwo1j575l8/egd9GPSv2a923hgvXcmr91qx/6+FPmTt9XMaEzN3jwK8EZLXgl2EevipumPr9iim0ImHh9182D+q5pc5SF0x40oFp3JRGR+8aSqbh15va0/OLIK5mke0cadcvwEpYv/mt+FtLWs4ya03Do6auVZpS31Y945Flxdsx/YSFusd1zf46CodeNqNVnbwCNfzdO38AMn+QCh/clr/d7ufM+aGpoDBX6k3UPwjBqhseg15P4pljwj9lZVPDBRLmr6Gk4edeqHNOlZJ53r8N79D94ixyeuueJ5jW9yleeuPW7Cx7xJJ0I3JFldPJEdVjePvN5CT0gTzXXEBMU+3/PtTNG3uG40Qs+Hw7Ovn9A8l/qneMw7/6E/8v4r8JqogVUNvL6texfX6OmengWvu+CHDbydV9tDf9jQ/Lo6LSLOMvzszH9e8tqDYjSkE04SPjTjEx6RYM+lbgR+FcJDmvCsk861NdI974X+3caMT2Rz/yd8lJOrO3fdcYfygfQXWrKJ0IaWjC6euA4rmsddb1J4TDrX0fObIvQr+hZ9JSeZ/ajxyTv0Z1Gbdyn1m6VHa8N877jAZQIm6Bxsb29fYBRURvuPutXNIdcLgKW0whCE04RSqWKs98gUACwrsv6gWmc87jAMSHq11BgFJoisHwBA6AcAEPoBAIR+AAChHwBA6AcAEPoBAIR+AAChHwBA6AcAEPoBgNAPACD0AwAI/QAAQj8AgNAPACD0AwAI/QAAQj8AYPYuCCFOT08ZCAAoVui/ePEiAwEAxcGCDwAQ+gEAhH4AAKEfAEDoBwAQ+gEAhH4AAKEfAEDoBwAQ+gEAebnAEAAL5Je//2uRT/9vv/t1xE9fvnxZ5MG5desWoR9AEV27dq2YJ/7mzRuyfmDJnf3HP1+5cuXt27fF+e/qf/6dec9QyTCMnZ0dBgJYCPaCz8VO9e3bt8U56ytXrvxPc5BkwafIWX/yBZ+dnR0e8wKLp1Bxv4DnOwOEfmAhs2DOF4R+gKyf8wWhHyAL5nxB6AfIgpN49eXq6pev5C2nT26v3n5yStbvjk9oOMwh8g8aoR/AImXBN5sPrz7/oxTaXnV2j+98sXWJrN9zvPvbc34vJPQDZP2ZurT1xZ3j3c4rJ5/94/OrD5s3l/d807v68OGdxQ/+hH6ArD+c+H9rxf7T777xUv7TJ7dXJ6QVD2sFJLhxybP+33z1VHp7DJEGanVuF4II/QBZfyDx/83n9qLPq86umKT8p09u3/jm89dnlqef7t6wQtrpk9v33j+0tz79vCBZv/X2+NXTO8/vqcK6OVC7nz61B+rs9cP39+Yz+hP6AbL+YOzf+uLO8TffPfn2uZPyW28Cf3BW/KX7AiE+/cTeenMrvwcCc/gJn9BDkclNkDlQr7+66Y7kH6ShIvQDmOss+Gbzodjdfe+s8r/69rk43r3hrmLc2D327g/u5b+qMY+f6zejuggu+ZsD5bwXTl72yafi/Q+nhH4AC5AFm0HdH8TuOIsYE1Zme2nr68mqRq7xfz4/128/EV/Q572EfoCsP84nlasRqasZ/18rlz+WOesXkyX/493OdxEDdfrD+8B9AKEfwGJkwXZ+e8PN60+ffGmF+Vdfyql+fhFufv9vXut57+5k/Us1UL91n5TPF/5eP0DWnyTEnT0Vq/dWn9vfXn34estKct/fWF11tnx9M8fzndu/128973VjvzlQryu3nVGxhmXrkiD0A8gkC847+l/a+vosFP3Pvgq/aGtGdznW3+ufgyz/7KaIGYRZjQqhHyDrz8iqk67Kzs7Ozv185yHrVw7OXA0UoR8g65/GfAavOcn6Fyiyx+IxL0DWz/kWDqEfWMisn/MFoR8oXNZvR8OC/JesP3MlwzB2dnYYCGAh/PL3fy3y6f/td7+O+OnLly+vXbtWzJF58+bNrVu3Er54Z2eHx7wAlioCMghJEPqB5Ul7Cy552gvW+gGA0A8AIPQDAAj9AABCPwCA0A8AIPQDAAj9AABCPwCA0A8AIPQDADJSMgyDUQCAQvn/AAAA//8FebMy4l3DggAAAABJRU5ErkJggg=="},68486:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/shortcut_props-3fa7b5eb06466c07e951a58e328db814.png"},85772:(e,t,n)=>{n.d(t,{Z:()=>r});const r=n.p+"assets/images/sys_core-ff03fc2406b1d6b36b8bd69330b57c30.png"}}]); \ No newline at end of file diff --git a/assets/js/31d91691.12bee274.js b/assets/js/31d91691.12bee274.js new file mode 100644 index 00000000..7edc973a --- /dev/null +++ b/assets/js/31d91691.12bee274.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6428],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>m});var s=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=s.createContext({}),l=function(e){var t=s.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=l(e.components);return s.createElement(c.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return s.createElement(s.Fragment,{},t)}},d=s.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),d=l(n),m=r,f=d["".concat(c,".").concat(m)]||d[m]||p[m]||a;return n?s.createElement(f,o(o({ref:t},u),{},{components:n})):s.createElement(f,o({ref:t},u))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,o=new Array(a);o[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeof e?e:r,o[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>a,metadata:()=>o,toc:()=>i});var s=n(87462),r=(n(67294),n(3905));const a={},o={unversionedId:"dev-resources/tsys",id:"dev-resources/tsys",isDocsHomePage:!1,title:"SYS/TSYS Faucets",description:"This guide describes how to request funds from the Mainnet and Tanenbaum Testnet faucets.",source:"@site/docs/dev-resources/tsys.mdx",sourceDirName:"dev-resources",slug:"/dev-resources/tsys",permalink:"/docs/dev-resources/tsys",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Examples",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/examples"},next:{title:"Overview",permalink:"/docs/guides/overview"}},i=[{value:"Syscoin Testnet Chain",id:"syscoin-testnet-chain",children:[]}],c={toc:i};function l(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,s.Z)({},c,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"This guide describes how to request funds from the Mainnet and Tanenbaum Testnet faucets."),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(18122).Z})),(0,r.kt)("p",null,"After connecting to the Syscoin Mainnet or Tanenbaum Testnet with MetaMask (",(0,r.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"tutorial here"),"), head to either one of the below to get some SYS or tSYS as you require, this guide assumes tSYS but applies to Mainnet (SYS) as well:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://faucet.syscoin.org"},"https://faucet.syscoin.org")," (Mainnet)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://faucet.tanenbaum.io"},"https://faucet.tanenbaum.io")," (Testnet)")),(0,r.kt)("p",null,"Copy your address from MetaMask."),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(52171).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Click the the Tweet link on the faucet page.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(19315).Z})),(0,r.kt)("p",null,"This will open up Twitter with a Tweet."),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(67897).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Next, paste in your address replacing the current address then tweet it.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(52346).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Once tweeted, click share and copy the tweet link and head back to the faucet page.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(46114).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Paste the link into the text box and click Give me SYS. Choose the amount of SYS you would like and wait one block to receive.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(77903).Z})),(0,r.kt)("p",null,"Your MetaMask Wallet will now be funded with SYS/tSYS and you can now interact with dApps on Syscoin NEVM."),(0,r.kt)("h2",{id:"syscoin-testnet-chain"},"Syscoin Testnet Chain"),(0,r.kt)("p",null,"In order to access the Syscoin testnet faucet you must first join the ",(0,r.kt)("a",{parentName:"p",href:"https://discord.gg/syscoin"},"Syscoin Discord server"),"."),(0,r.kt)("p",null,"After doing this, navigate to the #tsys-faucet channel, under the DEVELOPMENT heading."),(0,r.kt)("p",null,"Then use the command:"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"!sendme amount address")),(0,r.kt)("p",null,"Where the amount is the amount of tSYS you would like to be sent (maximum 100k at a time), and the address is the Syscoin testnet address you would like the funds sent to."))}l.isMDXComponent=!0},18122:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx1-a20e0305d37cfc9b508b2e8f9f29aba3.png"},52171:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx2-1e4b37be8201f3e77753c45d0c570aca.png"},19315:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx3-e59296e9dc1f3e135503f788e6d4ed0f.png"},67897:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx4-79e2113531dbddf2fabf515250d2f9b3.png"},52346:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx5-a6397e2b6520b3fab8b96f3efa46c685.png"},46114:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx6-b09ee4952a9b0e8eb12619956a738661.png"},77903:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx7-7206f38d22fc44fa7f4ae4e309f6e5bc.png"}}]); \ No newline at end of file diff --git a/assets/js/31d91691.b7d39790.js b/assets/js/31d91691.b7d39790.js deleted file mode 100644 index a9eb94dc..00000000 --- a/assets/js/31d91691.b7d39790.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6428],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>f});var s=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,s)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(s=0;s=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=s.createContext({}),l=function(e){var t=s.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},u=function(e){var t=l(e.components);return s.createElement(c.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return s.createElement(s.Fragment,{},t)}},m=s.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),p=l(n),m=r,f=p["".concat(c,".").concat(m)]||p[m]||d[m]||a;return n?s.createElement(f,o(o({ref:t},u),{},{components:n})):s.createElement(f,o({ref:t},u))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,o=new Array(a);o[0]=m;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[p]="string"==typeof e?e:r,o[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>u,frontMatter:()=>a,metadata:()=>o,toc:()=>i});var s=n(87462),r=(n(67294),n(3905));const a={},o={unversionedId:"dev-resources/tsys",id:"dev-resources/tsys",isDocsHomePage:!1,title:"SYS/TSYS Faucets",description:"This guide describes how to request funds from the Mainnet and Tanenbaum Testnet faucets.",source:"@site/docs/dev-resources/tsys.mdx",sourceDirName:"dev-resources",slug:"/dev-resources/tsys",permalink:"/docs/dev-resources/tsys",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Examples",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/examples"},next:{title:"Overview",permalink:"/docs/guides/overview"}},i=[{value:"Syscoin Testnet Chain",id:"syscoin-testnet-chain",children:[]}],c={toc:i},l="wrapper";function u(e){let{components:t,...a}=e;return(0,r.kt)(l,(0,s.Z)({},c,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"This guide describes how to request funds from the Mainnet and Tanenbaum Testnet faucets."),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(18122).Z})),(0,r.kt)("p",null,"After connecting to the Syscoin Mainnet or Tanenbaum Testnet with MetaMask (",(0,r.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"tutorial here"),"), head to either one of the below to get some SYS or tSYS as you require, this guide assumes tSYS but applies to Mainnet (SYS) as well:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://faucet.syscoin.org"},"https://faucet.syscoin.org")," (Mainnet)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://faucet.tanenbaum.io"},"https://faucet.tanenbaum.io")," (Testnet)")),(0,r.kt)("p",null,"Copy your address from MetaMask."),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(52171).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Click the the Tweet link on the faucet page.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(19315).Z})),(0,r.kt)("p",null,"This will open up Twitter with a Tweet."),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(67897).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Next, paste in your address replacing the current address then tweet it.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(52346).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Once tweeted, click share and copy the tweet link and head back to the faucet page.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(46114).Z})),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Paste the link into the text box and click Give me SYS. Choose the amount of SYS you would like and wait one block to receive.")),(0,r.kt)("p",null,(0,r.kt)("img",{alt:"img",src:n(77903).Z})),(0,r.kt)("p",null,"Your MetaMask Wallet will now be funded with SYS/tSYS and you can now interact with dApps on Syscoin NEVM."),(0,r.kt)("h2",{id:"syscoin-testnet-chain"},"Syscoin Testnet Chain"),(0,r.kt)("p",null,"In order to access the Syscoin testnet faucet you must first join the ",(0,r.kt)("a",{parentName:"p",href:"https://discord.gg/syscoin"},"Syscoin Discord server"),"."),(0,r.kt)("p",null,"After doing this, navigate to the #tsys-faucet channel, under the DEVELOPMENT heading."),(0,r.kt)("p",null,"Then use the command:"),(0,r.kt)("p",null,(0,r.kt)("inlineCode",{parentName:"p"},"!sendme amount address")),(0,r.kt)("p",null,"Where the amount is the amount of tSYS you would like to be sent (maximum 100k at a time), and the address is the Syscoin testnet address you would like the funds sent to."))}u.isMDXComponent=!0},18122:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx1-a20e0305d37cfc9b508b2e8f9f29aba3.png"},52171:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx2-1e4b37be8201f3e77753c45d0c570aca.png"},19315:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx3-e59296e9dc1f3e135503f788e6d4ed0f.png"},67897:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx4-79e2113531dbddf2fabf515250d2f9b3.png"},52346:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx5-a6397e2b6520b3fab8b96f3efa46c685.png"},46114:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx6-b09ee4952a9b0e8eb12619956a738661.png"},77903:(e,t,n)=>{n.d(t,{Z:()=>s});const s=n.p+"assets/images/tsysx7-7206f38d22fc44fa7f4ae4e309f6e5bc.png"}}]); \ No newline at end of file diff --git a/assets/js/3830.b7852bb9.js b/assets/js/3830.b7852bb9.js new file mode 100644 index 00000000..642e6b1c --- /dev/null +++ b/assets/js/3830.b7852bb9.js @@ -0,0 +1,2 @@ +/*! For license information please see 3830.b7852bb9.js.LICENSE.txt */ +(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3830],{3905:(e,t,n)=>{"use strict";n.d(t,{Zo:()=>c,kt:()=>f});var r=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var l=r.createContext({}),u=function(e){var t=r.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=u(e.components);return r.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,a=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),d=u(n),f=i,g=d["".concat(l,".").concat(f)]||d[f]||p[f]||a;return n?r.createElement(g,o(o({ref:t},c),{},{components:n})):r.createElement(g,o({ref:t},c))}));function f(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var a=n.length,o=new Array(a);o[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:i,o[1]=s;for(var u=2;u{"use strict";e.exports=function(e){if(e)throw e}},86010:(e,t,n)=>{"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;ti});const i=function(){for(var e,t,n=0,i="";n{"use strict";t.parse=function(e){var t,n=[],r=String(e||""),i=r.indexOf(","),a=0,o=!1;for(;!o;)-1===i&&(i=r.length,o=!0),!(t=r.slice(a,i).trim())&&o||n.push(t),a=i+1,i=r.indexOf(",",a);return n},t.stringify=function(e,t){var n=t||{},r=!1===n.padLeft?"":" ",i=n.padRight?" ":"";""===e[e.length-1]&&(e=e.concat(""));return e.join(i+","+r).trim()}},94470:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,p=arguments[0],d=1,f=arguments.length,g=!1;for("boolean"==typeof p&&(g=p,p=arguments[1]||{},d=2),(null==p||"object"!=typeof p&&"function"!=typeof p)&&(p={});d{"use strict";e.exports=function(e,n){var r,i,a,o=e||"",s=n||"div",l={},u=0;for(;u{"use strict";var r=n(99560),i=n(66632),a=n(78892),o=n(36582).parse,s=n(56851).parse;e.exports=function(e,t,n){var i=n?function(e){var t,n=e.length,r=-1,i={};for(;++r{"use strict";var r=n(97247),i=n(62502)(r,"div");i.displayName="html",e.exports=i},31742:(e,t,n)=>{"use strict";e.exports=n(52579)},18139:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,d=1;function f(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function g(){var e={line:p,column:d};return function(t){return t.position=new m(e),E(),t}}function m(e){this.start=e,this.end={line:p,column:d},this.source=l.source}m.prototype.content=e;var h=[];function b(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n;h.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function E(){y(r)}function v(e){var t;for(e=e||[];t=S();)!1!==t&&e.push(t);return e}function S(){var t=g();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return b("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function k(){var e=g(),n=y(i);if(n){if(S(),!y(a))return b("property missing ':'");var r=y(o),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(s),l}}return E(),function(){var e,t=[];for(v(t);e=k();)!1!==e&&(t.push(e),v(t));return t}()}},46260:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}},7961:(e,t,n)=>{"use strict";var r=n(46260),i=n(46195);e.exports=function(e){return r(e)||i(e)}},48738:e=>{e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},46195:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:e=>{"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},33310:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},86630:(e,t,n)=>{"use strict";var r=n(62854);e.exports=function(e,t){return function(e){return t;function t(t){var n=t&&a(t);return n&&i.call(e,n)?e[n]:null}}(function(e){var t={};if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return r(e,"definition",n),t;function n(e){var n=a(e.identifier);i.call(t,n)||(t[n]=e)}}(e))};var i={}.hasOwnProperty;function a(e){return e.toUpperCase()}},52524:(e,t,n)=>{"use strict";e.exports=function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);return function(e){var t=e||{},n=function(e,t){var n=-1;for(;++n-1&&(F.call(this,e),U.call(this,e))}function G(){g("atHardBreak",!0)}function H(){var e=this.resume();this.stack[this.stack.length-1].value=e}function z(){var e=this.resume();this.stack[this.stack.length-1].value=e}function $(){var e=this.resume();this.stack[this.stack.length-1].value=e}function j(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function V(){var e=this.stack[this.stack.length-1];m("inReference")?(e.type+="Reference",e.referenceType=m("referenceType")||"shortcut",delete e.url,delete e.title):(delete e.identifier,delete e.label,delete e.referenceType),g("referenceType")}function W(e){this.stack[this.stack.length-2].identifier=o(this.sliceSerialize(e)).toLowerCase()}function K(){var e=this.stack[this.stack.length-1],t=this.resume();this.stack[this.stack.length-1].label=t,g("inReference",!0),"link"===this.stack[this.stack.length-1].type?this.stack[this.stack.length-1].children=e.children:this.stack[this.stack.length-1].alt=t}function q(){var e=this.resume();this.stack[this.stack.length-1].url=e}function Y(){var e=this.resume();this.stack[this.stack.length-1].title=e}function X(){g("inReference")}function Z(){g("referenceType","collapsed")}function Q(e){var t=this.resume();this.stack[this.stack.length-1].label=t,this.stack[this.stack.length-1].identifier=o(this.sliceSerialize(e)).toLowerCase(),g("referenceType","full")}function J(e){g("characterReferenceType",e.type)}function ee(e){var t,n,r=this.sliceSerialize(e),i=m("characterReferenceType");i?(t=s(r,"characterReferenceMarkerNumeric"===i?10:16),g("characterReferenceType")):t=p(r),(n=this.stack.pop()).value+=t,n.position.end=h(e.end)}function te(e){U.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function ne(e){U.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function re(){return{type:"blockquote",children:[]}}function ie(){return{type:"code",lang:null,meta:null,value:""}}function ae(){return{type:"inlineCode",value:""}}function oe(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function se(){return{type:"emphasis",children:[]}}function le(){return{type:"heading",depth:void 0,children:[]}}function ue(){return{type:"break"}}function ce(){return{type:"html",value:""}}function pe(){return{type:"image",title:null,url:"",alt:null}}function de(){return{type:"link",title:null,url:"",children:[]}}function fe(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ge(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function me(){return{type:"paragraph",children:[]}}function he(){return{type:"strong",children:[]}}function be(){return{type:"text",value:""}}function ye(){return{type:"thematicBreak"}}}(n)(c(l(n).document().write(u()(e,t,!0))))};var r=n(4999),i=n(99198),a=n(46706),o=n(35478),s=n(10596),l=n(32976),u=n(30162),c=n(61242),p=n(89435),d=n(75432);function f(e,t){var n,r;for(n in t)r=a.call(e,n)?e[n]:e[n]={},"canContainEols"===n||"transforms"===n?e[n]=[].concat(r,t[n]):Object.assign(r,t[n])}},39671:(e,t,n)=>{"use strict";e.exports=n(52524)},4999:e=>{"use strict";function t(e){return e&&(e.value||e.alt||e.title||"children"in e&&n(e.children)||"length"in e&&n(e))||""}function n(e){for(var n=[],r=-1;++r{"use strict";var t={};function n(e,r,i){var a,o,s,l,u,c="";for("string"!=typeof r&&(i=r,r=n.defaultChars),void 0===i&&(i=!0),u=function(e){var n,r,i=t[e];if(i)return i;for(i=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?i.push(r):i.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1=56320&&l<=57343){c+=encodeURIComponent(e[a]+e[a+1]),a++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[a]);return c}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},76734:(e,t,n)=>{"use strict";var r=n(2841)(/[A-Za-z]/);e.exports=r},46712:(e,t,n)=>{"use strict";var r=n(2841)(/[\dA-Za-z]/);e.exports=r},13571:(e,t,n)=>{"use strict";var r=n(2841)(/[#-'*+\--9=?A-Z^-~]/);e.exports=r},89696:e=>{"use strict";e.exports=function(e){return e<32||127===e}},73977:(e,t,n)=>{"use strict";var r=n(2841)(/\d/);e.exports=r},56238:(e,t,n)=>{"use strict";var r=n(2841)(/[\dA-Fa-f]/);e.exports=r},83074:(e,t,n)=>{"use strict";var r=n(2841)(/[!-/:-@[-`{-~]/);e.exports=r},88367:e=>{"use strict";e.exports=function(e){return e<0||32===e}},17238:e=>{"use strict";e.exports=function(e){return e<-2}},73654:e=>{"use strict";e.exports=function(e){return-2===e||-1===e||32===e}},36996:(e,t,n)=>{"use strict";var r=n(76830),i=n(2841)(r);e.exports=i},10395:(e,t,n)=>{"use strict";var r=n(2841)(/\s/);e.exports=r},99198:e=>{"use strict";var t=Object.assign;e.exports=t},93267:e=>{"use strict";var t=String.fromCharCode;e.exports=t},46706:e=>{"use strict";var t={}.hasOwnProperty;e.exports=t},57139:e=>{"use strict";e.exports=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},16871:e=>{"use strict";e.exports=["pre","script","style","textarea"]},21362:e=>{"use strict";var t=[].splice;e.exports=t},76830:e=>{"use strict";e.exports=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/},36274:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(97082),i=n(47542),a=n(1349),o=n(45485),s=n(49653),l=n(36713),u=n(46597),c=n(20431),p=n(60026),d=n(93865),f=n(65694),g=n(596),m=n(76872),h=n(28911),b=n(31294),y=n(36215),E=n(60534),v=n(92607),S=n(46931),k=n(15874),T=n(37039),w={42:S,43:S,45:S,48:S,49:S,50:S,51:S,52:S,53:S,54:S,55:S,56:S,57:S,62:o},A={91:d},R={"-2":c,"-1":c,32:c},C={35:g,42:T,45:[k,T],60:m,61:k,95:T,96:u,126:u},I={38:l,92:s},O={"-5":v,"-4":v,"-3":v,33:y,38:l,42:i,60:[a,h],91:E,92:[f,s],93:b,95:i,96:p},_={null:[i,r.resolver]};t.contentInitial=A,t.disable={null:[]},t.document=w,t.flow=C,t.flowInitial=R,t.insideSpan=_,t.string=I,t.text=O},13745:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928),a=function(e){var t,n=e.attempt(this.parser.constructs.contentInitial,(function(t){if(null===t)return void e.consume(t);return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,n,"linePrefix")}),(function(t){return e.enter("paragraph"),a(t)}));return n;function a(n){var r=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=r),t=r,o(n)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):r(t)?(e.consume(t),e.exit("chunkText"),a):(e.consume(t),o)}};t.tokenize=a},14201:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17238),i=n(52928),a=n(66532),o=function(e){var t,n,i,o=this,u=[],c=0,p={tokenize:function(e,r){var i=0;return t={},c;function c(r){return it;)o.containerState=u[a][1],u[a][0].exit.call(o,e);u.length=t}},s={tokenize:function(e,t,n){return i(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},l={tokenize:function(e,t,n){return i(e,e.lazy(this.parser.constructs.flow,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}};t.tokenize=o},22871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(64590),i=n(52928),a=n(66532),o=function(e){var t=this,n=e.attempt(a,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}),e.attempt(this.parser.constructs.flowInitial,o,i(e,e.attempt(this.parser.constructs.flow,o,e.attempt(r,o)),"linePrefix")));return n;function o(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}};t.tokenize=o},97082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(99198),i=n(75923),a=l("text"),o=l("string"),s={resolveAll:u()};function l(e){return{tokenize:function(t){var n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){var t=r[e],i=-1;if(null===e)return!0;if(t)for(;++i{"use strict";var r=n(13745),i=n(14201),a=n(22871),o=n(97082),s=n(12952),l=n(21388),u=n(28180),c=n(36274);e.exports=function(e){var t={defined:[],constructs:s([c].concat(u((e||{}).extensions))),content:n(r),document:n(i),flow:n(a),string:n(o.string),text:n(o.text)};return t;function n(e){return function(n){return l(t,e,n)}}}},61242:(e,t,n)=>{"use strict";var r=n(84423);e.exports=function(e){for(;!r(e););return e}},30162:e=>{"use strict";var t=/[\0\t\n\r]/g;e.exports=function(){var e,n=!0,r=1,i="";return function(a,o,s){var l,u,c,p,d,f=[];a=i+a.toString(o),c=0,i="",n&&(65279===a.charCodeAt(0)&&c++,n=void 0);for(;c{"use strict";var r=n(78811),i=n(56808),a=n(19444),o=n(15644),s=n(58280),l=n(75923),u={name:"attention",tokenize:function(e,t){var n,r=a(this.previous);return function(t){return e.enter("attentionSequence"),n=t,i(t)};function i(o){var s,l,u,c;return o===n?(e.consume(o),i):(s=e.exit("attentionSequence"),u=!(l=a(o))||2===l&&r,c=!r||2===r&&l,s._open=42===n?u:u&&(r||!c),s._close=42===n?c:c&&(l||!u),t(o))}},resolveAll:function(e,t){var n,a,u,c,p,d,f,g,m=-1;for(;++m1&&e[m][1].end.offset-e[m][1].start.offset>1?2:1,c={type:d>1?"strongSequence":"emphasisSequence",start:o(l(e[n][1].end),-d),end:l(e[n][1].end)},p={type:d>1?"strongSequence":"emphasisSequence",start:l(e[m][1].start),end:o(l(e[m][1].start),d)},u={type:d>1?"strongText":"emphasisText",start:l(e[n][1].end),end:l(e[m][1].start)},a={type:d>1?"strong":"emphasis",start:l(c.start),end:l(p.end)},e[n][1].end=l(c.start),e[m][1].start=l(p.end),f=[],e[n][1].end.offset-e[n][1].start.offset&&(f=r(f,[["enter",e[n][1],t],["exit",e[n][1],t]])),f=r(f,[["enter",a,t],["enter",c,t],["exit",c,t],["enter",u,t]]),f=r(f,s(t.parser.constructs.insideSpan.null,e.slice(n+1,m),t)),f=r(f,[["exit",u,t],["enter",p,t],["exit",p,t],["exit",a,t]]),e[m][1].end.offset-e[m][1].start.offset?(g=2,f=r(f,[["enter",e[m][1],t],["exit",e[m][1],t]])):g=0,i(e,n-1,m-n+3,f),m=n+f.length-g-2;break}m=-1;for(;++m{"use strict";var r=n(76734),i=n(46712),a=n(13571),o=n(89696),s={name:"autolink",tokenize:function(e,t,n){var s=1;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l};function l(t){return r(t)?(e.consume(t),u):a(t)?d(t):n(t)}function u(e){return 43===e||45===e||46===e||i(e)?c(e):d(e)}function c(t){return 58===t?(e.consume(t),p):(43===t||45===t||46===t||i(t))&&s++<32?(e.consume(t),c):d(t)}function p(t){return 62===t?(e.exit("autolinkProtocol"),h(t)):32===t||60===t||o(t)?n(t):(e.consume(t),p)}function d(t){return 64===t?(e.consume(t),s=0,f):a(t)?(e.consume(t),d):n(t)}function f(e){return i(e)?g(e):n(e)}function g(t){return 46===t?(e.consume(t),s=0,f):62===t?(e.exit("autolinkProtocol").type="autolinkEmail",h(t)):m(t)}function m(t){return(45===t||i(t))&&s++<63?(e.consume(t),45===t?m:g):n(t)}function h(n){return e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t}}};e.exports=s},45485:(e,t,n)=>{"use strict";var r=n(73654),i=n(52928),a={name:"blockQuote",tokenize:function(e,t,n){var i=this;return function(t){if(62===t)return i.containerState.open||(e.enter("blockQuote",{_container:!0}),i.containerState.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a;return n(t)};function a(n){return r(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){return i(e,e.attempt(a,t,n),"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}},exit:function(e){e.exit("blockQuote")}};e.exports=a},49653:(e,t,n)=>{"use strict";var r=n(83074),i={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i};function i(i){return r(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}};e.exports=i},36713:(e,t,n)=>{"use strict";var r=n(89435),i=n(46712),a=n(73977),o=n(56238);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(r),u={name:"characterReference",tokenize:function(e,t,n){var r,s,u=this,c=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),p};function p(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),d):(e.enter("characterReferenceValue"),r=31,s=i,f(t))}function d(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,s=o,f):(e.enter("characterReferenceValue"),r=7,s=a,f(t))}function f(a){var o;return 59===a&&c?(o=e.exit("characterReferenceValue"),s!==i||l.default(u.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)):s(a)&&c++{"use strict";var r=n(17238),i=n(88367),a=n(15096),o=n(52928),s={name:"codeFenced",tokenize:function(e,t,n){var s,l=this,u={tokenize:function(e,t,n){var i=0;return o(e,a,"linePrefix",this.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4);function a(t){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}function l(t){return t===s?(e.consume(t),i++,l):i{"use strict";var r=n(17238),i=n(56808),a=n(15096),o=n(52928),s={name:"codeIndented",tokenize:function(e,t,n){return e.attempt(l,i,n);function i(n){return null===n?t(n):r(n)?e.attempt(l,i,t)(n):(e.enter("codeFlowValue"),a(n))}function a(t){return null===t||r(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),a)}},resolve:function(e,t){var n={type:"codeIndented",start:e[0][1].start,end:e[e.length-1][1].end};return i(e,0,0,[["enter",n,t]]),i(e,e.length,0,[["exit",n,t]]),e}},l={tokenize:function(e,t,n){var i=this;return o(e,(function s(l){if(r(l))return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o(e,s,"linePrefix",5);return a(i.events,"linePrefix")<4?n(l):t(l)}),"linePrefix",5)},partial:!0};e.exports=s},60026:(e,t,n)=>{"use strict";var r=n(17238),i={name:"codeText",tokenize:function(e,t,n){var i,a,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),o++,s):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?n(t):96===t?(a=e.enter("codeTextSequence"),i=0,c(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),u(t))}function u(t){return null===t||32===t||96===t||r(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),u)}function c(n){return 96===n?(e.consume(n),i++,c):i===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(a.type="codeTextData",u(n))}},resolve:function(e){var t,n,r=e.length-4,i=3;if(!("lineEnding"!==e[i][1].type&&"space"!==e[i][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=i;++t{"use strict";var r=n(17238),i=n(15096),a=n(84423),o=n(52928),s={tokenize:function(e,t){var n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(t)};function i(t){return null===t?a(t):r(t)?e.check(l,o,a)(t):(e.consume(t),i)}function a(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n=n.next=e.enter("chunkContent",{contentType:"content",previous:n}),i}},resolve:function(e){return a(e),e},interruptible:!0,lazy:!0},l={tokenize:function(e,t,n){var a=this;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o(e,s,"linePrefix")};function s(o){return null===o||r(o)?n(o):a.parser.constructs.disable.null.indexOf("codeIndented")>-1||i(a.events,"linePrefix")<4?e.interrupt(a.parser.constructs.flow,n,t)(o):t(o)}},partial:!0};e.exports=s},93865:(e,t,n)=>{"use strict";var r=n(17238),i=n(88367),a=n(35478),o=n(38229),s=n(97154),l=n(52928),u=n(31056),c=n(59283),p={name:"definition",tokenize:function(e,t,n){var i,c=this;return function(t){return e.enter("definition"),s.call(c,e,p,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function p(t){return i=a(c.sliceSerialize(c.events[c.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),u(e,o(e,e.attempt(d,l(e,f,"whitespace"),l(e,f,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(t)}function f(a){return null===a||r(a)?(e.exit("definition"),c.parser.defined.indexOf(i)<0&&c.parser.defined.push(i),t(a)):n(a)}}},d={tokenize:function(e,t,n){return function(t){return i(t)?u(e,a)(t):n(t)};function a(t){return 34===t||39===t||40===t?c(e,l(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t):n(t)}function o(e){return null===e||r(e)?t(e):n(e)}},partial:!0};e.exports=p},38229:(e,t,n)=>{"use strict";var r=n(89696),i=n(88367),a=n(17238);e.exports=function(e,t,n,o,s,l,u,c,p){var d=p||1/0,f=0;return function(t){if(60===t)return e.enter(o),e.enter(s),e.enter(l),e.consume(t),e.exit(l),g;if(r(t)||41===t)return n(t);return e.enter(o),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),b(t)};function g(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(s),e.exit(o),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),m(n))}function m(t){return 62===t?(e.exit("chunkString"),e.exit(c),g(t)):null===t||60===t||a(t)?n(t):(e.consume(t),92===t?h:m)}function h(t){return 60===t||62===t||92===t?(e.consume(t),m):m(t)}function b(a){return 40===a?++f>d?n(a):(e.consume(a),b):41===a?f--?(e.consume(a),b):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(o),t(a)):null===a||i(a)?f?n(a):(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(o),t(a)):r(a)?n(a):(e.consume(a),92===a?y:b)}function y(t){return 40===t||41===t||92===t?(e.consume(t),b):b(t)}}},97154:(e,t,n)=>{"use strict";var r=n(17238),i=n(73654);e.exports=function(e,t,n,a,o,s){var l,u=this,c=0;return function(t){return e.enter(a),e.enter(o),e.consume(t),e.exit(o),e.enter(s),p};function p(i){return null===i||91===i||93===i&&!l||94===i&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs||c>999?n(i):93===i?(e.exit(s),e.enter(o),e.consume(i),e.exit(o),e.exit(a),t):r(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),d(i))}function d(t){return null===t||91===t||93===t||r(t)||c++>999?(e.exit("chunkString"),p(t)):(e.consume(t),l=l||!i(t),92===t?f:d)}function f(t){return 91===t||92===t||93===t?(e.consume(t),c++,d):d(t)}}},52928:(e,t,n)=>{"use strict";var r=n(73654);e.exports=function(e,t,n,i){var a=i?i-1:1/0,o=0;return function(i){if(r(i))return e.enter(n),s(i);return t(i)};function s(i){return r(i)&&o++{"use strict";var r=n(17238),i=n(52928);e.exports=function(e,t,n,a,o,s){var l;return function(t){return e.enter(a),e.enter(o),e.consume(t),e.exit(o),l=40===t?41:t,u};function u(n){return n===l?(e.enter(o),e.consume(n),e.exit(o),e.exit(a),t):(e.enter(s),c(n))}function c(t){return t===l?(e.exit(s),u(l)):null===t?n(t):r(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return t===l||null===t||r(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?d:p)}function d(t){return t===l||92===t?(e.consume(t),p):p(t)}}},31056:(e,t,n)=>{"use strict";var r=n(17238),i=n(73654),a=n(52928);e.exports=function(e,t){var n;return function o(s){if(r(s))return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,o;if(i(s))return a(e,o,n?"linePrefix":"lineSuffix")(s);return t(s)}}},65694:(e,t,n)=>{"use strict";var r=n(17238),i={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(t),i};function i(i){return r(i)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(i)):n(i)}}};e.exports=i},596:(e,t,n)=>{"use strict";var r=n(17238),i=n(88367),a=n(73654),o=n(56808),s=n(52928),l={name:"headingAtx",tokenize:function(e,t,n){var o=this,l=0;return function(t){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),u(t)};function u(r){return 35===r&&l++<6?(e.consume(r),u):null===r||i(r)?(e.exit("atxHeadingSequence"),o.interrupt?t(r):c(r)):n(r)}function c(n){return 35===n?(e.enter("atxHeadingSequence"),p(n)):null===n||r(n)?(e.exit("atxHeading"),t(n)):a(n)?s(e,c,"whitespace")(n):(e.enter("atxHeadingText"),d(n))}function p(t){return 35===t?(e.consume(t),p):(e.exit("atxHeadingSequence"),c(t))}function d(t){return null===t||35===t||i(t)?(e.exit("atxHeadingText"),c(t)):(e.consume(t),d)}},resolve:function(e,t){var n,r,i=e.length-2,a=3;"whitespace"===e[a][1].type&&(a+=2);i-2>a&&"whitespace"===e[i][1].type&&(i-=2);"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4);i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},o(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]));return e}};e.exports=l},76872:(e,t,n)=>{"use strict";var r=n(76734),i=n(46712),a=n(17238),o=n(88367),s=n(73654),l=n(93267),u=n(57139),c=n(16871),p=n(66532),d={name:"htmlFlow",tokenize:function(e,t,n){var p,d,g,m,h,b=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),y};function y(i){return 33===i?(e.consume(i),E):47===i?(e.consume(i),k):63===i?(e.consume(i),p=3,b.interrupt?t:z):r(i)?(e.consume(i),g=l(i),d=!0,T):n(i)}function E(i){return 45===i?(e.consume(i),p=2,v):91===i?(e.consume(i),p=5,g="CDATA[",m=0,S):r(i)?(e.consume(i),p=4,b.interrupt?t:z):n(i)}function v(r){return 45===r?(e.consume(r),b.interrupt?t:z):n(r)}function S(r){return r===g.charCodeAt(m++)?(e.consume(r),m===g.length?b.interrupt?t:P:S):n(r)}function k(t){return r(t)?(e.consume(t),g=l(t),T):n(t)}function T(r){return null===r||47===r||62===r||o(r)?47!==r&&d&&c.indexOf(g.toLowerCase())>-1?(p=1,b.interrupt?t(r):P(r)):u.indexOf(g.toLowerCase())>-1?(p=6,47===r?(e.consume(r),w):b.interrupt?t(r):P(r)):(p=7,b.interrupt?n(r):d?R(r):A(r)):45===r||i(r)?(e.consume(r),g+=l(r),T):n(r)}function w(r){return 62===r?(e.consume(r),b.interrupt?t:P):n(r)}function A(t){return s(t)?(e.consume(t),A):L(t)}function R(t){return 47===t?(e.consume(t),L):58===t||95===t||r(t)?(e.consume(t),C):s(t)?(e.consume(t),R):L(t)}function C(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),C):I(t)}function I(t){return 61===t?(e.consume(t),O):s(t)?(e.consume(t),I):R(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),h=t,_):s(t)?(e.consume(t),O):(h=void 0,N(t))}function _(t){return t===h?(e.consume(t),x):null===t||a(t)?n(t):(e.consume(t),_)}function N(t){return null===t||34===t||39===t||60===t||61===t||62===t||96===t||o(t)?I(t):(e.consume(t),N)}function x(e){return 47===e||62===e||s(e)?R(e):n(e)}function L(t){return 62===t?(e.consume(t),D):n(t)}function D(t){return s(t)?(e.consume(t),D):null===t||a(t)?P(t):n(t)}function P(t){return 45===t&&2===p?(e.consume(t),U):60===t&&1===p?(e.consume(t),B):62===t&&4===p?(e.consume(t),$):63===t&&3===p?(e.consume(t),z):93===t&&5===p?(e.consume(t),H):!a(t)||6!==p&&7!==p?null===t||a(t)?M(t):(e.consume(t),P):e.check(f,$,M)(t)}function M(t){return e.exit("htmlFlowData"),F(t)}function F(t){return null===t?j(t):a(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),F):(e.enter("htmlFlowData"),P(t))}function U(t){return 45===t?(e.consume(t),z):P(t)}function B(t){return 47===t?(e.consume(t),g="",G):P(t)}function G(t){return 62===t&&c.indexOf(g.toLowerCase())>-1?(e.consume(t),$):r(t)&&g.length<8?(e.consume(t),g+=l(t),G):P(t)}function H(t){return 93===t?(e.consume(t),z):P(t)}function z(t){return 62===t?(e.consume(t),$):P(t)}function $(t){return null===t||a(t)?(e.exit("htmlFlowData"),j(t)):(e.consume(t),$)}function j(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){var t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2));return e},concrete:!0},f={tokenize:function(e,t,n){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(p,t,n)}},partial:!0};e.exports=d},28911:(e,t,n)=>{"use strict";var r=n(76734),i=n(46712),a=n(17238),o=n(88367),s=n(73654),l=n(52928),u={name:"htmlText",tokenize:function(e,t,n){var u,c,p,d,f=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),g};function g(t){return 33===t?(e.consume(t),m):47===t?(e.consume(t),I):63===t?(e.consume(t),R):r(t)?(e.consume(t),N):n(t)}function m(t){return 45===t?(e.consume(t),h):91===t?(e.consume(t),c="CDATA[",p=0,S):r(t)?(e.consume(t),A):n(t)}function h(t){return 45===t?(e.consume(t),b):n(t)}function b(t){return null===t||62===t?n(t):45===t?(e.consume(t),y):E(t)}function y(e){return null===e||62===e?n(e):E(e)}function E(t){return null===t?n(t):45===t?(e.consume(t),v):a(t)?(d=E,B(t)):(e.consume(t),E)}function v(t){return 45===t?(e.consume(t),H):E(t)}function S(t){return t===c.charCodeAt(p++)?(e.consume(t),p===c.length?k:S):n(t)}function k(t){return null===t?n(t):93===t?(e.consume(t),T):a(t)?(d=k,B(t)):(e.consume(t),k)}function T(t){return 93===t?(e.consume(t),w):k(t)}function w(t){return 62===t?H(t):93===t?(e.consume(t),w):k(t)}function A(t){return null===t||62===t?H(t):a(t)?(d=A,B(t)):(e.consume(t),A)}function R(t){return null===t?n(t):63===t?(e.consume(t),C):a(t)?(d=R,B(t)):(e.consume(t),R)}function C(e){return 62===e?H(e):R(e)}function I(t){return r(t)?(e.consume(t),O):n(t)}function O(t){return 45===t||i(t)?(e.consume(t),O):_(t)}function _(t){return a(t)?(d=_,B(t)):s(t)?(e.consume(t),_):H(t)}function N(t){return 45===t||i(t)?(e.consume(t),N):47===t||62===t||o(t)?x(t):n(t)}function x(t){return 47===t?(e.consume(t),H):58===t||95===t||r(t)?(e.consume(t),L):a(t)?(d=x,B(t)):s(t)?(e.consume(t),x):H(t)}function L(t){return 45===t||46===t||58===t||95===t||i(t)?(e.consume(t),L):D(t)}function D(t){return 61===t?(e.consume(t),P):a(t)?(d=D,B(t)):s(t)?(e.consume(t),D):x(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),u=t,M):a(t)?(d=P,B(t)):s(t)?(e.consume(t),P):(e.consume(t),u=void 0,U)}function M(t){return t===u?(e.consume(t),F):null===t?n(t):a(t)?(d=M,B(t)):(e.consume(t),M)}function F(e){return 62===e||47===e||o(e)?x(e):n(e)}function U(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):62===t||o(t)?x(t):(e.consume(t),U)}function B(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l(e,G,"linePrefix",f.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)}function G(t){return e.enter("htmlTextData"),d(t)}function H(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}}};e.exports=u},31294:(e,t,n)=>{"use strict";var r=n(88367),i=n(78811),a=n(56808),o=n(35478),s=n(58280),l=n(75923),u=n(38229),c=n(97154),p=n(59283),d=n(31056),f={name:"labelEnd",tokenize:function(e,t,n){var r,i,a=this,s=a.events.length;for(;s--;)if(("labelImage"===a.events[s][1].type||"labelLink"===a.events[s][1].type)&&!a.events[s][1]._balanced){r=a.events[s][1];break}return function(t){if(!r)return n(t);return r._inactive?u(t):(i=a.parser.defined.indexOf(o(a.sliceSerialize({start:r.end,end:a.now()})))>-1,e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l)};function l(n){return 40===n?e.attempt(g,t,i?t:u)(n):91===n?e.attempt(m,t,i?e.attempt(h,t,u):u)(n):i?t(n):u(n)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){var n,r,o,u,c,p,d,f=e.length,g=0;for(;f--;)if(u=e[f][1],c){if("link"===u.type||"labelLink"===u.type&&u._inactive)break;"enter"===e[f][0]&&"labelLink"===u.type&&(u._inactive=!0)}else if(p){if("enter"===e[f][0]&&("labelImage"===u.type||"labelLink"===u.type)&&!u._balanced&&(c=f,"labelLink"!==u.type)){g=2;break}}else"labelEnd"===u.type&&(p=f);return n={type:"labelLink"===e[c][1].type?"link":"image",start:l(e[c][1].start),end:l(e[e.length-1][1].end)},r={type:"label",start:l(e[c][1].start),end:l(e[p][1].end)},o={type:"labelText",start:l(e[c+g+2][1].end),end:l(e[p-2][1].start)},d=i(d=[["enter",n,t],["enter",r,t]],e.slice(c+1,c+g+3)),d=i(d,[["enter",o,t]]),d=i(d,s(t.parser.constructs.insideSpan.null,e.slice(c+g+4,p-3),t)),d=i(d,[["exit",o,t],e[p-2],e[p-1],["exit",r,t]]),d=i(d,e.slice(p+1)),d=i(d,[["exit",n,t]]),a(e,c,e.length,d),e},resolveAll:function(e){var t,n=-1;for(;++n{"use strict";var r={name:"labelStartImage",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(31294).resolveAll};e.exports=r},60534:(e,t,n)=>{"use strict";var r={name:"labelStartLink",tokenize:function(e,t,n){var r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:n(31294).resolveAll};e.exports=r},92607:(e,t,n)=>{"use strict";var r=n(52928),i={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),r(e,t,"linePrefix")}}};e.exports=i},46931:(e,t,n)=>{"use strict";var r=n(73977),i=n(73654),a=n(15096),o=n(18892),s=n(52928),l=n(66532),u=n(37039),c={name:"list",tokenize:function(e,t,n){var s=this,c=a(s.events,"linePrefix"),d=0;return function(t){var i=s.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!s.containerState.marker||t===s.containerState.marker:r(t)){if(s.containerState.type||(s.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(u,n,g)(t):g(t);if(!s.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(t)}return n(t)};function f(t){return r(t)&&++d<10?(e.consume(t),f):(!s.interrupt||d<2)&&(s.containerState.marker?t===s.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),g(t)):n(t)}function g(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||t,e.check(l,s.interrupt?n:m,e.attempt(p,b,h))}function m(e){return s.containerState.initialBlankLine=!0,c++,b(e)}function h(t){return i(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),b):n(t)}function b(n){return s.containerState.size=c+o(s.sliceStream(e.exit("listItemPrefix"))),t(n)}},continuation:{tokenize:function(e,t,n){var r=this;return r.containerState._closeFlow=void 0,e.check(l,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,s(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){if(r.containerState.furtherBlankLines||!i(n))return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,a(n);return r.containerState.furtherBlankLines=r.containerState.initialBlankLine=void 0,e.attempt(d,t,a)(n)}));function a(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,s(e,e.attempt(c,t,n),"linePrefix",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},p={tokenize:function(e,t,n){var r=this;return s(e,(function(e){return i(e)||!a(r.events,"listItemPrefixWhitespace")?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.indexOf("codeIndented")>-1?void 0:5)},partial:!0},d={tokenize:function(e,t,n){var r=this;return s(e,(function(e){return a(r.events,"listItemIndent")===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0};e.exports=c},66532:(e,t,n)=>{"use strict";var r=n(17238),i=n(52928),a={tokenize:function(e,t,n){return i(e,(function(e){return null===e||r(e)?t(e):n(e)}),"linePrefix")},partial:!0};e.exports=a},15874:(e,t,n)=>{"use strict";var r=n(17238),i=n(75923),a=n(52928),o={name:"setextUnderline",tokenize:function(e,t,n){var i,o,s=this,l=s.events.length;for(;l--;)if("lineEnding"!==s.events[l][1].type&&"linePrefix"!==s.events[l][1].type&&"content"!==s.events[l][1].type){o="paragraph"===s.events[l][1].type;break}return function(t){if(!s.lazy&&(s.interrupt||o))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),i=t,u(t);return n(t)};function u(t){return t===i?(e.consume(t),u):(e.exit("setextHeadingLineSequence"),a(e,c,"lineSuffix")(t))}function c(i){return null===i||r(i)?(e.exit("setextHeadingLine"),t(i)):n(i)}},resolveTo:function(e,t){var n,r,a,o,s=e.length;for(;s--;)if("enter"===e[s][0]){if("content"===e[s][1].type){n=s;break}"paragraph"===e[s][1].type&&(r=s)}else"content"===e[s][1].type&&e.splice(s,1),a||"definition"!==e[s][1].type||(a=s);o={type:"setextHeading",start:i(e[r][1].start),end:i(e[e.length-1][1].end)},e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",o,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=i(e[a][1].end)):e[n][1]=o;return e.push(["exit",o,t]),e}};e.exports=o},37039:(e,t,n)=>{"use strict";var r=n(17238),i=n(73654),a=n(52928),o={name:"thematicBreak",tokenize:function(e,t,n){var o,s=0;return function(t){return e.enter("thematicBreak"),o=t,l(t)};function l(c){return c===o?(e.enter("thematicBreakSequence"),u(c)):i(c)?a(e,l,"whitespace")(c):s<3||null!==c&&!r(c)?n(c):(e.exit("thematicBreak"),t(c))}function u(t){return t===o?(e.consume(t),s++,u):(e.exit("thematicBreakSequence"),l(t))}}};e.exports=o},78811:(e,t,n)=>{"use strict";var r=n(56808);e.exports=function(e,t){return e.length?(r(e,e.length,0,t),e):t}},56808:(e,t,n)=>{"use strict";var r=n(21362);e.exports=function(e,t,n,i){var a,o=e.length,s=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,i.length<1e4)(a=Array.from(i)).unshift(t,n),r.apply(e,a);else for(n&&r.apply(e,[t,n]);s{"use strict";var r=n(88367),i=n(36996),a=n(10395);e.exports=function(e){return null===e||r(e)||a(e)?1:i(e)?2:void 0}},12952:(e,t,n)=>{"use strict";var r=n(46706),i=n(56808),a=n(28180);function o(e,t){var n,i,o,l;for(n in t)for(l in i=r.call(e,n)?e[n]:e[n]={},o=t[n])i[l]=s(a(o[l]),r.call(i,l)?i[l]:[])}function s(e,t){for(var n=-1,r=[];++n{"use strict";var r=n(99198),i=n(17238),a=n(78811),o=n(56808),s=n(28180),l=n(58280),u=n(23082),c=n(75923),p=n(12774);e.exports=function(e,t,n){var d=n?c(n):{line:1,column:1,offset:0},f={},g=[],m=[],h=[],b={consume:function(e){i(e)?(d.line++,d.column=1,d.offset+=-3===e?2:1,C()):-1!==e&&(d.column++,d.offset++);d._bufferIndex<0?d._index++:(d._bufferIndex++,d._bufferIndex===m[d._index].length&&(d._bufferIndex=-1,d._index++));y.previous=e},enter:function(e,t){var n=t||{};return n.type=e,n.start=S(),y.events.push(["enter",n,y]),h.push(n),n},exit:function(e){var t=h.pop();return t.end=S(),y.events.push(["exit",t,y]),t},attempt:A((function(e,t){R(e,t.from)})),check:A(w),interrupt:A(w,{interrupt:!0}),lazy:A(w,{lazy:!0})},y={previous:null,events:[],parser:e,sliceStream:v,sliceSerialize:function(e){return u(v(e))},now:S,defineSkip:function(e){f[e.line]=e.column,C()},write:function(e){if(m=a(m,e),k(),null!==m[m.length-1])return[];return R(t,0),y.events=l(g,y.events,y),y.events}},E=t.tokenize.call(y,b);return t.resolveAll&&g.push(t),d._index=0,d._bufferIndex=-1,y;function v(e){return p(m,e)}function S(){return c(d)}function k(){for(var e,t;d._index-1)return m();return e.tokenize.call(t?r({},y,t):y,b,g,m)(n)}}function g(t){return e(u,c),i}function m(e){return c.restore(),++l{"use strict";e.exports=function(e){return null==e?[]:"length"in e?e:[e]}},15644:e=>{"use strict";e.exports=function(e,t){return e.column+=t,e.offset+=t,e._bufferIndex+=t,e}},35478:e=>{"use strict";e.exports=function(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}},15096:(e,t,n)=>{"use strict";var r=n(18892);e.exports=function(e,t){var n=e[e.length-1];return n&&n[1].type===t?r(n[2].sliceStream(n[1])):0}},2841:(e,t,n)=>{"use strict";var r=n(93267);e.exports=function(e){return function(t){return e.test(r(t))}}},58280:e=>{"use strict";e.exports=function(e,t,n){for(var r,i=[],a=-1;++a{"use strict";var r=n(93267);e.exports=function(e,t){var n=parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"\ufffd":r(n)}},23082:(e,t,n)=>{"use strict";var r=n(93267);e.exports=function(e){for(var t,n,i,a=-1,o=[];++a{"use strict";var r=n(99198);e.exports=function(e){return r({},e)}},18892:e=>{"use strict";e.exports=function(e){for(var t=-1,n=0;++t{"use strict";e.exports=function(e,t){var n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;return r===a?n=[e[r].slice(i,o)]:(n=e.slice(r,a),i>-1&&(n[0]=n[0].slice(i)),o>0&&n.push(e[a].slice(0,o))),n}},84423:(e,t,n)=>{"use strict";var r=n(99198),i=n(56808),a=n(75923);function o(e,t){for(var n,r,a,o,s,l,u=e[t][1],c=e[t][2],p=t-1,d=[],f=u._tokenizer||c.parser[u.contentType](u.start),g=f.events,m=[],h={};u;){for(;e[++p][1]!==u;);d.push(p),u._tokenizer||(n=c.sliceStream(u),u.next||n.push(null),r&&f.defineSkip(u.start),u.isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=!0),f.write(n),u.isInFirstContentOfListItem&&(f._gfmTasklistFirstContentOfListItem=void 0)),r=u,u=u.next}for(u=r,a=g.length;a--;)"enter"===g[a][0]?o=!0:o&&g[a][1].type===g[a-1][1].type&&g[a][1].start.line!==g[a][1].end.line&&(b(g.slice(a+1,s)),u._tokenizer=u.next=void 0,u=u.previous,s=a+1);for(f.events=u._tokenizer=u.next=void 0,b(g.slice(0,s)),a=-1,l=0;++a{"use strict";var t;e.exports=function(e){var n,r="&"+e+";";if((t=t||document.createElement("i")).innerHTML=r,59===(n=t.textContent).charCodeAt(n.length-1)&&"semi"!==e)return!1;return n!==r&&n}},57574:(e,t,n)=>{"use strict";var r=n(37452),i=n(93580),a=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,a,o={};t||(t={});for(a in d)n=t[a],o[a]=null==n?d[a]:n;(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start);return function(e,t){var n,a,o,d,S,k,T,w,A,R,C,I,O,_,N,x,L,D,P,M=t.additional,F=t.nonTerminated,U=t.text,B=t.reference,G=t.warning,H=t.textContext,z=t.referenceContext,$=t.warningContext,j=t.position,V=t.indent||[],W=e.length,K=0,q=-1,Y=j.column||1,X=j.line||1,Z="",Q=[];"string"==typeof M&&(M=M.charCodeAt(0));x=J(),w=G?ee:p,K--,W++;for(;++K65535&&(R+=c((k-=65536)>>>10|55296),k=56320|1023&k),k=R+c(k))):_!==f&&w(4,D)),k?(te(),x=J(),K=P-1,Y+=P-O+1,Q.push(k),(L=J()).offset++,B&&B.call(z,k,{start:x,end:L},e.slice(O-1,P)),x=L):(d=e.slice(O-1,P),Z+=d,Y+=d.length,K=P-1)}else 10===S&&(X++,q++,Y=0),S==S?(Z+=c(S),Y++):te();return Q.join("");function J(){return{line:X,column:Y,offset:K+(j.offset||0)}}function ee(e,t){var n=J();n.column+=t,n.offset+=t,G.call($,y[e],n,e)}function te(){Z&&(Q.push(Z),U&&U.call(H,Z,{start:x,end:J()}),Z="")}}(e,o)};var u={}.hasOwnProperty,c=String.fromCharCode,p=Function.prototype,d={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",g="hexadecimal",m="decimal",h={hexadecimal:16,decimal:10},b={};b.named=s,b[m]=a,b[g]=o;var y={};function E(e){return e>=55296&&e<=57343||e>1114111}function v(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||65535==(65535&e)||65534==(65535&e)}y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},66367:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{ZP:()=>a});var i=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)};r(i,"ripple",!1),r(i,"locale","en"),r(i,"autoZIndex",!0),r(i,"zIndex",{modal:1100,overlay:1e3,menu:1e3,tooltip:1100,toast:1200}),r(i,"appendTo",null);Object.freeze({ALIGN_CENTER:"pi pi-align-center",ALIGN_JUSTIFY:"pi pi-align-justify",ALIGN_LEFT:"pi pi-align-left",ALIGN_RIGHT:"pi pi-align-right",AMAZON:"pi pi-amazon",ANDROID:"pi pi-android",ANGLE_DOUBLE_DOWN:"pi pi-angle-double-down",ANGLE_DOUBLE_LEFT:"pi pi-angle-double-left",ANGLE_DOUBLE_RIGHT:"pi pi-angle-double-right",ANGLE_DOUBLE_UP:"pi pi-angle-double-up",ANGLE_DOWN:"pi pi-angle-down",ANGLE_LEFT:"pi pi-angle-left",ANGLE_RIGHT:"pi pi-angle-right",ANGLE_UP:"pi pi-angle-up",APPLE:"pi pi-apple",ARROW_CIRCLE_DOWN:"pi pi-arrow-circle-down",ARROW_CIRCLE_LEFT:"pi pi-arrow-circle-left",ARROW_CIRCLE_RIGHT:"pi pi-arrow-circle-right",ARROW_CIRCLE_UP:"pi pi-arrow-circle-up",ARROW_DOWN:"pi pi-arrow-down",ARROW_LEFT:"pi pi-arrow-left",ARROW_RIGHT:"pi pi-arrow-right",ARROW_UP:"pi pi-arrow-up",BACKWARD:"pi pi-backward",BAN:"pi pi-ban",BARS:"pi pi-bars",BELL:"pi pi-bell",BOOK:"pi pi-book",BOOKMARK:"pi pi-bookmark",BRIEFCASE:"pi pi-briefcase",CALENDAR_MINUS:"pi pi-calendar-minus",CALENDAR_PLUS:"pi pi-calendar-plus",CALENDAR_TIMES:"pi pi-calendar-times",CALENDAR:"pi pi-calendar",CAMERA:"pi pi-camera",CARET_DOWN:"pi pi-caret-down",CARET_LEFT:"pi pi-caret-left",CARET_RIGHT:"pi pi-caret-right",CARET_UP:"pi pi-caret-up",CHART_BAR:"pi pi-chart-bar",CHART_LINE:"pi pi-chart-line",CHECK_CIRCLE:"pi pi-check-circle",CHECK_SQUARE:"pi pi-check-square",CHECK:"pi pi-check",CHEVRON_CIRCLE_DOWN:"pi pi-chevron-circle-down",CHEVRON_CIRCLE_LEFT:"pi pi-chevron-circle-left",CHEVRON_CIRCLE_RIGHT:"pi pi-chevron-circle-right",CHEVRON_CIRCLE_UP:"pi pi-chevron-circle-up",CHEVRON_DOWN:"pi pi-chevron-down",CHEVRON_LEFT:"pi pi-chevron-left",CHEVRON_RIGHT:"pi pi-chevron-right",CHEVRON_UP:"pi pi-chevron-up",CLOCK:"pi pi-clock",CLONE:"pi pi-clone",CLOUD_DOWNLOAD:"pi pi-cloud-download",CLOUD_UPLOAD:"pi pi-cloud-upload",CLOUD:"pi pi-cloud",COG:"pi pi-cog",COMMENT:"pi pi-comment",COMMENTS:"pi pi-comments",COMPASS:"pi pi-compass",COPY:"pi pi-copy",CREDIT_CARD:"pi pi-credit-card",DESKTOP:"pi pi-desktop",DISCORD:"pi pi-discord",DIRECTIONS_ALT:"pi pi-directions-alt",DIRECTIONS:"pi pi-directions",DOLLAR:"pi pi-dollar",DOWNLOAD:"pi pi-download",EJECT:"pi pi-eject",ELLIPSIS_H:"pi pi-ellipsis-h",ELLIPSIS_V:"pi pi-ellipsis-v",ENVELOPE:"pi pi-envelope",EXCLAMATION_CIRCLE:"pi pi-exclamation-circle",EXCLAMATION_TRIANGLE:"pi pi-exclamation-triangle ",EXTERNAL_LINK:"pi pi-external-link",EYE_SLASH:"pi pi-eye-slash",EYE:"pi pi-eye",FACEBOOK:"pi pi-facebook",FAST_BACKWARD:"pi pi-fast-backward",FAST_FORWARD:"pi pi-fast-forward",FILE_EXCEL:"pi pi-file-excel",FILE_O:"pi pi-file-o",FILE_PDF:"pi pi-file-pdf",FILE:"pi pi-file",FILTER:"pi pi-filter",FILTER_SLASH:"pi pi-filter-slash",FLAG:"pi pi-flag",FOLDER_OPEN:"pi pi-folder-open",FOLDER:"pi pi-folder",FORWARD:"pi pi-forward",GITHUB:"pi pi-github",GLOBE:"pi pi-globe",GOOGLE:"pi pi-google",HEART:"pi pi-heart",HOME:"pi pi-home",ID_CARD:"pi pi-id-card",IMAGE:"pi pi-image",IMAGES:"pi pi-images",INBOX:"pi pi-inbox",INFO_CIRCLE:"pi pi-info-circle",INFO:"pi pi-info",KEY:"pi pi-key",LINK:"pi pi-link",LIST:"pi pi-list",LOCK_OPEN:"pi pi-lock-open",LOCK:"pi pi-lock",MAP:"pi pi-map",MAP_MARKER:"pi pi-map-marker",MICROSOFT:"pi pi-microsoft",MINUS_CIRCLE:"pi pi-minus-circle",MINUS:"pi pi-minus",MOBILE:"pi pi-mobile",MONEY_BILL:"pi pi-money-bill",MOON:"pi pi-moon",PALETTE:"pi pi-palette",PAPERCLIP:"pi pi-paperclip",PAUSE:"pi pi-pause",PAYPAL:"pi pi-paypal",PENCIL:"pi pi-pencil",PERCENTAGE:"pi pi-percentage",PHONE:"pi pi-phone",PLAY:"pi pi-play",PLUS_CIRCLE:"pi pi-plus-circle",PLUS:"pi pi-plus",POWER_OFF:"pi pi-power-off",PRINT:"pi pi-print",QUESTION_CIRCLE:"pi pi-question-circle",QUESTION:"pi pi-question",RADIO_OFF:"pi pi-radio-off",RADIO_ON:"pi pi-radio-on",REFRESH:"pi pi-refresh",REPLAY:"pi pi-replay",REPLY:"pi pi-reply",SAVE:"pi pi-save",SEARCH_MINUS:"pi pi-search-minus",SEARCH_PLUS:"pi pi-search-plus",SEARCH:"pi pi-search",SEND:"pi pi-send",SHARE_ALT:"pi pi-share-alt",SHIELD:"pi pi-shield",SHOPPING_CART:"pi pi-shopping-cart",SIGN_IN:"pi pi-sign-in",SIGN_OUT:"pi pi-sign-out",SITEMAP:"pi pi-sitemap",SLACK:"pi pi-slack",SLIDERS_H:"pi pi-sliders-h",SLIDERS_V:"pi pi-sliders-v",SORT_ALPHA_ALT_DOWN:"pi pi-sort-alpha-alt-down",SORT_ALPHA_ALT_UP:"pi pi-sort-alpha-alt-up",SORT_ALPHA_DOWN:"pi pi-sort-alpha-down",SORT_ALPHA_UP:"pi pi-sort-alpha-up",SORT_ALT:"pi pi-sort-alt",SORT_AMOUNT_DOWN_ALT:"pi pi-sort-amount-down-alt",SORT_AMOUNT_DOWN:"pi pi-sort-amount-down",SORT_AMOUNT_UP_ALT:"pi pi-sort-amount-up-alt",SORT_AMOUNT_UP:"pi pi-sort-amount-up",SORT_DOWN:"pi pi-sort-down",SORT_NUMERIC_ALT_DOWN:"pi pi-sort-numeric-alt-down",SORT_NUMERIC_ALT_UP:"pi pi-sort-numeric-alt-up",SORT_NUMERIC_DOWN:"pi pi-sort-numeric-down",SORT_NUMERIC_UP:"pi pi-sort-numeric-up",SORT_UP:"pi pi-sort-up",SORT:"pi pi-sort",SPINNER:"pi pi-spinner",STAR_O:"pi pi-star-o",STAR:"pi pi-star",STEP_BACKWARD_ALT:"pi pi-step-backward-alt",STEP_BACKWARD:"pi pi-step-backward",STEP_FORWARD_ALT:"pi pi-step-forward-alt",STEP_FORWARD:"pi pi-step-forward",SUN:"pi pi-sun",TABLE:"pi pi-table",TABLET:"pi pi-tablet",TAG:"pi pi-tag",TAGS:"pi pi-tags",TH_LARGE:"pi pi-th-large",THUMBS_DOWN:"pi pi-thumbs-down",THUMBS_UP:"pi pi-thumbs-up",TICKET:"pi pi-ticket",TIMES_CIRCLE:"pi pi-times-circle",TIMES:"pi pi-times",TRASH:"pi pi-trash",TWITTER:"pi pi-twitter",UNDO:"pi pi-undo",UNLOCK:"pi pi-unlock",UPLOAD:"pi pi-upload",USER_EDIT:"pi pi-user-edit",USER_MINUS:"pi pi-user-minus",USER_PLUS:"pi pi-user-plus",USER:"pi pi-user",USERS:"pi pi-users",VIDEO:"pi pi-video",VIMEO:"pi pi-vimeo",VOLUME_DOWN:"pi pi-volume-down",VOLUME_OFF:"pi pi-volume-off",VOLUME_UP:"pi pi-volume-up",YOUTUBE:"pi pi-youtube",WALLET:"pi pi-wallet",WIFI:"pi pi-wifi",WINDOW_MAXIMIZE:"pi pi-window-maximize",WINDOW_MINIMIZE:"pi pi-window-minimize"}),Object.freeze({SUCCESS:"success",INFO:"info",WARN:"warn",ERROR:"error"});const a=i},99403:(e,t,n)=>{"use strict";var r=n(67294),i=n(63746);function a(){return a=Object.assign||function(e){for(var t=1;t{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function o(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var i=s(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return o(this,n)}}var u,c,p,d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(n,e);var t=l(n);function n(){return r(this,n),t.apply(this,arguments)}return n}(n(67294).Component);p={columnKey:null,field:null,sortField:null,filterField:null,header:null,body:null,loadingBody:null,footer:null,sortable:!1,sortableDisabled:!1,sortFunction:null,filter:!1,filterMatchMode:"startsWith",filterPlaceholder:null,filterType:"text",filterMaxLength:null,filterElement:null,filterFunction:null,filterHeaderStyle:null,filterHeaderClassName:null,style:null,className:null,headerStyle:null,headerClassName:null,bodyStyle:null,bodyClassName:null,footerStyle:null,footerClassName:null,expander:!1,frozen:!1,selectionMode:null,colSpan:null,rowSpan:null,editor:null,editorValidator:null,editorValidatorEvent:"click",onBeforeEditorHide:null,onBeforeEditorShow:null,onEditorInit:null,onEditorSubmit:null,onEditorCancel:null,excludeGlobalFilter:!1,rowReorder:!1,rowReorderIcon:"pi pi-bars",rowEditor:!1,exportable:!0,reorderable:!0},(c="defaultProps")in(u=d)?Object.defineProperty(u,c,{value:p,enumerable:!0,configurable:!0,writable:!0}):u[c]=p},63746:(e,t,n)=>{"use strict";n.d(t,{Kv:()=>ce,Vr:()=>D,p7:()=>L,lD:()=>U,Fr:()=>Z,gb:()=>P,F0:()=>oe,h_:()=>J,HW:()=>X,P9:()=>$,AK:()=>C,IE:()=>re});var r=n(66367),i=n(67294),a=n(73935),o=n(87462),s=n(63366),l=n(51721);function u(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const c=!1,p=i.createContext(null);var d=function(e){return e.scrollTop},f="unmounted",g="exited",m="entering",h="entered",b="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(i=g,r.appearStatus=m):i=h:i=t.unmountOnExit||t.mountOnEnter?f:g,r.state={status:i},r.nextCallback=null,r}(0,l.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:g}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==h&&(t=m):n!==m&&n!==h||(t=b)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===m){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&d(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===g&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[a.findDOMNode(this),r],o=i[0],s=i[1],l=this.getTimeouts(),u=r?l.appear:l.enter;!e&&!n||c?this.safeSetState({status:h},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,s),this.safeSetState({status:m},(function(){t.props.onEntering(o,s),t.onTransitionEnd(u,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(o,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!c?(this.props.onExit(r),this.safeSetState({status:b},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:g},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:g},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,s.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(p.Provider,{value:null},"function"==typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function E(){}y.contextType=p,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:E,onEntering:E,onEntered:E,onExit:E,onExiting:E,onExited:E},y.UNMOUNTED=f,y.EXITED=g,y.ENTERING=m,y.ENTERED=h,y.EXITING=b;const v=y;var S=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=u(n.className,r):n.setAttribute("class",u(n.className&&n.className.baseVal||"",r)));var n,r}))},k=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nd.height?((n=u.top+c-a)<0&&(n=c),e.style.transformOrigin="bottom"):(n=s+u.top+c,e.style.transformOrigin="top"),r=u.left+l+o>d.width?Math.max(0,u.left+p+l-o):u.left+p,e.style.top=n+"px",e.style.left=r+"px"}}},{key:"relativePosition",value:function(e,t){if(e){var n,r,i=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),a=t.offsetHeight,o=t.getBoundingClientRect(),s=this.getViewport();o.top+a+i.height>s.height?(n=-1*i.height,o.top+n<0&&(n=-1*o.top),e.style.transformOrigin="bottom"):(n=a,e.style.transformOrigin="top"),r=i.width>s.width?-1*o.left:o.left+i.width>s.width?-1*(o.left+i.width-s.width):0,e.style.top=n+"px",e.style.left=r+"px"}}},{key:"flipfitCollision",value:function(t,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"left top",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left bottom",o=arguments.length>4?arguments[4]:void 0,s=n.getBoundingClientRect(),l=this.getViewport(),u=i.split(" "),c=a.split(" "),p=function(e,t){return t?+e.substring(e.search(/(\+|-)/g))||0:e.substring(0,e.search(/(\+|-)/g))||e},d={my:{x:p(u[0]),y:p(u[1]||u[0]),offsetX:p(u[0],!0),offsetY:p(u[1]||u[0],!0)},at:{x:p(c[0]),y:p(c[1]||c[0]),offsetX:p(c[0],!0),offsetY:p(c[1]||c[0],!0)}},f={left:function(){return d.my.offsetX+d.at.offsetX+s.left+("left"===d.my.x?0:-1*("center"===d.my.x?r.getOuterWidth(t)/2:r.getOuterWidth(t)))},top:function(){return d.my.offsetY+d.at.offsetY+s.top+("top"===d.my.y?0:-1*("center"===d.my.y?r.getOuterHeight(t)/2:r.getOuterHeight(t)))}},g={count:{x:0,y:0},left:function(){var n=f.left(),r=e.getWindowScrollLeft();t.style.left=n+r+"px",2===this.count.x?(t.style.left=r+"px",this.count.x=0):n<0&&(this.count.x++,d.my.x="left",d.at.x="right",d.my.offsetX*=-1,d.at.offsetX*=-1,this.right())},right:function(){var r=f.left()+e.getOuterWidth(n),i=e.getWindowScrollLeft();t.style.left=r+i+"px",2===this.count.x?(t.style.left=l.width-e.getOuterWidth(t)+i+"px",this.count.x=0):r+e.getOuterWidth(t)>l.width&&(this.count.x++,d.my.x="right",d.at.x="left",d.my.offsetX*=-1,d.at.offsetX*=-1,this.left())},top:function(){var n=f.top(),r=e.getWindowScrollTop();t.style.top=n+r+"px",2===this.count.y?(t.style.left=r+"px",this.count.y=0):n<0&&(this.count.y++,d.my.y="top",d.at.y="bottom",d.my.offsetY*=-1,d.at.offsetY*=-1,this.bottom())},bottom:function(){var r=f.top()+e.getOuterHeight(n),i=e.getWindowScrollTop();t.style.top=r+i+"px",2===this.count.y?(t.style.left=l.height-e.getOuterHeight(t)+i+"px",this.count.y=0):r+e.getOuterHeight(n)>l.height&&(this.count.y++,d.my.y="bottom",d.at.y="top",d.my.offsetY*=-1,d.at.offsetY*=-1,this.top())},center:function(r){if("y"===r){var i=f.top()+e.getOuterHeight(n)/2;t.style.top=i+e.getWindowScrollTop()+"px",i<0?this.bottom():i+e.getOuterHeight(n)>l.height&&this.top()}else{var a=f.left()+e.getOuterWidth(n)/2;t.style.left=a+e.getWindowScrollLeft()+"px",a<0?this.left():a+e.getOuterWidth(t)>l.width&&this.right()}}};g[d.at.x]("x"),g[d.at.y]("y"),this.isFunction(o)&&o(d)}},{key:"findCollisionPosition",value:function(e){if(e){var t="left"===e?"right":"left";return"top"===e||"bottom"===e?{axis:"y",my:"center ".concat("top"===e?"bottom":"top"),at:"center ".concat(e)}:{axis:"x",my:"".concat(t," center"),at:"".concat(e," center")}}}},{key:"getParents",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return null===e.parentNode?t:this.getParents(e.parentNode,t.concat([e.parentNode]))}},{key:"getScrollableParents",value:function(e){var t=[];if(e){var n,r=this.getParents(e),i=/(auto|scroll)/,a=function(e){var t=window.getComputedStyle(e,null);return i.test(t.getPropertyValue("overflow"))||i.test(t.getPropertyValue("overflowX"))||i.test(t.getPropertyValue("overflowY"))},o=N(r);try{for(o.s();!(n=o.n()).done;){var s=n.value,l=1===s.nodeType&&s.dataset.scrollselectors;if(l){var u,c=N(l.split(","));try{for(c.s();!(u=c.n()).done;){var p=u.value,d=this.findSingle(s,p);d&&a(d)&&t.push(d)}}catch(f){c.e(f)}finally{c.f()}}9!==s.nodeType&&a(s)&&t.push(s)}}catch(f){o.e(f)}finally{o.f()}}return t}},{key:"getHiddenElementOuterHeight",value:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetHeight;return e.style.display="",e.style.visibility="",t}return 0}},{key:"getHiddenElementOuterWidth",value:function(e){if(e){e.style.visibility="hidden",e.style.display="block";var t=e.offsetWidth;return e.style.display="",e.style.visibility="",t}return 0}},{key:"getHiddenElementDimensions",value:function(e){var t={};return e&&(e.style.visibility="hidden",e.style.display="block",t.width=e.offsetWidth,t.height=e.offsetHeight,e.style.display="",e.style.visibility=""),t}},{key:"fadeIn",value:function(e,t){if(e){e.style.opacity=0;var n=+new Date,r=0;!function i(){r=+e.style.opacity+((new Date).getTime()-n)/t,e.style.opacity=r,n=+new Date,+r<1&&(window.requestAnimationFrame&&requestAnimationFrame(i)||setTimeout(i,16))}()}}},{key:"fadeOut",value:function(e,t){if(e)var n=1,r=50/t,i=setInterval((function(){(n-=r)<=0&&(n=0,clearInterval(i)),e.style.opacity=n}),50)}},{key:"getUserAgent",value:function(){return navigator.userAgent}},{key:"isIOS",value:function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}},{key:"isAndroid",value:function(){return/(android)/i.test(navigator.userAgent)}},{key:"isTouchDevice",value:function(){return"ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0}},{key:"isFunction",value:function(e){return!!(e&&e.constructor&&e.call&&e.apply)}},{key:"appendChild",value:function(e,t){if(this.isElement(t))t.appendChild(e);else{if(!t.el||!t.el.nativeElement)throw new Error("Cannot append "+t+" to "+e);t.el.nativeElement.appendChild(e)}}},{key:"removeChild",value:function(e,t){if(this.isElement(t))t.removeChild(e);else{if(!t.el||!t.el.nativeElement)throw new Error("Cannot remove "+e+" from "+t);t.el.nativeElement.removeChild(e)}}},{key:"isElement",value:function(e){return"object"===("undefined"==typeof HTMLElement?"undefined":R(HTMLElement))?e instanceof HTMLElement:e&&"object"===R(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}},{key:"scrollInView",value:function(e,t){var n=getComputedStyle(e).getPropertyValue("borderTopWidth"),r=n?parseFloat(n):0,i=getComputedStyle(e).getPropertyValue("paddingTop"),a=i?parseFloat(i):0,o=e.getBoundingClientRect(),s=t.getBoundingClientRect().top+document.body.scrollTop-(o.top+document.body.scrollTop)-r-a,l=e.scrollTop,u=e.clientHeight,c=this.getOuterHeight(t);s<0?e.scrollTop=l+s:s+c>u&&(e.scrollTop=l+s-u+c)}},{key:"clearSelection",value:function(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(e){}}},{key:"calculateScrollbarWidth",value:function(e){if(e){var t=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(t.borderLeftWidth)-parseFloat(t.borderRightWidth)}if(null!=this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;var n=document.createElement("div");n.className="p-scrollbar-measure",document.body.appendChild(n);var r=n.offsetWidth-n.clientWidth;return document.body.removeChild(n),this.calculatedScrollbarWidth=r,r}},{key:"getBrowser",value:function(){if(!this.browser){var e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}},{key:"resolveUserAgent",value:function(){var e=navigator.userAgent.toLowerCase(),t=/(chrome)[ ]([\w.]+)/.exec(e)||/(webkit)[ ]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ ]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}},{key:"isVisible",value:function(e){return e&&null!=e.offsetParent}},{key:"getFocusableElements",value:function(t){var n,r=[],i=N(e.find(t,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])'));try{for(i.s();!(n=i.n()).done;){var a=n.value;"none"!==getComputedStyle(a).display&&"hidden"!==getComputedStyle(a).visibility&&r.push(a)}}catch(o){i.e(o)}finally{i.f()}return r}},{key:"getFirstFocusableElement",value:function(t){var n=e.getFocusableElements(t);return n.length>0?n[0]:null}},{key:"getLastFocusableElement",value:function(t){var n=e.getFocusableElements(t);return n.length>0?n[n.length-1]:null}},{key:"getCursorOffset",value:function(e,t,n,r){if(e){var i=getComputedStyle(e),a=document.createElement("div");a.style.position="absolute",a.style.top="0px",a.style.left="0px",a.style.visibility="hidden",a.style.pointerEvents="none",a.style.overflow=i.overflow,a.style.width=i.width,a.style.height=i.height,a.style.padding=i.padding,a.style.border=i.border,a.style.overflowWrap=i.overflowWrap,a.style.whiteSpace=i.whiteSpace,a.style.lineHeight=i.lineHeight,a.innerHTML=t.replace(/\r\n|\r|\n/g,"
");var o=document.createElement("span");o.textContent=r,a.appendChild(o);var s=document.createTextNode(n);a.appendChild(s),document.body.appendChild(a);var l=o.offsetLeft,u=o.offsetTop,c=o.clientHeight;return document.body.removeChild(a),{left:Math.abs(l-e.scrollLeft),top:Math.abs(u-e.scrollTop)+c}}return{top:"auto",left:"auto"}}}]),e}(),D=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};I(this,e),this.element=t,this.listener=n}return _(e,[{key:"bindScrollListener",value:function(){this.scrollableParents=L.getScrollableParents(this.element);for(var e=0;e=e.length)for(r=n-e.length;1+r--;)e.push(void 0);e.splice(n,0,e.splice(t,1)[0])}}},{key:"findIndexInList",value:function(e,t,n){var r=this;return t?n?t.findIndex((function(t){return r.equals(t,e,n)})):t.findIndex((function(t){return t===e})):-1}},{key:"getJSXElement",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r-1&&(e=e.replace(/[\xC0-\xC5]/g,"A").replace(/[\xC6]/g,"AE").replace(/[\xC7]/g,"C").replace(/[\xC8-\xCB]/g,"E").replace(/[\xCC-\xCF]/g,"I").replace(/[\xD0]/g,"D").replace(/[\xD1]/g,"N").replace(/[\xD2-\xD6\xD8]/g,"O").replace(/[\xD9-\xDC]/g,"U").replace(/[\xDD]/g,"Y").replace(/[\xDE]/g,"P").replace(/[\xE0-\xE5]/g,"a").replace(/[\xE6]/g,"ae").replace(/[\xE7]/g,"c").replace(/[\xE8-\xEB]/g,"e").replace(/[\xEC-\xEF]/g,"i").replace(/[\xF1]/g,"n").replace(/[\xF2-\xF6\xF8]/g,"o").replace(/[\xF9-\xFC]/g,"u").replace(/[\xFE]/g,"p").replace(/[\xFD\xFF]/g,"y")),e}},{key:"isEmpty",value:function(e){return null==e||""===e||Array.isArray(e)&&0===e.length||"object"===R(e)&&0===Object.keys(e).length}},{key:"isNotEmpty",value:function(e){return!this.isEmpty(e)}}]),e}();function M(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return F(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nt.getTime():e>parseFloat(t))}},{key:"gte",value:function(e,t,n){return!!(null==t||t.trim&&0===t.trim().length)||null!=e&&(e.getTime&&t.getTime?e.getTime()>=t.getTime():e>=parseFloat(t))}}]),e}();function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var G,H,z,$=(G=[],H=function(e){return r.ZP.zIndex[e]||999},z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return(G||[]).reverse().find((function(t){return!!r.ZP.autoZIndex||t.key===e}))||{key:e,value:t}},{get:function(e){return e&&parseInt(e.style.zIndex,10)||0},set:function(e,t,n){t&&(t.style.zIndex=String(function(e,t){t=t||H(e);var n=z(e,t),r=n.value+(n.key===e?0:t)+1;return G.push({key:e,value:r}),r}(e,n)))},clear:function(e){var t;e&&(t=$.get(e),G=G.filter((function(e){return e.value!==t})),e.style.zIndex="")},getBase:function(e){return H(e)},getCurrent:function(e){return function(e){return z(e).value}(e)}});function j(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e,t){return V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},V(e,t)}function W(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}function K(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?j(e):t}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},q(e)}function Y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var i=q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return K(this,n)}}var X=function(e){W(n,e);var t=Y(n);function n(e){var r;return I(this,n),(r=t.call(this,e)).onMouseDown=r.onMouseDown.bind(j(r)),r}return _(n,[{key:"getTarget",value:function(){return this.ink&&this.ink.parentElement}},{key:"bindEvents",value:function(){this.target&&this.target.addEventListener("mousedown",this.onMouseDown)}},{key:"unbindEvents",value:function(){this.target&&this.target.removeEventListener("mousedown",this.onMouseDown)}},{key:"onMouseDown",value:function(e){if(this.ink&&"none"!==getComputedStyle(this.ink,null).display){if(L.removeClass(this.ink,"p-ink-active"),!L.getHeight(this.ink)&&!L.getWidth(this.ink)){var t=Math.max(L.getOuterWidth(this.target),L.getOuterHeight(this.target));this.ink.style.height=t+"px",this.ink.style.width=t+"px"}var n=L.getOffset(this.target),r=e.pageX-n.left+document.body.scrollTop-L.getWidth(this.ink)/2,i=e.pageY-n.top+document.body.scrollLeft-L.getHeight(this.ink)/2;this.ink.style.top=i+"px",this.ink.style.left=r+"px",L.addClass(this.ink,"p-ink-active")}}},{key:"onAnimationEnd",value:function(e){L.removeClass(e.currentTarget,"p-ink-active")}},{key:"componentDidMount",value:function(){this.ink&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentDidUpdate",value:function(){this.ink&&!this.target&&(this.target=this.getTarget(),this.bindEvents())}},{key:"componentWillUnmount",value:function(){this.ink&&(this.target=null,this.unbindEvents())}},{key:"render",value:function(){var e=this;return r.ZP.ripple&&i.createElement("span",{ref:function(t){return e.ink=t},className:"p-ink",onAnimationEnd:this.onAnimationEnd})}}]),n}(i.Component),Z=function(){function e(){I(this,e)}return _(e,null,[{key:"isNavKeyPress",value:function(t){var n=t.keyCode;return(n=L.getBrowser().safari&&e.SAFARI_KEYS[n]||n)>=33&&n<=40||n===e.KEYS.RETURN||n===e.KEYS.TAB||n===e.KEYS.ESC}},{key:"isSpecialKey",value:function(e){var t=e.keyCode;return 9===t||13===t||27===t||16===t||17===t||t>=18&&t<=20||L.getBrowser().opera&&!e.shiftKey&&(8===t||t>=33&&t<=35||t>=36&&t<=39||t>=44&&t<=45)}},{key:"getKey",value:function(t){var n=t.keyCode||t.charCode;return L.getBrowser().safari&&e.SAFARI_KEYS[n]||n}},{key:"getCharCode",value:function(e){return e.charCode||e.keyCode||e.which}},{key:"onKeyPress",value:function(t,n,r){if(!r){var i=e.DEFAULT_MASKS[n]?e.DEFAULT_MASKS[n]:n,a=L.getBrowser();if(!t.ctrlKey&&!t.altKey){var o=this.getKey(t);if(!a.mozilla||!(this.isNavKeyPress(t)||o===e.KEYS.BACKSPACE||o===e.KEYS.DELETE&&0===t.charCode)){var s=this.getCharCode(t),l=String.fromCharCode(s);(!a.mozilla||!this.isSpecialKey(t)&&l)&&(i.test(l)||t.preventDefault())}}}}},{key:"validate",value:function(e,t){var n=e.target.value,r=!0;return n&&!t.test(n)&&(r=!1),r}}]),e}();function Q(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var i=q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return K(this,n)}}B(Z,"DEFAULT_MASKS",{pint:/[\d]/,int:/[\d\-]/,pnum:/[\d\.]/,money:/[\d\.\s,]/,num:/[\d\-\.]/,hex:/[0-9a-f]/i,email:/[a-z0-9_\.\-@]/i,alpha:/[a-z_]/i,alphanum:/[a-z0-9_]/i}),B(Z,"KEYS",{TAB:9,RETURN:13,ESC:27,BACKSPACE:8,DELETE:46}),B(Z,"SAFARI_KEYS",{63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35});var J=function(e){W(n,e);var t=Q(n);function n(e){var r;return I(this,n),(r=t.call(this,e)).state={mounted:e.visible},r}return _(n,[{key:"hasDOM",value:function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},{key:"componentDidMount",value:function(){this.hasDOM()&&!this.state.mounted&&this.setState({mounted:!0},this.props.onMounted)}},{key:"componentWillUnmount",value:function(){this.props.onUnmounted&&this.props.onUnmounted()}},{key:"render",value:function(){if(this.props.element&&this.state.mounted){var e=this.props.appendTo||r.ZP.appendTo||document.body;return"self"===e?this.props.element:a.createPortal(this.props.element,e)}return null}}]),n}(i.Component);function ee(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var i=q(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return K(this,n)}}function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;ta.width?(this.containerEl.style.left="0px",this.containerEl.style.right=window.innerWidth-a.width-r+"px"):(this.containerEl.style.right="",this.containerEl.style.left=r+"px"),this.containerEl.style.top=i+"px",L.addClass(this.containerEl,"p-tooltip-active")}else{var u=L.findCollisionPosition(this.state.position),c=this.getTargetOption(e,"my")||this.props.my||u.my,p=this.getTargetOption(e,"at")||this.props.at||u.at;this.containerEl.style.padding="0px",L.flipfitCollision(this.containerEl,e,c,p,(function(e){var t=e.at,r=t.x,i=t.y,a=e.my.x,o=n.props.at?"center"!==r&&r!==a?r:i:e.at["".concat(u.axis)];n.containerEl.style.padding="",n.setState({position:o},(function(){n.updateContainerPosition(),L.addClass(n.containerEl,"p-tooltip-active")}))}))}}},{key:"updateContainerPosition",value:function(){if(this.containerEl){var e=getComputedStyle(this.containerEl);"left"===this.state.position?this.containerEl.style.left=parseFloat(e.left)-2*parseFloat(e.paddingLeft)+"px":"top"===this.state.position&&(this.containerEl.style.top=parseFloat(e.top)-2*parseFloat(e.paddingTop)+"px")}}},{key:"onMouseEnter",value:function(){this.isAutoHide()||(this.allowHide=!1)}},{key:"onMouseLeave",value:function(e){this.isAutoHide()||(this.allowHide=!0,this.hide(e))}},{key:"bindDocumentResizeListener",value:function(){var e=this;this.documentResizeListener=function(t){L.isAndroid()||e.hide(t)},window.addEventListener("resize",this.documentResizeListener)}},{key:"unbindDocumentResizeListener",value:function(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}},{key:"bindScrollListener",value:function(){var e=this;this.scrollHandler||(this.scrollHandler=new D(this.currentTarget,(function(t){e.state.visible&&e.hide(t)}))),this.scrollHandler.bindScrollListener()}},{key:"unbindScrollListener",value:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}},{key:"bindTargetEvent",value:function(e){if(e){var t=this.getEvents(e),n=t.showEvent,r=t.hideEvent;e.addEventListener(n,this.show),e.addEventListener(r,this.hide)}}},{key:"unbindTargetEvent",value:function(e){if(e){var t=this.getEvents(e),n=t.showEvent,r=t.hideEvent;e.removeEventListener(n,this.show),e.removeEventListener(r,this.hide)}}},{key:"applyDelay",value:function(e,t){this.clearTimeouts();var n=this.getTargetOption(this.currentTarget,e.toLowerCase())||this.props[e];n?this["".concat(e,"Timeout")]=setTimeout((function(){return t()}),n):t()}},{key:"sendCallback",value:function(e){if(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r>>0,1)},emit:function(e,t){var n=ae.get(e);n&&n.slice().forEach((function(e){return e(t)}))}});function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t{"use strict";var r=n(67294),i=n(63746);function a(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"auto",r=this.isBoth(),i=this.isHorizontal(),a=this.state.first,o=this.props.itemSize,s=this.getContentPadding(),l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e<=t.state.numToleratedItems?0:e},u=function(e,t,n){return e*t+n},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.scrollTo({left:e,top:r,behavior:n})};if(r){var p={rows:l(e[0]),cols:l(e[1])};(p.rows!==a.rows||p.cols!==a.cols)&&c(u(p.cols,o[1],s.left),u(p.rows,o[0],s.top))}else{var d=l(e);d!==a&&(i?c(u(d,o,s.left),0):c(0,u(d,o,s.top)))}}},{key:"scrollInView",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"auto";if(t){var i=this.isBoth(),a=this.isHorizontal(),o=this.getRenderedRange(),s=o.first,l=o.viewport,u=this.props.itemSize,c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n.scrollTo({left:e,top:t,behavior:r})},p="to-start"===t,d="to-end"===t;if(p){if(i)l.first.rows-s.rows>e[0]?c(l.first.cols*u,(l.first.rows-1)*u):l.first.cols-s.cols>e[1]&&c((l.first.cols-1)*u,l.first.rows*u);else if(l.first-s>e){var f=(l.first-1)*u;a?c(f,0):c(0,f)}}else if(d)if(i)l.last.rows-s.rows<=e[0]+1?c(l.first.cols*u,(l.first.rows+1)*u):l.last.cols-s.cols<=e[1]+1&&c((l.first.cols+1)*u,l.first.rows*u);else if(l.last-s<=e+1){var g=(l.first+1)*u;a?c(g,0):c(0,g)}}else this.scrollToIndex(e,r)}},{key:"getRenderedRange",value:function(){var e=this.isBoth(),t=this.isHorizontal(),n=this.state,r=n.first,i=n.last,a=n.numItemsInViewport,o=this.props.itemSize,s=function(e,t){return Math.floor(e/(t||e))},l=r,u=0;if(this.element){var c=this.element.scrollTop,p=this.element.scrollLeft;u=e?{rows:(l={rows:s(c,o[0]),cols:s(p,o[1])}).rows+a.rows,cols:l.cols+a.cols}:(l=s(t?p:c,o))+a}return{first:r,last:i,viewport:{first:l,last:u}}}},{key:"isHorizontal",value:function(){return"horizontal"===this.props.orientation}},{key:"isBoth",value:function(){return"both"===this.props.orientation}},{key:"calculateOptions",value:function(){var e=this,t=this.isBoth(),n=this.isHorizontal(),r=this.state.first,i=this.props.itemSize,a=this.getContentPadding(),o=this.element?this.element.offsetWidth-a.left:0,s=this.element?this.element.offsetHeight-a.top:0,l=function(e,t){return Math.ceil(e/(t||e))},u=t?{rows:l(s,i[0]),cols:l(o,i[1])}:l(n?o:s,i),c=this.state.numToleratedItems||Math.ceil((t?u.rows:u)/2),p=function(t,n,r){return e.getLast(t+n+(t3&&void 0!==arguments[3]?arguments[3]:0;return e.spacer.style[t]=(n||[]).length*r+i+"px"};n?(o("height",t[0],i[0],a.y),o("width",t[1],i[1],a.x)):r?o("width",t,i,a.x):o("height",t,i,a.y)}}},{key:"setContentPosition",value:function(e){var t=this;if(this.content){var n=this.isBoth(),r=this.isHorizontal(),i=e?e.first:this.state.first,a=this.props.itemSize,o=function(e,t){return e*t},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.content.style.transform="translate3d(".concat(e,"px, ").concat(n,"px, 0)")};if(n)s(o(i.cols,a[1]),o(i.rows,a[0]));else{var l=o(i,a);r?s(l,0):s(0,l)}}}},{key:"onScrollPositionChange",value:function(e){var t=this,n=e.target,r=this.isBoth(),i=this.isHorizontal(),a=this.state,o=a.first,s=a.last,l=a.numItemsInViewport,u=a.numToleratedItems,c=this.props.itemSize,p=this.getContentPadding(),d=function(e,t){return e?e>t?e-t:e:0},f=function(e,t){return Math.floor(e/(t||e))},g=function(e,t,n,r,i){return e<=u?u:i?n-r-u:t+u-1},m=function(e,t,n,r,i,a){return e<=u?0:a?et?n:e-2*u},h=function(e,n,r,i,a){var o=n+i+2*u;return e>=u&&(o+=u+1),t.getLast(o,a)},b=d(n.scrollTop,p.top),y=d(n.scrollLeft,p.left),E=0,v=s,S=!1;if(r){var k=this.lastScrollPos.top<=b,T=this.lastScrollPos.left<=y,w={rows:f(b,c[0]),cols:f(y,c[1])},A={rows:g(w.rows,o.rows,s.rows,l.rows,k),cols:g(w.cols,o.cols,s.cols,l.cols,T)};E={rows:m(w.rows,A.rows,o.rows,s.rows,l.rows,k),cols:m(w.cols,A.cols,o.cols,s.cols,l.cols,T)},v={rows:h(w.rows,E.rows,s.rows,l.rows),cols:h(w.cols,E.cols,s.cols,l.cols,!0)},S=E.rows!==o.rows||E.cols!==o.cols||v.rows!==s.rows||v.cols!==s.cols,this.lastScrollPos={top:b,left:y}}else{var R=i?y:b,C=this.lastScrollPos<=R,I=f(R,c);v=h(I,E=m(I,g(I,o,s,l,C),o,0,0,C),0,l),S=E!==o||v!==s,this.lastScrollPos=R}return{first:E,last:v,isRangeChanged:S}}},{key:"onScrollChange",value:function(e){var t=this,n=this.onScrollPositionChange(e),r=n.first,i=n.last;if(n.isRangeChanged){var a={first:r,last:i};this.setContentPosition(a),this.props.lazy&&this.props.onLazyLoad&&this.props.onLazyLoad(a),this.setState(a,(function(){t.props.onScrollIndexChange&&t.props.onScrollIndexChange(a)}))}}},{key:"onScroll",value:function(e){var t=this;this.props.onScroll&&this.props.onScroll(e),this.props.delay?(this.scrollTimeout&&clearTimeout(this.scrollTimeout),!this.state.loading&&this.props.showLoader&&this.onScrollPositionChange(e).isRangeChanged&&this.setState({loading:!0}),this.scrollTimeout=setTimeout((function(){t.onScrollChange(e),t.state.loading&&t.props.showLoader&&!t.props.lazy&&t.setState({loading:!1})}),this.props.delay)):this.onScrollChange(e)}},{key:"getOptions",value:function(e,t){return{index:e,count:t,first:0===e,last:e===t-1,even:e%2==0,odd:e%2!=0,props:this.props}}},{key:"init",value:function(){this.setSize(),this.calculateOptions(),this.setSpacerSize()}},{key:"componentDidMount",value:function(){this.init()}},{key:"componentDidUpdate",value:function(e,t){e.itemSize===this.props.itemSize&&e.items&&e.items.length===(this.props.items||[]).length||this.init(),this.props.lazy&&e.loading!==this.props.loading&&this.state.loading!==this.props.loading&&this.setState({loading:this.props.loading}),e.orientation!==this.props.orientation&&(this.lastScrollPos=this.isBoth()?{top:0,left:0}:0)}},{key:"renderItem",value:function(e,t,n,a){var o=this.getOptions(t,n),s=i.gb.getJSXElement(this.props.itemTemplate,a||e,o);return r.createElement(r.Fragment,{key:t},s)}},{key:"renderItems",value:function(){var e=this,t=this.props.items;if(t&&!this.state.loading){var n=this.isBoth(),r=this.state,i=r.first,a=r.last,o=t.length;return n?t.slice(i.rows,a.rows).map((function(t,n){var r=t.slice(i.cols,a.cols),s=i.rows+n;return e.renderItem(t,s,o,r)})):t.slice(i,a).map((function(t,n){var r=i+n;return e.renderItem(t,r,o)}))}return null}},{key:"renderLoaderItem",value:function(e,t,n){var a=f(f({},this.getOptions(e,t)),n||{}),o=i.gb.getJSXElement(this.props.loadingTemplate,a);return r.createElement(r.Fragment,{key:e},o)}},{key:"renderLoader",value:function(){var e=this;if(this.state.loading){var t=(0,i.AK)("p-virtualscroller-loader",{"p-component-overlay":!this.props.loadingTemplate}),n=r.createElement("i",{className:"p-virtualscroller-loading-icon pi pi-spinner pi-spin"});if(this.props.loadingTemplate){var a=this.isBoth(),o=this.state.numItemsInViewport,s=a?o.rows:o;n=this.state.loaderArr.map((function(t,n){return e.renderLoaderItem(n,s,a&&{numCols:o.cols})}))}return r.createElement("div",{className:t},n)}return null}},{key:"renderContent",value:function(){var e=this,t=this.renderItems(),n=r.createElement("div",{className:"p-virtualscroller-content",ref:function(t){return e.content=t}},t);if(this.props.contentTemplate){var a=this.state,o=a.loading,s=a.first,l=a.last,u={className:"p-virtualscroller-content",ref:function(t){return e.content=t},children:t,element:n,props:this.props,loading:o,first:s,last:l};return i.gb.getJSXElement(this.props.contentTemplate,u)}return n}},{key:"render",value:function(){var e=this,t=this.isBoth(),n=this.isHorizontal(),a=(0,i.AK)("p-virtualscroller",{"p-both-scroll":t,"p-horizontal-scroll":n},this.props.className),o=this.renderLoader(),s=this.renderContent();return r.createElement("div",{ref:function(t){return e.element=t},className:a,tabIndex:0,style:this.props.style,onScroll:this.onScroll},s,r.createElement("div",{ref:function(t){return e.spacer=t},className:"p-virtualscroller-spacer"}),o)}}],n&&a(t.prototype,n),l&&a(t,l),c}(r.Component);p(m,"defaultProps",{id:null,style:null,className:null,items:null,itemSize:0,scrollHeight:null,scrollWidth:null,orientation:"vertical",numToleratedItems:null,delay:0,lazy:!1,showLoader:!1,loadingTemplate:null,itemTemplate:null,contentTemplate:null,onScroll:null,onScrollIndexChange:null,onLazyLoad:null});var h=n(66367);function b(){return b=Object.assign||function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?this.findPrevOption({group:n-1,option:this.getOptionGroupChildren(t[n-1]).length}):null)}return this.findPrevOptionInList(t,e)}},{key:"findPrevOptionInList",value:function(e,t){var n=t-1;if(n<0)return null;var r=e[n];return this.isOptionDisabled(r)?this.findPrevOption(n):r}},{key:"search",value:function(e){var t=this;this.searchTimeout&&clearTimeout(this.searchTimeout);var n=e.key;if(this.previousSearchChar=this.currentSearchChar,this.currentSearchChar=n,this.previousSearchChar===this.currentSearchChar?this.searchValue=this.currentSearchChar:this.searchValue=this.searchValue?this.searchValue+n:n,this.searchValue){var r=this.getSelectedOptionIndex(),i=this.props.optionGroupLabel?this.searchOptionInGroup(r):this.searchOption(++r);i&&(this.selectItem({originalEvent:e,option:i}),this.selectedOptionUpdated=!0)}this.searchTimeout=setTimeout((function(){t.searchValue=null}),250)}},{key:"searchOption",value:function(e){var t;if(this.searchValue){var n=this.getVisibleOptions();(t=this.searchOptionInRange(e,n.length))||(t=this.searchOptionInRange(0,e))}return t}},{key:"searchOptionInRange",value:function(e,t){for(var n=this.getVisibleOptions(),r=e;r0}},{key:"getOptionLabel",value:function(e){return this.props.optionLabel?i.gb.resolveFieldData(e,this.props.optionLabel):e&&void 0!==e.label?e.label:e}},{key:"getOptionValue",value:function(e){return this.props.optionValue?i.gb.resolveFieldData(e,this.props.optionValue):e&&void 0!==e.value?e.value:e}},{key:"getOptionRenderKey",value:function(e){return this.props.dataKey?i.gb.resolveFieldData(e,this.props.dataKey):this.getOptionLabel(e)}},{key:"isOptionDisabled",value:function(e){return this.props.optionDisabled?i.gb.isFunction(this.props.optionDisabled)?this.props.optionDisabled(e):i.gb.resolveFieldData(e,this.props.optionDisabled):!(!e||void 0===e.disabled)&&e.disabled}},{key:"getOptionGroupRenderKey",value:function(e){return i.gb.resolveFieldData(e,this.props.optionGroupLabel)}},{key:"getOptionGroupLabel",value:function(e){return i.gb.resolveFieldData(e,this.props.optionGroupLabel)}},{key:"getOptionGroupChildren",value:function(e){return i.gb.resolveFieldData(e,this.props.optionGroupChildren)}},{key:"checkValidity",value:function(){return this.inputRef.current.checkValidity()}},{key:"getVisibleOptions",value:function(){if(this.hasFilter()){var e=this.state.filter.trim().toLocaleLowerCase(this.props.filterLocale),t=this.props.filterBy?this.props.filterBy.split(","):[this.props.optionLabel||"label"];if(this.props.optionGroupLabel){var n,r=[],a=F(this.props.options);try{for(a.s();!(n=a.n()).done;){var o=n.value,s=i.lD.filter(this.getOptionGroupChildren(o),t,e,this.props.filterMatchMode,this.props.filterLocale);s&&s.length&&r.push(M(M({},o),{items:s}))}}catch(l){a.e(l)}finally{a.f()}return r}return i.lD.filter(this.props.options,t,e,this.props.filterMatchMode,this.props.filterLocale)}return this.props.options}},{key:"updateInputField",value:function(){if(this.props.editable&&this.input){var e=this.getSelectedOption(),t=(e?this.getOptionLabel(e):null)||this.props.value||"";this.input.value=t}}},{key:"updateInputRef",value:function(){var e=this.props.inputRef;e&&("function"==typeof e?e(this.inputRef.current):e.current=this.inputRef.current)}},{key:"componentDidMount",value:function(){this.updateInputRef(),this.props.autoFocus&&this.focusInput&&this.focusInput.focus(),this.props.tooltip&&this.renderTooltip(),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"componentWillUnmount",value:function(){this.unbindDocumentClickListener(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.tooltip&&(this.tooltip.destroy(),this.tooltip=null),this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null),i.P9.clear(this.overlayRef.current)}},{key:"componentDidUpdate",value:function(e){this.state.overlayVisible&&(this.props.filter&&this.alignOverlay(),e.value!==this.props.value&&this.scrollInView()),e.tooltip===this.props.tooltip&&e.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(M({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip()),!this.state.filter||this.props.options&&0!==this.props.options.length||this.setState({filter:""}),this.updateInputField(),this.inputRef.current.selectedIndex=1}},{key:"renderHiddenSelect",value:function(e){var t=r.createElement("option",{value:""},this.props.placeholder),n=e?r.createElement("option",{value:e.value},this.getOptionLabel(e)):null;return r.createElement("div",{className:"p-hidden-accessible p-dropdown-hidden-select"},r.createElement("select",{ref:this.inputRef,required:this.props.required,name:this.props.name,tabIndex:-1,"aria-hidden":"true"},t,n))}},{key:"renderTooltip",value:function(){this.tooltip=(0,i.IE)({target:this.container,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderKeyboardHelper",value:function(){var e=this;return r.createElement("div",{className:"p-hidden-accessible"},r.createElement("input",{ref:function(t){return e.focusInput=t},id:this.props.inputId,type:"text",readOnly:!0,"aria-haspopup":"listbox",onFocus:this.onInputFocus,onBlur:this.onInputBlur,onKeyDown:this.onInputKeyDown,disabled:this.props.disabled,tabIndex:this.props.tabIndex,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy}))}},{key:"renderLabel",value:function(e){var t=this,n=e?this.getOptionLabel(e):null;if(this.props.editable){var a=n||this.props.value||"";return r.createElement("input",{ref:function(e){return t.input=e},type:"text",defaultValue:a,className:"p-dropdown-label p-inputtext",disabled:this.props.disabled,placeholder:this.props.placeholder,maxLength:this.props.maxLength,onInput:this.onEditableInputChange,onFocus:this.onEditableInputFocus,onBlur:this.onInputBlur,"aria-label":this.props.ariaLabel,"aria-labelledby":this.props.ariaLabelledBy,"aria-haspopup":"listbox"})}var o=(0,i.AK)("p-dropdown-label p-inputtext",{"p-placeholder":null===n&&this.props.placeholder,"p-dropdown-label-empty":null===n&&!this.props.placeholder}),s=this.props.valueTemplate?i.gb.getJSXElement(this.props.valueTemplate,e,this.props):n||this.props.placeholder||"empty";return r.createElement("span",{ref:function(e){return t.input=e},className:o},s)}},{key:"renderClearIcon",value:function(){return null!=this.props.value&&this.props.showClear&&!this.props.disabled?r.createElement("i",{className:"p-dropdown-clear-icon pi pi-times",onClick:this.clear}):null}},{key:"renderDropdownIcon",value:function(){var e=this,t=(0,i.AK)("p-dropdown-trigger-icon p-clickable",this.props.dropdownIcon);return r.createElement("div",{ref:function(t){return e.trigger=t},className:"p-dropdown-trigger",role:"button","aria-haspopup":"listbox","aria-expanded":this.state.overlayVisible},r.createElement("span",{className:t}))}},{key:"render",value:function(){var e=this,t=(0,i.AK)("p-dropdown p-component p-inputwrapper",this.props.className,{"p-disabled":this.props.disabled,"p-focus":this.state.focused,"p-dropdown-clearable":this.props.showClear&&!this.props.disabled,"p-inputwrapper-filled":this.props.value,"p-inputwrapper-focus":this.state.focused||this.state.overlayVisible}),n=this.getVisibleOptions(),a=this.getSelectedOption(),o=this.renderHiddenSelect(a),s=this.renderKeyboardHelper(),l=this.renderLabel(a),u=this.renderDropdownIcon(),c=this.renderClearIcon();return r.createElement("div",{id:this.props.id,ref:function(t){return e.container=t},className:t,style:this.props.style,onClick:this.onClick,onMouseDown:this.props.onMouseDown,onContextMenu:this.props.onContextMenu},s,o,l,c,u,r.createElement(D,b({ref:this.overlayRef,visibleOptions:n},this.props,{onClick:this.onPanelClick,onOptionClick:this.onOptionClick,filterValue:this.state.filter,hasFilter:this.hasFilter,onFilterClearIconClick:this.onFilterClearIconClick,onFilterInputKeyDown:this.onFilterInputKeyDown,onFilterInputChange:this.onFilterInputChange,getOptionLabel:this.getOptionLabel,getOptionRenderKey:this.getOptionRenderKey,isOptionDisabled:this.isOptionDisabled,getOptionGroupChildren:this.getOptionGroupChildren,getOptionGroupLabel:this.getOptionGroupLabel,getOptionGroupRenderKey:this.getOptionGroupRenderKey,isSelected:this.isSelected,getSelectedOptionIndex:this.getSelectedOptionIndex,in:this.state.overlayVisible,onEnter:this.onOverlayEnter,onEntered:this.onOverlayEntered,onExit:this.onOverlayExit,onExited:this.onOverlayExited})))}}]),n}(r.Component);function H(){return H=Object.assign||function(e){for(var t=1;t0||null!=this.props.defaultValue&&this.props.defaultValue.toString().length>0||this.elementRef&&this.elementRef.current&&null!=this.elementRef.current.value&&this.elementRef.current.value.toString().length>0}},{key:"onKeyPress",value:function(e){this.props.onKeyPress&&this.props.onKeyPress(e),this.props.keyfilter&&i.Fr.onKeyPress(e,this.props.keyfilter,this.props.validateOnly)}},{key:"onInput",value:function(e){var t=!0;this.props.keyfilter&&this.props.validateOnly&&(t=i.Fr.validate(e,this.props.keyfilter)),this.props.onInput&&this.props.onInput(e,t),this.props.onChange||(e.target.value.length>0?i.p7.addClass(e.target,"p-filled"):i.p7.removeClass(e.target,"p-filled"))}},{key:"updateForwardRef",value:function(){var e=this.props.forwardRef;e&&("function"==typeof e?e(this.elementRef.current):e.current=this.elementRef.current)}},{key:"componentDidMount",value:function(){this.updateForwardRef(),this.props.tooltip&&this.renderTooltip()}},{key:"componentDidUpdate",value:function(e){e.tooltip===this.props.tooltip&&e.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&t>s){var c=this.isDecimalMode()&&(this.props.minFractionDigits||0)0?i:""):i=r.slice(0,t-1)+r.slice(t)}this.updateValue(e,i,null,"delete-single")}else i=this.deleteRange(r,t,n),this.updateValue(e,i,null,"delete-range");break;case 46:if(e.preventDefault(),t===n){var p=r.charAt(t),d=this.getDecimalCharIndexes(r),f=d.decimalCharIndex,g=d.decimalCharIndexWithoutPrefix;if(this.isNumeralChar(p)){var m=this.getDecimalLength(r);if(this._group.test(p))this._group.lastIndex=0,i=r.slice(0,t)+r.slice(t+2);else if(this._decimal.test(p))this._decimal.lastIndex=0,m?this.$refs.input.$el.setSelectionRange(t+1,t+1):i=r.slice(0,t)+r.slice(t+1);else if(f>0&&t>f){var h=this.isDecimalMode()&&(this.props.minFractionDigits||0)0?i:""):i=r.slice(0,t)+r.slice(t+1)}this.updateValue(e,i,null,"delete-back-single")}else i=this.deleteRange(r,t,n),this.updateValue(e,i,null,"delete-range")}this.props.onKeyDown&&this.props.onKeyDown(e)}}},{key:"onInputKeyPress",value:function(e){e.preventDefault();var t=e.which||e.keyCode,n=String.fromCharCode(t),r=this.isDecimalSign(n),i=this.isMinusSign(n);(48<=t&&t<=57||i||r)&&this.insert(e,n,{isDecimalSign:r,isMinusSign:i})}},{key:"onPaste",value:function(e){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData("Text");if(t){var n=this.parseValue(t);null!=n&&this.insert(e,n.toString())}}},{key:"allowMinusSign",value:function(){return null===this.props.min||this.props.min<0}},{key:"isMinusSign",value:function(e){return!(!this._minusSign.test(e)&&"-"!==e||(this._minusSign.lastIndex=0,0))}},{key:"isDecimalSign",value:function(e){return!!this._decimal.test(e)&&(this._decimal.lastIndex=0,!0)}},{key:"isDecimalMode",value:function(){return"decimal"===this.props.mode}},{key:"getDecimalCharIndexes",value:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.replace(this._prefix,"").trim().replace(/\s/g,"").replace(this._currency,"").search(this._decimal);return this._decimal.lastIndex=0,{decimalCharIndex:t,decimalCharIndexWithoutPrefix:n}}},{key:"getCharIndexes",value:function(e){var t=e.search(this._decimal);this._decimal.lastIndex=0;var n=e.search(this._minusSign);this._minusSign.lastIndex=0;var r=e.search(this._suffix);this._suffix.lastIndex=0;var i=e.search(this._currency);return this._currency.lastIndex=0,{decimalCharIndex:t,minusCharIndex:n,suffixCharIndex:r,currencyCharIndex:i}}},{key:"insert",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isDecimalSign:!1,isMinusSign:!1},r=t.search(this._minusSign);if(this._minusSign.lastIndex=0,this.allowMinusSign()||-1===r){var i,a=this.inputRef.current.selectionStart,o=this.inputRef.current.selectionEnd,s=this.inputRef.current.value.trim(),l=this.getCharIndexes(s),u=l.decimalCharIndex,c=l.minusCharIndex,p=l.suffixCharIndex,d=l.currencyCharIndex;if(n.isMinusSign)0===a&&(i=s,-1!==c&&0===o||(i=this.insertText(s,t,0,o)),this.updateValue(e,i,t,"insert"));else if(n.isDecimalSign)u>0&&a===u?this.updateValue(e,s,t,"insert"):(u>a&&u0&&a>u){if(a+t.length-(u+1)<=f){var m=d>=a?d-1:p>=a?p:s.length;i=s.slice(0,a)+t+s.slice(a+t.length,m)+s.slice(m),this.updateValue(e,i,t,g)}}else i=this.insertText(s,t,a,o),this.updateValue(e,i,t,g)}}}},{key:"insertText",value:function(e,t,n,r){if(2===("."===t?t:t.split(".")).length){var i=e.slice(n,r).search(this._decimal);return this._decimal.lastIndex=0,i>0?e.slice(0,n)+this.formatValue(t)+e.slice(r):e||this.formatValue(t)}return r-n===e.length?this.formatValue(t):0===n?t+e.slice(r):r===e.length?e.slice(0,n)+t:e.slice(0,n)+t+e.slice(r)}},{key:"deleteRange",value:function(e,t,n){return n-t===e.length?"":0===t?e.slice(n):n===e.length?e.slice(0,t):e.slice(0,t)+e.slice(n)}},{key:"initCursor",value:function(){var e=this.inputRef.current.selectionStart,t=this.inputRef.current.value,n=t.length,r=null,i=(this.prefixChar||"").length;e-=i;var a=(t=t.replace(this._prefix,"")).charAt(e);if(this.isNumeralChar(a))return e+i;for(var o=e-1;o>=0;){if(a=t.charAt(o),this.isNumeralChar(a)){r=o+i;break}o--}if(null!==r)this.inputRef.current.setSelectionRange(r+1,r+1);else{for(o=e;othis.props.max?this.props.max:e}},{key:"updateInput",value:function(e,t,n,r){t=t||"";var i=this.inputRef.current,a=i.value,o=this.formatValue(e),s=a.length;if(o!==r&&(o=this.concatValues(o,r)),0===s){i.value=o,i.setSelectionRange(0,0);var l=this.initCursor()+t.length;i.setSelectionRange(l,l)}else{var u=i.selectionStart,c=i.selectionEnd;i.value=o;var p=o.length;if("range-insert"===n){var d=this.parseValue((a||"").slice(0,u)),f=(null!==d?d.toString():"").split("").join("(".concat(this.groupChar,")?")),g=new RegExp(f,"g");g.test(o);var m=t.split("").join("(".concat(this.groupChar,")?")),h=new RegExp(m,"g");h.test(o.slice(g.lastIndex)),c=g.lastIndex+h.lastIndex,i.setSelectionRange(c,c)}else if(p===s)"insert"===n||"delete-back-single"===n?i.setSelectionRange(c+1,c+1):"delete-single"===n?i.setSelectionRange(c-1,c-1):"delete-range"!==n&&"spin"!==n||i.setSelectionRange(c,c);else if("delete-back-single"===n){var b=a.charAt(c-1),y=a.charAt(c),E=s-p,v=this._group.test(y);v&&1===E?c+=1:!v&&this.isNumeralChar(b)&&(c+=-1*E+1),this._group.lastIndex=0,i.setSelectionRange(c,c)}else if("-"===a&&"insert"===n){i.setSelectionRange(0,0);var S=this.initCursor()+t.length+1;i.setSelectionRange(S,S)}else c+=p-s,i.setSelectionRange(c,c)}i.setAttribute("aria-valuenow",e)}},{key:"updateInputValue",value:function(e){e=e||this.props.allowEmpty?e:0;var t=this.inputRef.current,n=t.value,r=this.formattedValue(e);n!==r&&(t.value=r,t.setAttribute("aria-valuenow",e))}},{key:"formattedValue",value:function(e){var t=e||this.props.allowEmpty?e:0;return this.formatValue(t)}},{key:"concatValues",value:function(e,t){if(e&&t){var n=t.search(this._decimal);return this._decimal.lastIndex=0,-1!==n?e.split(this._decimal)[0]+t.slice(n):e}return e}},{key:"getDecimalLength",value:function(e){if(e){var t=e.split(this._decimal);if(2===t.length)return t[1].replace(this._suffix,"").trim().replace(/\s/g,"").replace(this._currency,"").length}return 0}},{key:"updateModel",value:function(e,t){this.props.onValueChange&&this.props.onValueChange({originalEvent:e,value:t,stopPropagation:function(){},preventDefault:function(){},target:{name:this.props.name,id:this.props.id,value:t}})}},{key:"onInputFocus",value:function(e){var t=this;e.persist(),this.setState({focused:!0},(function(){t.props.onFocus&&t.props.onFocus(e)}))}},{key:"onInputBlur",value:function(e){var t=this;e.persist(),this.setState({focused:!1},(function(){var n=t.inputRef.current.value;if(t.isValueChanged(n,t.props.value)){var r=t.validateValue(t.parseValue(n));t.updateInputValue(r),t.updateModel(e,r)}t.props.onBlur&&t.props.onBlur(e)}))}},{key:"clearTimer",value:function(){this.timer&&clearInterval(this.timer)}},{key:"isStacked",value:function(){return this.props.showButtons&&"stacked"===this.props.buttonLayout}},{key:"isHorizontal",value:function(){return this.props.showButtons&&"horizontal"===this.props.buttonLayout}},{key:"isVertical",value:function(){return this.props.showButtons&&"vertical"===this.props.buttonLayout}},{key:"getInputMode",value:function(){return this.props.inputMode||("decimal"!==this.props.mode||this.props.minFractionDigits?"decimal":"numeric")}},{key:"getFormatter",value:function(){return this.numberFormat}},{key:"updateInputRef",value:function(){var e=this.props.inputRef;e&&("function"==typeof e?e(this.inputRef.current):e.current=this.inputRef.current)}},{key:"componentDidMount",value:function(){this.updateInputRef(),this.props.tooltip&&this.renderTooltip();var e=this.validateValue(this.props.value);null!==this.props.value&&this.props.value!==e&&this.updateModel(null,e)}},{key:"componentDidUpdate",value:function(e){e.tooltip===this.props.tooltip&&e.tooltipOptions===this.props.tooltipOptions||(this.tooltip?this.tooltip.update(ue({content:this.props.tooltip},this.props.tooltipOptions||{})):this.renderTooltip());var t=this.isOptionChanged(e);if(t&&this.constructParser(),e.value!==this.props.value||t){var n=this.validateValue(this.props.value);this.updateInputValue(n),null!==this.props.value&&this.props.value!==n&&this.updateModel(null,n)}}},{key:"isOptionChanged",value:function(e){var t=this;return["locale","localeMatcher","mode","currency","currencyDisplay","useGrouping","minFractionDigits","maxFractionDigits","suffix","prefix"].some((function(n){return e[n]!==t.props[n]}))}},{key:"componentWillUnmount",value:function(){this.tooltip&&(this.tooltip.destroy(),this.tooltip=null)}},{key:"renderTooltip",value:function(){this.tooltip=(0,i.IE)({target:this.element,content:this.props.tooltip,options:this.props.tooltipOptions})}},{key:"renderInputElement",value:function(){var e=(0,i.AK)("p-inputnumber-input",this.props.inputClassName),t=this.formattedValue(this.props.value);return r.createElement(Q,{ref:this.inputRef,id:this.props.inputId,style:this.props.inputStyle,role:"spinbutton",className:e,defaultValue:t,type:this.props.type,size:this.props.size,tabIndex:this.props.tabIndex,inputMode:this.getInputMode(),maxLength:this.props.maxlength,disabled:this.props.disabled,required:this.props.required,pattern:this.props.pattern,placeholder:this.props.placeholder,readOnly:this.props.readOnly,name:this.props.name,autoFocus:this.props.autoFocus,onKeyDown:this.onInputKeyDown,onKeyPress:this.onInputKeyPress,onInput:this.onInput,onClick:this.onInputClick,onBlur:this.onInputBlur,onFocus:this.onInputFocus,onPaste:this.onPaste,min:this.props.min,max:this.props.max,"aria-valuemin":this.props.min,"aria-valuemax":this.props.max,"aria-valuenow":this.props.value,"aria-labelledby":this.props.ariaLabelledBy})}},{key:"renderUpButton",value:function(){var e=(0,i.AK)("p-inputnumber-button p-inputnumber-button-up p-button p-button-icon-only p-component",{"p-disabled":this.props.disabled},this.props.incrementButtonClassName),t=(0,i.AK)("p-button-icon",this.props.incrementButtonIcon);return r.createElement("button",{type:"button",className:e,onMouseLeave:this.onUpButtonMouseLeave,onMouseDown:this.onUpButtonMouseDown,onMouseUp:this.onUpButtonMouseUp,onKeyDown:this.onUpButtonKeyDown,onKeyUp:this.onUpButtonKeyUp,disabled:this.props.disabled,tabIndex:-1},r.createElement("span",{className:t}),r.createElement(i.HW,null))}},{key:"renderDownButton",value:function(){var e=(0,i.AK)("p-inputnumber-button p-inputnumber-button-down p-button p-button-icon-only p-component",{"p-disabled":this.props.disabled},this.props.decrementButtonClassName),t=(0,i.AK)("p-button-icon",this.props.decrementButtonIcon);return r.createElement("button",{type:"button",className:e,onMouseLeave:this.onDownButtonMouseLeave,onMouseDown:this.onDownButtonMouseDown,onMouseUp:this.onDownButtonMouseUp,onKeyDown:this.onDownButtonKeyDown,onKeyUp:this.onDownButtonKeyUp,disabled:this.props.disabled,tabIndex:-1},r.createElement("span",{className:t}),r.createElement(i.HW,null))}},{key:"renderButtonGroup",value:function(){var e=this.props.showButtons&&this.renderUpButton(),t=this.props.showButtons&&this.renderDownButton();return this.isStacked()?r.createElement("span",{className:"p-inputnumber-button-group"},e,t):r.createElement(r.Fragment,null,e,t)}},{key:"render",value:function(){var e=this,t=(0,i.AK)("p-inputnumber p-component p-inputwrapper",this.props.className,{"p-inputwrapper-filled":null!=this.props.value&&this.props.value.toString().length>0,"p-inputwrapper-focus":this.state.focused,"p-inputnumber-buttons-stacked":this.isStacked(),"p-inputnumber-buttons-horizontal":this.isHorizontal(),"p-inputnumber-buttons-vertical":this.isVertical()}),n=this.renderInputElement(),a=this.renderButtonGroup();return r.createElement("span",{ref:function(t){return e.element=t},id:this.props.id,className:t,style:this.props.style},n,a)}}],n&&te(t.prototype,n),a&&te(t,a),s}(r.Component);function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0}},{key:"render",value:function(){var e=this.hasOptions(),t=e?this.props.options.map((function(e){return{label:String(e),value:e}})):[],n=e?r.createElement(G,{value:this.props.value,options:t,onChange:this.props.onChange,appendTo:this.props.appendTo,disabled:this.props.disabled}):null;if(this.props.template){var a={value:this.props.value,options:t,onChange:this.props.onChange,appendTo:this.props.appendTo,currentPage:this.props.page,totalPages:this.props.pageCount,totalRecords:this.props.totalRecords,disabled:this.props.disabled,element:n,props:this.props};return i.gb.getJSXElement(this.props.template,a)}return n}}]),n}(r.Component);function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t0?this.props.page+1:0,t=r.createElement(pe,{value:e,onChange:this.onChange,className:"p-paginator-page-input",disabled:this.props.disabled});if(this.props.template){var n={value:e,onChange:this.onChange,disabled:this.props.disabled,className:"p-paginator-page-input",element:t,props:this.props};return i.gb.getJSXElement(this.props.template,n)}return t}}]),n}(r.Component);function ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ke(e);if(t){var i=ke(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Se(this,n)}}Te(He,"defaultProps",{page:null,rows:null,pageCount:null,disabled:!1,template:null,onChange:null});var $e=function(e){ve(n,e);var t=ze(n);function n(e){var r;return me(this,n),(r=t.call(this,e)).changePageToFirst=r.changePageToFirst.bind(ye(r)),r.changePageToPrev=r.changePageToPrev.bind(ye(r)),r.changePageToNext=r.changePageToNext.bind(ye(r)),r.changePageToLast=r.changePageToLast.bind(ye(r)),r.onRowsChange=r.onRowsChange.bind(ye(r)),r.changePage=r.changePage.bind(ye(r)),r.onPageLinkClick=r.onPageLinkClick.bind(ye(r)),r}return be(n,[{key:"isFirstPage",value:function(){return 0===this.getPage()}},{key:"isLastPage",value:function(){return this.getPage()===this.getPageCount()-1}},{key:"getPageCount",value:function(){return Math.ceil(this.props.totalRecords/this.props.rows)}},{key:"calculatePageLinkBoundaries",value:function(){var e=this.getPageCount(),t=Math.min(this.props.pageLinkSize,e),n=Math.max(0,Math.ceil(this.getPage()-t/2)),r=Math.min(e-1,n+t-1),i=this.props.pageLinkSize-(r-n+1);return[n=Math.max(0,n-i),r]}},{key:"updatePageLinks",value:function(){for(var e=[],t=this.calculatePageLinkBoundaries(),n=t[0],r=t[1],i=n;i<=r;i++)e.push(i+1);return e}},{key:"changePage",value:function(e,t){var n=this.getPageCount(),r=Math.floor(e/t);if(r>=0&&r0&&e.totalRecords!==this.props.totalRecords&&this.props.first>=this.props.totalRecords&&this.changePage((this.getPageCount()-1)*this.props.rows,this.props.rows):this.changePage(0,this.props.rows),this.isRowChanged=!1}},{key:"renderElement",value:function(e,t){var n;switch(e){case"FirstPageLink":n=r.createElement(Ae,{key:e,onClick:this.changePageToFirst,disabled:this.isFirstPage()||this.empty(),template:t});break;case"PrevPageLink":n=r.createElement(Oe,{key:e,onClick:this.changePageToPrev,disabled:this.isFirstPage()||this.empty(),template:t});break;case"NextPageLink":n=r.createElement(Ce,{key:e,onClick:this.changePageToNext,disabled:this.isLastPage()||this.empty(),template:t});break;case"LastPageLink":n=r.createElement(Ne,{key:e,onClick:this.changePageToLast,disabled:this.isLastPage()||this.empty(),template:t});break;case"PageLinks":n=r.createElement(Le,{key:e,value:this.updatePageLinks(),page:this.getPage(),rows:this.props.rows,pageCount:this.getPageCount(),onClick:this.onPageLinkClick,template:t});break;case"RowsPerPageDropdown":n=r.createElement(Pe,{key:e,value:this.props.rows,page:this.getPage(),pageCount:this.getPageCount(),totalRecords:this.props.totalRecords,options:this.props.rowsPerPageOptions,onChange:this.onRowsChange,appendTo:this.props.dropdownAppendTo,template:t,disabled:this.empty()});break;case"CurrentPageReport":n=r.createElement(Be,{reportTemplate:this.props.currentPageReportTemplate,key:e,page:this.getPage(),pageCount:this.getPageCount(),first:this.props.first,rows:this.props.rows,totalRecords:this.props.totalRecords,template:t});break;case"JumpToPageInput":n=r.createElement(He,{key:e,rows:this.props.rows,page:this.getPage(),pageCount:this.getPageCount(),onChange:this.changePage,disabled:this.empty(),template:t});break;default:n=null}return n}},{key:"renderElements",value:function(){var e=this,t=this.props.template;return t?"object"===ge(t)?t.layout?t.layout.split(" ").map((function(n){var r=n.trim();return e.renderElement(r,t[r])})):Object.entries(t).map((function(t){var n=fe(t,2),r=n[0],i=n[1];return e.renderElement(r,i)})):t.split(" ").map((function(t){return e.renderElement(t.trim())})):null}},{key:"render",value:function(){if(this.props.alwaysShow||1!==this.getPageCount()){var e=(0,i.AK)("p-paginator p-component",this.props.className),t=i.gb.getJSXElement(this.props.leftContent,this.props),n=i.gb.getJSXElement(this.props.rightContent,this.props),a=this.renderElements(),o=t&&r.createElement("div",{className:"p-paginator-left-content"},t),s=n&&r.createElement("div",{className:"p-paginator-right-content"},n);return r.createElement("div",{className:e,style:this.props.style},o,a,s)}return null}}]),n}(r.Component);function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1}}}]),n}(r.Component);function ot(){return ot=Object.assign||function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function ct(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&i!==this.props.node.children.length?r[this.props.node.key]={checked:!1,partialChecked:!0}:r[this.props.node.key]={checked:!1,partialChecked:!1}),this.props.propagateSelectionUp&&this.props.onPropagateUp&&this.props.onPropagateUp(e)}},{key:"propagateDown",value:function(e,t,n){if(t?n[e.key]={checked:!0,partialChecked:!1}:delete n[e.key],e.children&&e.children.length)for(var r=0;r=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}function kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?t[n]=e:t.push(e)}},{key:"removeSortMeta",value:function(e,t){for(var n=-1,r=0;r=0&&t.splice(n,1),t=t.length>0?t:null}},{key:"sortSingle",value:function(e){return this.sortNodes(e)}},{key:"sortNodes",value:function(e){var t=this,n=Ve(e);if(this.columnSortable&&"custom"===this.columnSortable&&this.columnSortFunction)n=this.columnSortFunction({field:this.getSortField(),order:this.getSortOrder()});else{n.sort((function(e,n){var r=t.getSortField(),a=i.gb.resolveFieldData(e.data,r),o=i.gb.resolveFieldData(n.data,r),s=null;return s=null==a&&null!=o?-1:null!=a&&null==o?1:null==a&&null==o?0:"string"==typeof a&&"string"==typeof o?a.localeCompare(o,void 0,{numeric:!0}):ao?1:0,t.getSortOrder()*s}));for(var r=0;rr?this.multisortField(e,t,n,r+1):0;if(("string"==typeof a||a instanceof String)&&("string"==typeof o||o instanceof String))return n[r].order*a.localeCompare(o,void 0,{numeric:!0});s=a0}},{key:"isFilterBlank",value:function(e){return null==e||("string"==typeof e&&0===e.trim().length||e instanceof Array&&0===e.length)}},{key:"onColumnResizeStart",value:function(e){var t=i.p7.getOffset(this.container).left;this.resizeColumn=e.columnEl,this.resizeColumnProps=e.column,this.columnResizing=!0,this.lastResizerHelperX=e.originalEvent.pageX-t+this.container.scrollLeft,this.bindColumnResizeEvents()}},{key:"onColumnResize",value:function(e){var t=i.p7.getOffset(this.container).left;i.p7.addClass(this.container,"p-unselectable-text"),this.resizerHelper.style.height=this.container.offsetHeight+"px",this.resizerHelper.style.top="0px",this.resizerHelper.style.left=e.pageX-t+this.container.scrollLeft+"px",this.resizerHelper.style.display="block"}},{key:"onColumnResizeEnd",value:function(e){var t=this.resizerHelper.offsetLeft-this.lastResizerHelperX,n=this.resizeColumn.offsetWidth,r=n+t,a=this.resizeColumn.style.minWidth||15;if(n+t>parseInt(a,10)){if("fit"===this.props.columnResizeMode){var o=this.resizeColumn.nextElementSibling,s=o.offsetWidth-t;if(r>15&&s>15)if(this.props.scrollable){var l=this.findParentScrollableView(this.resizeColumn),u=i.p7.findSingle(l,"table.p-treetable-scrollable-body-table"),c=i.p7.findSingle(l,"table.p-treetable-scrollable-header-table"),p=i.p7.findSingle(l,"table.p-treetable-scrollable-footer-table"),d=i.p7.index(this.resizeColumn);this.resizeColGroup(c,d,r,s),this.resizeColGroup(u,d,r,s),this.resizeColGroup(p,d,r,s)}else this.resizeColumn.style.width=r+"px",o&&(o.style.width=s+"px")}else if("expand"===this.props.columnResizeMode)if(this.props.scrollable){var f=this.findParentScrollableView(this.resizeColumn),g=i.p7.findSingle(f,"table.p-treetable-scrollable-body-table"),m=i.p7.findSingle(f,"table.p-treetable-scrollable-header-table"),h=i.p7.findSingle(f,"table.p-treetable-scrollable-footer-table");g.style.width=g.offsetWidth+t+"px",m.style.width=m.offsetWidth+t+"px",h&&(h.style.width=m.offsetWidth+t+"px");var b=i.p7.index(this.resizeColumn);this.resizeColGroup(m,b,r,null),this.resizeColGroup(g,b,r,null),this.resizeColGroup(h,b,r,null)}else this.table.style.width=this.table.offsetWidth+t+"px",this.resizeColumn.style.width=r+"px";this.props.onColumnResizeEnd&&this.props.onColumnResizeEnd({element:this.resizeColumn,column:this.resizeColumnProps,delta:t})}this.resizerHelper.style.display="none",this.resizeColumn=null,this.resizeColumnProps=null,i.p7.removeClass(this.container,"p-unselectable-text"),this.unbindColumnResizeEvents()}},{key:"findParentScrollableView",value:function(e){if(e){for(var t=e.parentElement;t&&!i.p7.hasClass(t,"p-treetable-scrollable-view");)t=t.parentElement;return t}return null}},{key:"resizeColGroup",value:function(e,t,n,r){if(e){var i="COLGROUP"===e.children[0].nodeName?e.children[0]:null;if(!i)throw new Error("Scrollable tables require a colgroup to support resizable columns");var a=i.children[t],o=a.nextElementSibling;a.style.width=n+"px",o&&r&&(o.style.width=r+"px")}}},{key:"bindColumnResizeEvents",value:function(){var e=this;this.documentColumnResizeListener=document.addEventListener("mousemove",(function(t){e.columnResizing&&e.onColumnResize(t)})),this.documentColumnResizeEndListener=document.addEventListener("mouseup",(function(t){e.columnResizing&&(e.columnResizing=!1,e.onColumnResizeEnd(t))}))}},{key:"unbindColumnResizeEvents",value:function(){document.removeEventListener("document",this.documentColumnResizeListener),document.removeEventListener("document",this.documentColumnResizeEndListener)}},{key:"onColumnDragStart",value:function(e){var t=e.originalEvent,n=e.column;this.columnResizing?t.preventDefault():(this.iconWidth=i.p7.getHiddenElementOuterWidth(this.reorderIndicatorUp),this.iconHeight=i.p7.getHiddenElementOuterHeight(this.reorderIndicatorUp),this.draggedColumnEl=this.findParentHeader(t.currentTarget),this.draggedColumn=n,t.dataTransfer.setData("text","b"))}},{key:"onColumnDragOver",value:function(e){var t=e.originalEvent,n=this.findParentHeader(t.currentTarget);if(this.props.reorderableColumns&&this.draggedColumnEl&&n){t.preventDefault();var r=i.p7.getOffset(this.container),a=i.p7.getOffset(n);if(this.draggedColumnEl!==n){var o=a.left-r.left,s=a.left+n.offsetWidth/2;this.reorderIndicatorUp.style.top=a.top-r.top-(this.iconHeight-1)+"px",this.reorderIndicatorDown.style.top=a.top-r.top+n.offsetHeight+"px",t.pageX>s?(this.reorderIndicatorUp.style.left=o+n.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=o+n.offsetWidth-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=1):(this.reorderIndicatorUp.style.left=o-Math.ceil(this.iconWidth/2)+"px",this.reorderIndicatorDown.style.left=o-Math.ceil(this.iconWidth/2)+"px",this.dropPosition=-1),this.reorderIndicatorUp.style.display="block",this.reorderIndicatorDown.style.display="block"}}}},{key:"onColumnDragLeave",value:function(e){var t=e.originalEvent;this.props.reorderableColumns&&this.draggedColumnEl&&(t.preventDefault(),this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none")}},{key:"onColumnDrop",value:function(e){var t=this,n=e.originalEvent,a=e.column;if(n.preventDefault(),this.draggedColumnEl){var o=i.p7.index(this.draggedColumnEl),s=i.p7.index(this.findParentHeader(n.currentTarget)),l=o!==s;if(l&&(s-o==1&&-1===this.dropPosition||o-s==1&&1===this.dropPosition)&&(l=!1),l){var u=this.state.columnOrder?this.getColumns():r.Children.toArray(this.props.children),c=function(e,t){return e.props.columnKey||t.props.columnKey?i.gb.equals(e,t,"props.columnKey"):i.gb.equals(e,t,"props.field")},p=u.findIndex((function(e){return c(e,t.draggedColumn)})),d=u.findIndex((function(e){return c(e,a)}));dp&&-1===this.dropPosition&&d--,i.gb.reorderArray(u,p,d);var f,g=[],m=St(u);try{for(m.s();!(f=m.n()).done;){var h=f.value;g.push(h.props.columnKey||h.props.field)}}catch(b){m.e(b)}finally{m.f()}this.setState({columnOrder:g}),this.props.onColReorder&&this.props.onColReorder({dragIndex:p,dropIndex:d,columns:u})}this.reorderIndicatorUp.style.display="none",this.reorderIndicatorDown.style.display="none",this.draggedColumnEl.draggable=!1,this.draggedColumnEl=null,this.dropPosition=null}}},{key:"findParentHeader",value:function(e){if("TH"===e.nodeName)return e;for(var t=e.parentElement;"TH"!==t.nodeName&&(t=t.parentElement););return t}},{key:"getExpandedKeys",value:function(){return this.props.onToggle?this.props.expandedKeys:this.state.expandedKeys}},{key:"getFirst",value:function(){return this.props.onPage?this.props.first:this.state.first}},{key:"getRows",value:function(){return this.props.onPage?this.props.rows:this.state.rows}},{key:"getSortField",value:function(){return this.props.onSort?this.props.sortField:this.state.sortField}},{key:"getSortOrder",value:function(){return this.props.onSort?this.props.sortOrder:this.state.sortOrder}},{key:"getMultiSortMeta",value:function(){return this.props.onSort?this.props.multiSortMeta:this.state.multiSortMeta}},{key:"getFilters",value:function(){return this.props.onFilter?this.props.filters:this.state.filters}},{key:"findColumnByKey",value:function(e,t){if(e&&e.length)for(var n=0;n{"use strict";var r=n(66632),i=n(98805),a=n(57643),o="data";e.exports=function(e,t){var n=r(t),d=t,f=a;if(n in e.normal)return e.property[e.normal[n]];n.length>4&&n.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?d=function(e){var t=e.slice(5).replace(l,p);return o+t.charAt(0).toUpperCase()+t.slice(1)}(t):t=function(e){var t=e.slice(4);if(l.test(t))return e;"-"!==(t=t.replace(u,c)).charAt(0)&&(t="-"+t);return o+t}(t),f=i);return new f(d,t)};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,u=/[A-Z]/g;function c(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},97247:(e,t,n)=>{"use strict";var r=n(19940),i=n(8289),a=n(5812),o=n(94397),s=n(67716),l=n(61805);e.exports=r([a,i,o,s,l])},67716:(e,t,n)=>{"use strict";var r=n(17e3),i=n(17596),a=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=i({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:a,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:s,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},61805:(e,t,n)=>{"use strict";var r=n(17e3),i=n(17596),a=n(10855),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,u=r.number,c=r.spaceSeparated,p=r.commaSeparated;e.exports=i({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:c,accessKey:c,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:c,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:c,cols:u,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:c,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:c,height:u,hidden:o,high:u,href:null,hrefLang:null,htmlFor:c,httpEquiv:c,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:c,itemRef:c,itemScope:o,itemType:c,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:u,pattern:null,ping:c,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:c,required:o,reversed:o,rows:u,rowSpan:u,sandbox:c,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:u,wrap:null,align:null,aLink:null,archive:c,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:l,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:u,security:null,unselectable:null}})},45789:(e,t,n)=>{"use strict";var r=n(17e3),i=n(17596),a=n(28740),o=r.boolean,s=r.number,l=r.spaceSeparated,u=r.commaSeparated,c=r.commaOrSpaceSeparated;e.exports=i({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:a,properties:{about:c,accentHeight:s,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:s,amplitude:s,arabicForm:null,ascent:s,attributeName:null,attributeType:null,azimuth:s,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:s,by:null,calcMode:null,capHeight:s,className:l,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:s,diffuseConstant:s,direction:null,display:null,dur:null,divisor:s,dominantBaseline:null,download:o,dx:null,dy:null,edgeMode:null,editable:null,elevation:s,enableBackground:null,end:null,event:null,exponent:s,externalResourcesRequired:null,fill:null,fillOpacity:s,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:u,g2:u,glyphName:u,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:s,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:s,horizOriginX:s,horizOriginY:s,id:null,ideographic:s,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:s,k:s,k1:s,k2:s,k3:s,k4:s,kernelMatrix:c,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:s,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:s,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:s,overlineThickness:s,paintOrder:null,panose1:null,path:null,pathLength:s,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:s,pointsAtY:s,pointsAtZ:s,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:c,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:c,rev:c,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:c,requiredFeatures:c,requiredFonts:c,requiredFormats:c,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:s,specularExponent:s,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:s,strikethroughThickness:s,string:null,stroke:null,strokeDashArray:c,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:s,strokeOpacity:s,strokeWidth:null,style:null,surfaceScale:s,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:c,tabIndex:s,tableValues:null,target:null,targetX:s,targetY:s,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:c,to:null,transform:null,u1:null,u2:null,underlinePosition:s,underlineThickness:s,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:s,values:null,vAlphabetic:s,vMathematical:s,vectorEffect:null,vHanging:s,vIdeographic:s,version:null,vertAdvY:s,vertOriginX:s,vertOriginY:s,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:s,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}})},10855:(e,t,n)=>{"use strict";var r=n(28740);e.exports=function(e,t){return r(e,t.toLowerCase())}},28740:e=>{"use strict";e.exports=function(e,t){return t in e?e[t]:t}},17596:(e,t,n)=>{"use strict";var r=n(66632),i=n(99607),a=n(98805);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},u=e.properties,c=e.transform,p={},d={};for(t in u)n=new a(t,c(l,t),u[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),p[t]=n,d[r(t)]=t,d[r(n.attribute)]=t;return new i(p,d,o)}},98805:(e,t,n)=>{"use strict";var r=n(57643),i=n(17e3);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function s(e,t,n,s){var u,c=-1;for(l(this,"space",s),r.call(this,e,t);++c{"use strict";e.exports=n;var t=n.prototype;function n(e,t){this.property=e,this.attribute=t}t.space=null,t.attribute=null,t.property=null,t.boolean=!1,t.booleanish=!1,t.overloadedBoolean=!1,t.number=!1,t.commaSeparated=!1,t.spaceSeparated=!1,t.commaOrSpaceSeparated=!1,t.mustUseProperty=!1,t.defined=!1},19940:(e,t,n)=>{"use strict";var r=n(47529),i=n(99607);e.exports=function(e){var t,n,a=e.length,o=[],s=[],l=-1;for(;++l{"use strict";e.exports=n;var t=n.prototype;function n(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}t.space=null,t.normal={},t.property={}},17e3:(e,t)=>{"use strict";var n=0;function r(){return Math.pow(2,++n)}t.boolean=r(),t.booleanish=r(),t.overloadedBoolean=r(),t.number=r(),t.spaceSeparated=r(),t.commaSeparated=r(),t.commaOrSpaceSeparated=r()},8289:(e,t,n)=>{"use strict";var r=n(17596);e.exports=r({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})},5812:(e,t,n)=>{"use strict";var r=n(17596);e.exports=r({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})},94397:(e,t,n)=>{"use strict";var r=n(17596),i=n(10855);e.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:i,properties:{xmlns:null,xmlnsXLink:null}})},66632:e=>{"use strict";e.exports=function(e){return e.toLowerCase()}},11218:(e,t,n)=>{"use strict";var r=n(19940),i=n(8289),a=n(5812),o=n(94397),s=n(67716),l=n(45789);e.exports=r([a,i,o,s,l])},71471:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,a=60108,o=60114,s=60109,l=60110,u=60112,c=60113,p=60120,d=60115,f=60116,g=60121,m=60122,h=60117,b=60129,y=60131;if("function"==typeof Symbol&&Symbol.for){var E=Symbol.for;n=E("react.element"),r=E("react.portal"),i=E("react.fragment"),a=E("react.strict_mode"),o=E("react.profiler"),s=E("react.provider"),l=E("react.context"),u=E("react.forward_ref"),c=E("react.suspense"),p=E("react.suspense_list"),d=E("react.memo"),f=E("react.lazy"),g=E("react.block"),m=E("react.server.block"),h=E("react.fundamental"),b=E("react.debug_trace_mode"),y=E("react.legacy_hidden")}function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case o:case a:case c:case p:return e;default:switch(e=e&&e.$$typeof){case l:case u:case f:case d:case s:return e;default:return t}}case r:return t}}}var S=s,k=n,T=u,w=i,A=f,R=d,C=r,I=o,O=a,_=c;t.ContextConsumer=l,t.ContextProvider=S,t.Element=k,t.ForwardRef=T,t.Fragment=w,t.Lazy=A,t.Memo=R,t.Portal=C,t.Profiler=I,t.StrictMode=O,t.Suspense=_,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===l},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return v(e)===u},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===f},t.isMemo=function(e){return v(e)===d},t.isPortal=function(e){return v(e)===r},t.isProfiler=function(e){return v(e)===o},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===c},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===o||e===b||e===a||e===c||e===p||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===d||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===g||e[0]===m)},t.typeOf=v},82143:(e,t,n)=>{"use strict";e.exports=n(71471)},65245:(e,t,n)=>{"use strict";e.exports=function(e){var t=this;this.Parser=function(n){return r(n,Object.assign({},t.data("settings"),e,{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}};var r=n(39671)},82076:(e,t,n)=>{"use strict";const r=n(67294),i=n(82143),a=n(11218),o=n(99560),s=n(99640),l=n(36582),u=n(56851),c=n(57848);t.D=f;const p={}.hasOwnProperty,d=new Set(["table","thead","tbody","tfoot","tr"]);function f(e,t){const n=[];let r,i=-1;for(;++iString(e))).join("")),!v&&s.rawSourcePos&&(c.sourcePosition=t.position),!v&&s.includeElementIndex&&(c.index=m(o,t),c.siblingCount=m(o)),v||(c.node=t),b.length>0?r.createElement(E,c,b):r.createElement(E,c)}function m(e,t){let n=-1,r=0;for(;++n{"use strict";const r=n(67294),i=n(10939),a=n(18835),o=n(65245),s=n(78818),l=n(45697),u=n(97247),c=n(26625),p=n(40100),d=n(82076).D;e.exports=m;const f={}.hasOwnProperty,g={renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function m(e){for(const r in g)if(f.call(g,r)&&f.call(e,r)){const e=g[r];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${r}\` (see for more info)`),delete g[r]}const t=a().use(o).use(e.remarkPlugins||e.plugins||[]).use(s,{allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(c,e);let n;"string"==typeof e.children?n=i(e.children):(void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`),n=i());const l=t.runSync(t.parse(n),n);if("root"!==l.type)throw new TypeError("Expected a `root` node");let p=r.createElement(r.Fragment,{},d({options:e,schema:u,listDepth:0},l));return e.className&&(p=r.createElement("div",{className:e.className},p)),p}m.defaultProps={transformLinkUri:p},m.propTypes={children:l.string,className:l.string,allowElement:l.func,allowedElements:l.arrayOf(l.string),disallowedElements:l.arrayOf(l.string),unwrapDisallowed:l.bool,remarkPlugins:l.arrayOf(l.oneOfType([l.object,l.func,l.arrayOf(l.oneOfType([l.object,l.func]))])),rehypePlugins:l.arrayOf(l.oneOfType([l.object,l.func,l.arrayOf(l.oneOfType([l.object,l.func]))])),sourcePos:l.bool,rawSourcePos:l.bool,skipHtml:l.bool,includeElementIndex:l.bool,transformLinkUri:l.oneOfType([l.func,l.bool]),linkTarget:l.oneOfType([l.func,l.string]),transformImageUri:l.func,components:l.object},m.uriTransformer=p},26625:(e,t,n)=>{const r=n(62854);e.exports=function(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return e=>{r(e,"element",t)};function t(t,n,r){const i=t,a=r;let o;if(e.allowedElements?o=!e.allowedElements.includes(i.tagName):e.disallowedElements&&(o=e.disallowedElements.includes(i.tagName)),!o&&e.allowElement&&"number"==typeof n&&(o=!e.allowElement(i,n,a)),o&&"number"==typeof n)return e.unwrapDisallowed&&i.children?a.children.splice(n,1,...i.children):a.children.splice(n,1),n}}},40100:e=>{const t=["http","https","mailto","tel"];e.exports=function(e){const n=(e||"").trim(),r=n.charAt(0);if("#"===r||"/"===r)return n;const i=n.indexOf(":");if(-1===i)return n;let a=-1;for(;++aa)return n;if(a=n.indexOf("#"),-1!==a&&i>a)return n;return"javascript:void(0)"}},45822:(e,t,n)=>{"use strict";n.d(t,{Z:()=>x});var r=n(63366);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=4?[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]:void 0),p[r]}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter((function(e){return"token"!==e})),i=d(r);return i.reduce((function(e,t){return c(c({},e),n[t])}),t)}function g(e){return e.join(" ")}function m(e){var t=e.node,n=e.stylesheet,r=e.style,i=void 0===r?{}:r,a=e.useInlineStyles,o=e.key,u=t.properties,p=t.type,d=t.tagName,h=t.value;if("text"===p)return h;if(d){var b,y=function(e,t){var n=0;return function(r){return n+=1,r.map((function(r,i){return m({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})}))}}(n,a);if(a){var E=Object.keys(n).reduce((function(e,t){return t.split(".").forEach((function(t){e.includes(t)||e.push(t)})),e}),[]),v=u.className&&u.className.includes("token")?["token"]:[],S=u.className&&v.concat(u.className.filter((function(e){return!E.includes(e)})));b=c(c({},u),{},{className:g(S)||void 0,style:f(u.className,Object.assign({},u.style,i),n)})}else b=c(c({},u),{},{className:g(u.className)});var k=y(t.children);return s.createElement(d,(0,l.Z)({key:o},b),k)}}var h=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r2&&void 0!==arguments[2]?arguments[2]:[];return T({children:e,lineNumber:t,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:i,lineProps:n,className:a,showLineNumbers:r,wrapLongLines:l})}function m(e,t){if(r&&t&&i){var n=k(s,t,o);e.unshift(S(t,n))}return e}function h(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||r.length>0?g(e,n,r):m(e,n)}for(var b=function(){var e=c[f],t=e.children[0].value;if(t.match(E)){var n=t.split("\n");n.forEach((function(t,i){var o=r&&p.length+a,s={type:"text",value:"".concat(t,"\n")};if(0===i){var l=h(c.slice(d+1,f).concat(T({children:[s],className:e.properties.className})),o);p.push(l)}else if(i===n.length-1){var u=c[f+1]&&c[f+1].children&&c[f+1].children[0],g={type:"text",value:"".concat(t)};if(u){var m=T({children:[g],className:e.properties.className});c.splice(f+1,0,m)}else{var b=h([g],o,e.properties.className);p.push(b)}}else{var y=h([s],o,e.properties.className);p.push(y)}})),d=f}f++};f code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,i=e.style,a=void 0===i?_:i,o=e.customStyle,l=void 0===o?{}:o,u=e.codeTagProps,c=void 0===u?{className:t?"language-".concat(t):void 0,style:y(y({},a['code[class*="language-"]']),a['code[class*="language-'.concat(t,'"]')])}:u,p=e.useInlineStyles,d=void 0===p||p,f=e.showLineNumbers,g=void 0!==f&&f,m=e.showInlineLineNumbers,b=void 0===m||m,E=e.startingLineNumber,S=void 0===E?1:E,k=e.lineNumberContainerStyle,T=e.lineNumberStyle,w=void 0===T?{}:T,I=e.wrapLines,N=e.wrapLongLines,x=void 0!==N&&N,L=e.lineProps,D=void 0===L?{}:L,P=e.renderer,M=e.PreTag,F=void 0===M?"pre":M,U=e.CodeTag,B=void 0===U?"code":U,G=e.code,H=void 0===G?(Array.isArray(n)?n[0]:n)||"":G,z=e.astGenerator,$=function(e,t){if(null==e)return{};var n,i,a=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,h);z=z||O;var j=g?s.createElement(v,{containerStyle:k,codeStyle:c.style||{},numberStyle:w,startingLineNumber:S,codeString:H}):null,V=a.hljs||a['pre[class*="language-"]']||{backgroundColor:"#fff"},W=C(z)?"hljs":"prismjs",K=d?Object.assign({},$,{style:Object.assign({},V,l)}):Object.assign({},$,{className:$.className?"".concat(W," ").concat($.className):W,style:Object.assign({},l)});if(c.style=y(y({},c.style),{},x?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"}),!z)return s.createElement(F,K,j,s.createElement(B,c,H));(void 0===I&&P||x)&&(I=!0),P=P||R;var q=[{type:"text",value:H}],Y=function(e){var t=e.astGenerator,n=e.language,r=e.code,i=e.defaultCodeValue;if(C(t)){var a=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:i,language:"text"}:a?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:i}}catch(o){return{value:i}}}({astGenerator:z,language:t,code:H,defaultCodeValue:q});null===Y.language&&(Y.value=q);var X=A(Y,I,D,g,b,S,Y.value.length+S,w,x);return s.createElement(F,K,s.createElement(B,c,!b&&j,P({rows:X,stylesheet:a,useInlineStyles:d})))});N.supportedLanguages=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];const x=N},89739:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r={'code[class*="language-"]':{color:"#e3eaf2",background:"none",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#e3eaf2",background:"#111b27",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace',textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{background:"#3c526d"},'pre[class*="language-"] ::-moz-selection':{background:"#3c526d"},'code[class*="language-"]::-moz-selection':{background:"#3c526d"},'code[class*="language-"] ::-moz-selection':{background:"#3c526d"},'pre[class*="language-"]::selection':{background:"#3c526d"},'pre[class*="language-"] ::selection':{background:"#3c526d"},'code[class*="language-"]::selection':{background:"#3c526d"},'code[class*="language-"] ::selection':{background:"#3c526d"},':not(pre) > code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},340:(e,t,n)=>{"use strict";n.d(t,{OK:()=>D,td:()=>O,x4:()=>B,mQ:()=>A});var r=n(67294);function i(e){return function(t){return!!t.type&&t.type.tabsRole===e}}var a=i("Tab"),o=i("TabList"),s=i("TabPanel");function l(){return l=Object.assign||function(e){for(var t=1;t=this.getTabsCount())){var n=this.props;(0,n.onSelect)(e,n.selectedIndex,t)}},l.getNextTab=function(e){for(var t=this.getTabsCount(),n=e+1;ne;)if(!S(this.getTab(t)))return t;return e},l.getFirstTab=function(){for(var e=this.getTabsCount(),t=0;t=0||(i[n]=e[n]);return i}(t,h));return r.createElement("div",b({},a,{className:(0,p.Z)(n),onClick:this.handleClick,onKeyDown:this.handleKeyDown,ref:function(t){e.node=t,i&&i(t)},"data-rttabs":!0}),this.getChildren())},i}(r.Component);k.defaultProps={className:"react-tabs",focus:!1},k.propTypes={};var T=["children","defaultIndex","defaultFocus"];function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}var A=function(e){var t,n;function i(t){var n;return(n=e.call(this,t)||this).handleSelected=function(e,t,r){var i=n.props.onSelect,a=n.state.mode;if("function"!=typeof i||!1!==i(e,t,r)){var o={focus:"keydown"===r.type};1===a&&(o.selectedIndex=e),n.setState(o)}},n.state=i.copyPropsToState(n.props,{},t.defaultFocus),n}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,w(t,n),i.getDerivedStateFromProps=function(e,t){return i.copyPropsToState(e,t)},i.getModeFromProps=function(e){return null===e.selectedIndex?1:0},i.copyPropsToState=function(e,t,n){void 0===n&&(n=!1);var r={focus:n,mode:i.getModeFromProps(e)};if(1===r.mode){var a=Math.max(0,g(e.children)-1),o=null;o=null!=t.selectedIndex?Math.min(t.selectedIndex,a):e.defaultIndex||0,r.selectedIndex=o}return r},i.prototype.render=function(){var e=this.props,t=e.children,n=(e.defaultIndex,e.defaultFocus,function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r=0||(i[n]=e[n]);return i}(e,T)),i=this.state,a=i.focus,o=i.selectedIndex;return n.focus=a,n.onSelect=this.handleSelected,null!=o&&(n.selectedIndex=o),r.createElement(k,n,t)},i}(r.Component);A.defaultProps={defaultFocus:!1,forceRenderTabPanel:!1,selectedIndex:null,defaultIndex:null,environment:null,disableUpDownKeys:!1},A.propTypes={},A.tabsRole="Tabs";var R=["children","className"];function C(){return C=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,R);return r.createElement("ul",C({},i,{className:(0,p.Z)(n),role:"tablist"}),t)},i}(r.Component);O.defaultProps={className:"react-tabs__tab-list"},O.propTypes={},O.tabsRole="TabList";var _=["children","className","disabled","disabledClassName","focus","id","panelId","selected","selectedClassName","tabIndex","tabRef"];function N(){return N=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(n,_);return r.createElement("li",N({},m,{className:(0,p.Z)(a,(e={},e[d]=c,e[s]=o,e)),ref:function(e){t.node=e,g&&g(e)},role:"tab",id:l,"aria-selected":c?"true":"false","aria-disabled":o?"true":"false","aria-controls":u,tabIndex:f||(c?"0":null),"data-rttab":!0}),i)},i}(r.Component);D.defaultProps={className:L,disabledClassName:L+"--disabled",focus:!1,id:null,panelId:null,selected:!1,selectedClassName:L+"--selected"},D.propTypes={},D.tabsRole="Tab";var P=["children","className","forceRender","id","selected","selectedClassName","tabId"];function M(){return M=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(t,P);return r.createElement("div",M({},c,{className:(0,p.Z)(i,(e={},e[l]=s,e)),role:"tabpanel",id:o,"aria-labelledby":u}),a||s?n:null)},i}(r.Component);B.defaultProps={className:U,forceRender:!1,selectedClassName:"react-tabs__tab-panel--selected"},B.propTypes={},B.tabsRole="TabPanel"},11215:(e,t,n)=>{"use strict";var r,i,a="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(i=(r="Prism"in a)?a.Prism:void 0,function(){r?a.Prism=i:delete a.Prism,r=void 0,i=void 0});a.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),u=n(59216),c=n(2717),p=n(12049),d=n(29726),f=n(36155);o();var g={}.hasOwnProperty;function m(){}m.prototype=u;var h=new m;function b(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===h.languages[e.displayName]&&e(h)}e.exports=h,h.highlight=function(e,t){var n,r=u.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===h.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!g.call(h.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=h.languages[t]}return r.call(this,e,n,t)},h.register=b,h.alias=function(e,t){var n,r,i,a,o=h.languages,s=e;t&&((s={})[e]=t);for(n in s)for(r=s[n],i=(r="string"==typeof r?[r]:r).length,a=-1;++a{"use strict";var r=n(11215);e.exports=r,r.register(n(36167)),r.register(n(68313)),r.register(n(5199)),r.register(n(89693)),r.register(n(24001)),r.register(n(18018)),r.register(n(36363)),r.register(n(34764)),r.register(n(10433)),r.register(n(84039)),r.register(n(71336)),r.register(n(4481)),r.register(n(2159)),r.register(n(60274)),r.register(n(18738)),r.register(n(58572)),r.register(n(28937)),r.register(n(78734)),r.register(n(6681)),r.register(n(53358)),r.register(n(81700)),r.register(n(37219)),r.register(n(6979)),r.register(n(46241)),r.register(n(94781)),r.register(n(62260)),r.register(n(36153)),r.register(n(59258)),r.register(n(62890)),r.register(n(15958)),r.register(n(61321)),r.register(n(77856)),r.register(n(90741)),r.register(n(83410)),r.register(n(65806)),r.register(n(33039)),r.register(n(85082)),r.register(n(79415)),r.register(n(62849)),r.register(n(55773)),r.register(n(32762)),r.register(n(43576)),r.register(n(71794)),r.register(n(1315)),r.register(n(80096)),r.register(n(99176)),r.register(n(61958)),r.register(n(90312)),r.register(n(65447)),r.register(n(4762)),r.register(n(78090)),r.register(n(40315)),r.register(n(7902)),r.register(n(28651)),r.register(n(55579)),r.register(n(93685)),r.register(n(13934)),r.register(n(93336)),r.register(n(13294)),r.register(n(38223)),r.register(n(97266)),r.register(n(80636)),r.register(n(36500)),r.register(n(30296)),r.register(n(50115)),r.register(n(20791)),r.register(n(11974)),r.register(n(8645)),r.register(n(84790)),r.register(n(4502)),r.register(n(66055)),r.register(n(34668)),r.register(n(95126)),r.register(n(90618)),r.register(n(63128)),r.register(n(37225)),r.register(n(16725)),r.register(n(95559)),r.register(n(82114)),r.register(n(6806)),r.register(n(12208)),r.register(n(62728)),r.register(n(81549)),r.register(n(6024)),r.register(n(13600)),r.register(n(3322)),r.register(n(53877)),r.register(n(60794)),r.register(n(20222)),r.register(n(51519)),r.register(n(94055)),r.register(n(43826)),r.register(n(29536)),r.register(n(82834)),r.register(n(58090)),r.register(n(95121)),r.register(n(59904)),r.register(n(9436)),r.register(n(60591)),r.register(n(76942)),r.register(n(60561)),r.register(n(49660)),r.register(n(30615)),r.register(n(84071)),r.register(n(51078)),r.register(n(91178)),r.register(n(40011)),r.register(n(12017)),r.register(n(65175)),r.register(n(14970)),r.register(n(30764)),r.register(n(87624)),r.register(n(15909)),r.register(n(36553)),r.register(n(9858)),r.register(n(11223)),r.register(n(57957)),r.register(n(66604)),r.register(n(77935)),r.register(n(46155)),r.register(n(47359)),r.register(n(25319)),r.register(n(45950)),r.register(n(50235)),r.register(n(80963)),r.register(n(79358)),r.register(n(96412)),r.register(n(39259)),r.register(n(32409)),r.register(n(35760)),r.register(n(19715)),r.register(n(27614)),r.register(n(82819)),r.register(n(42876)),r.register(n(2980)),r.register(n(41701)),r.register(n(42491)),r.register(n(34927)),r.register(n(3848)),r.register(n(41469)),r.register(n(73070)),r.register(n(35049)),r.register(n(8789)),r.register(n(59803)),r.register(n(86328)),r.register(n(33055)),r.register(n(90542)),r.register(n(93205)),r.register(n(27992)),r.register(n(91115)),r.register(n(606)),r.register(n(68582)),r.register(n(23388)),r.register(n(90596)),r.register(n(95721)),r.register(n(64262)),r.register(n(18190)),r.register(n(70896)),r.register(n(42242)),r.register(n(37943)),r.register(n(293)),r.register(n(83873)),r.register(n(75932)),r.register(n(60221)),r.register(n(44188)),r.register(n(74426)),r.register(n(88447)),r.register(n(16032)),r.register(n(33607)),r.register(n(22001)),r.register(n(22950)),r.register(n(23254)),r.register(n(92694)),r.register(n(43273)),r.register(n(60718)),r.register(n(39303)),r.register(n(77393)),r.register(n(19023)),r.register(n(74212)),r.register(n(5137)),r.register(n(88262)),r.register(n(63632)),r.register(n(59149)),r.register(n(50256)),r.register(n(61777)),r.register(n(3623)),r.register(n(82707)),r.register(n(59338)),r.register(n(56267)),r.register(n(98809)),r.register(n(37548)),r.register(n(82161)),r.register(n(80625)),r.register(n(88393)),r.register(n(78404)),r.register(n(92923)),r.register(n(52992)),r.register(n(55762)),r.register(n(4137)),r.register(n(28260)),r.register(n(71360)),r.register(n(29308)),r.register(n(32168)),r.register(n(5755)),r.register(n(54105)),r.register(n(93503)),r.register(n(35108)),r.register(n(46678)),r.register(n(47496)),r.register(n(30527)),r.register(n(5261)),r.register(n(56939)),r.register(n(83648)),r.register(n(16009)),r.register(n(41720)),r.register(n(6054)),r.register(n(9997)),r.register(n(24296)),r.register(n(49246)),r.register(n(18890)),r.register(n(11037)),r.register(n(64020)),r.register(n(49760)),r.register(n(33351)),r.register(n(13570)),r.register(n(38181)),r.register(n(98774)),r.register(n(22855)),r.register(n(29611)),r.register(n(11114)),r.register(n(67386)),r.register(n(28067)),r.register(n(49168)),r.register(n(23651)),r.register(n(21483)),r.register(n(32268)),r.register(n(2329)),r.register(n(82996)),r.register(n(17290)),r.register(n(67989)),r.register(n(31065)),r.register(n(85572)),r.register(n(27536)),r.register(n(87041)),r.register(n(61028)),r.register(n(24691)),r.register(n(19892)),r.register(n(4979)),r.register(n(23159)),r.register(n(34966)),r.register(n(44623)),r.register(n(38521)),r.register(n(7255)),r.register(n(28173)),r.register(n(53813)),r.register(n(46891)),r.register(n(91824)),r.register(n(9447)),r.register(n(53062)),r.register(n(46215)),r.register(n(10784)),r.register(n(17684)),r.register(n(64851)),r.register(n(18191)),r.register(n(75242)),r.register(n(93639)),r.register(n(97202)),r.register(n(13808)),r.register(n(21301)),r.register(n(20349)),r.register(n(65039)),r.register(n(96319)),r.register(n(31501))},36167:e=>{"use strict";function t(e){e.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:e=>{"use strict";function t(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}(e)}e.exports=t,t.displayName="abnf",t.aliases=[]},5199:e=>{"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:e=>{"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:e=>{"use strict";function t(e){!function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}\u2983\u2984.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:\u2200\u2192\u03bb\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}(e)}e.exports=t,t.displayName="agda",t.aliases=[]},18018:e=>{"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:e=>{"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},34764:e=>{"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:(e,t,n)=>{"use strict";var r=n(11114);function i(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,(function(){return t.source}));function r(e){return RegExp(e.replace(//g,(function(){return n})),"i")}var i={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:i},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:i},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:i}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=i,i.displayName="apex",i.aliases=[]},84039:e=>{"use strict";function t(e){e.languages.apl={comment:/(?:\u235d|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/\xaf?(?:\d*\.?\b\d+(?:e[+\xaf]?\d+)?|\xaf|\u221e)(?:j\xaf?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+\xaf]?\d+)?|\xaf|\u221e))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/\u2395[A-Z]+/i,alias:"function"},constant:/[\u236c\u233e#\u2395\u235e]/,function:/[-+\xd7\xf7\u2308\u230a\u2223|\u2373\u2378?*\u235f\u25cb!\u2339<\u2264=>\u2265\u2260\u2261\u2262\u220a\u2377\u222a\u2229~\u2228\u2227\u2371\u2372\u2374,\u236a\u233d\u2296\u2349\u2191\u2193\u2282\u2283\u2286\u2287\u2337\u234b\u2352\u22a4\u22a5\u2355\u234e\u22a3\u22a2\u2341\u2342\u2248\u236f\u2197\xa4\u2192]/,"monadic-operator":{pattern:/[\\\/\u233f\u2340\xa8\u2368\u2336&\u2225]/,alias:"operator"},"dyadic-operator":{pattern:/[.\u2363\u2360\u2364\u2218\u2338@\u233a\u2365]/,alias:"operator"},assignment:{pattern:/\u2190/,alias:"keyword"},punctuation:/[\[;\]()\u25c7\u22c4]/,dfn:{pattern:/[{}\u237a\u2375\u2376\u2379\u2207\u236b:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:e=>{"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=\u2260\u2264\u2265*+\-\/\xf7^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,\xac\xab\xbb\u300a\u300b]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:e=>{"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'\xb4`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([\xb4`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:(e,t,n)=>{"use strict";var r=n(80096);function i(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=i,i.displayName="arduino",i.aliases=["ino"]},60274:e=>{"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:e=>{"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){for(var t={},r=0,i=(e=e.split(" ")).length;r{"use strict";function t(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|TXA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}e.exports=t,t.displayName="asm6502",t.aliases=[]},28937:e=>{"use strict";function t(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:(e,t,n)=>{"use strict";var r=n(61958);function i(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=i,i.displayName="aspnet",i.aliases=[]},6681:e=>{"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:e=>{"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:e=>{"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return t[+n]}))}(e,t),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:e=>{"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:e=>{"use strict";function t(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],a=r.variable[1].inside,o=0;o{"use strict";function t(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:e=>{"use strict";function t(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}e.exports=t,t.displayName="batch",t.aliases=[]},62260:e=>{"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:e=>{"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:e=>{"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=i,i.displayName="bison",i.aliases=[]},15958:e=>{"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:e=>{"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:e=>{"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:e=>{"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:e=>{"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\u043f\u043e\u043a\u0430|\u0434\u043b\u044f|\u043d\u043e\u0432\u044b\u0439|\u043f\u0440\u0435\u0440\u0432\u0430\u0442\u044c|\u043f\u043e\u043f\u044b\u0442\u043a\u0430|\u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435|\u0432\u044b\u0437\u0432\u0430\u0442\u044c\u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435|\u0438\u043d\u0430\u0447\u0435|\u043a\u043e\u043d\u0435\u0446\u043f\u043e\u043f\u044b\u0442\u043a\u0438|\u043d\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e|\u0444\u0443\u043d\u043a\u0446\u0438\u044f|\u043f\u0435\u0440\u0435\u043c|\u0432\u043e\u0437\u0432\u0440\u0430\u0442|\u043a\u043e\u043d\u0435\u0446\u0444\u0443\u043d\u043a\u0446\u0438\u0438|\u0435\u0441\u043b\u0438|\u0438\u043d\u0430\u0447\u0435\u0435\u0441\u043b\u0438|\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430|\u043a\u043e\u043d\u0435\u0446\u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b|\u0442\u043e\u0433\u0434\u0430|\u0437\u043d\u0430\u0447|\u044d\u043a\u0441\u043f\u043e\u0440\u0442|\u043a\u043e\u043d\u0435\u0446\u0435\u0441\u043b\u0438|\u0438\u0437|\u043a\u0430\u0436\u0434\u043e\u0433\u043e|\u0438\u0441\u0442\u0438\u043d\u0430|\u043b\u043e\u0436\u044c|\u043f\u043e|\u0446\u0438\u043a\u043b|\u043a\u043e\u043d\u0435\u0446\u0446\u0438\u043a\u043b\u0430|\u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\u0438|\u0438\u043b\u0438|\u043d\u0435)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:e=>{"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:e=>{"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:(e,t,n)=>{"use strict";var r=n(80096);function i(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=i,i.displayName="chaiscript",i.aliases=[]},79415:e=>{"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:e=>{"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:e=>{"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:e=>{"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:e=>{"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:e=>{"use strict";function t(e){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:e=>{"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:e=>{"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,(function(){return t}))),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(e)}e.exports=i,i.displayName="cpp",i.aliases=[]},99176:(e,t,n)=>{"use strict";var r=n(56939);function i(e){e.register(r),function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(e)}e.exports=i,i.displayName="crystal",i.aliases=[]},61958:e=>{"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}var i="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",a="class enum interface record struct",o="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(a),c=RegExp(l(i+" "+a+" "+o+" "+s)),p=l(a+" "+o+" "+s),d=l(i+" "+a+" "+s),f=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),g=r(/\((?:[^()]|<>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,h=t(/<<0>>(?:\s*<<1>>)?/.source,[m,f]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[p,h]),y=/\[\s*(?:,\s*)*\]/.source,E=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,y]),v=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,g,y]),S=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[v]),k=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,b,y]),T={keyword:c,punctuation:/[<>()?,.:[\]]/},w=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,R=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,k]),lookbehind:!0,inside:T},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,h]),lookbehind:!0,inside:T},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:T},{pattern:n(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[E]),lookbehind:!0,inside:T},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[k,d,m]),inside:T}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[g]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[k,b]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[k]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,f]),inside:{function:n(/^<<0>>/.source,[m]),generic:{pattern:RegExp(f),alias:"class-name",inside:T}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,h,m,k,c.source,g,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,g]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(k),greedy:!0,inside:T},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var C=A+"|"+w,I=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[C]),O=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,N=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,O]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,N]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[O]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var x=/:[^}\r\n]+/.source,L=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[I]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,x]),P=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[C]),2),M=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,x]);function F(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,x]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:F(D,L)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:F(M,P)}],char:{pattern:RegExp(w),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:(e,t,n)=>{"use strict";var r=n(61958);function i(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var i=0;i/g,(function(){return"(?:"+e+")"}));return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var i=r(/\((?:[^()'"@/]|||)*\)/.source,2),a=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,u=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,c=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+u+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/{"use strict";function t(e){!function(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}(e)}e.exports=t,t.displayName="csp",t.aliases=[]},4762:e=>{"use strict";function t(e){!function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:i})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:e=>{"use strict";function t(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}e.exports=t,t.displayName="css",t.aliases=[]},78090:e=>{"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:e=>{"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:e=>{"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:e=>{"use strict";function t(e){!function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}e.exports=t,t.displayName="dart",t.aliases=[]},55579:e=>{"use strict";function t(e){!function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}(e)}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:e=>{"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:e=>{"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:e=>{"use strict";function t(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],i=[];/^\w+$/.test(n)||i.push(/\w+/.exec(n)[0]),"diff"===n&&i.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}e.exports=t,t.displayName="diff",t.aliases=[]},13294:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"django",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"django")})),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",(function(e){n.buildPlaceholders(e,"jinja2",t)})),e.hooks.add("after-tokenize",(function(e){n.tokenizePlaceholders(e,"jinja2")}))}(e)}e.exports=i,i.displayName="django",i.aliases=["jinja2"]},38223:e=>{"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:e=>{"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,(function(){return t})),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,(function(){return r})),a={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(//g,(function(){return i})).replace(//g,(function(){return n})),RegExp(e,t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[a,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:a,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},80636:e=>{"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,(function(){return t})),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:e=>{"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:e=>{"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:e=>{"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")})),e.languages.eta=e.languages.ejs}(e)}e.exports=i,i.displayName="ejs",i.aliases=["eta"]},11974:e=>{"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach((function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}}))}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:e=>{"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:(e,t,n)=>{"use strict";var r=n(56939),i=n(93205);function a(e){e.register(r),e.register(i),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")}))}(e)}e.exports=a,a.displayName="erb",a.aliases=[]},4502:e=>{"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:(e,t,n)=>{"use strict";var r=n(59803),i=n(93205);function a(e){e.register(r),e.register(i),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")}))}(e)}e.exports=a,a.displayName="etlua",a.aliases=[]},34668:e=>{"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:e=>{"use strict";function t(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},i=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},a=function(e){return new RegExp("(^|\\s)(?:"+e.map(i).join("|")+")(?=\\s|$)")},o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(o).forEach((function(e){r[e].pattern=a(o[e])}));r.combinators.pattern=a(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}(e)}e.exports=t,t.displayName="factor",t.aliases=[]},90618:e=>{"use strict";function t(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~\xdf\xf8]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[(){"use strict";function t(e){e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:e=>{"use strict";function t(e){!function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}e.exports=t,t.displayName="flow",t.aliases=[]},16725:e=>{"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:e=>{"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,(function(){return t}))),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,(function(){return t}))),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",(function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,(function(){return t})),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")}))}(e)}e.exports=i,i.displayName="ftl",i.aliases=[]},6806:e=>{"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:e=>{"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:e=>{"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:e=>{"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:e=>{"use strict";function t(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Caracter\xedstica|Egenskab|Egenskap|Eiginleiki|Feature|F\u012b\u010da|Fitur|Fonctionnalit\xe9|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Func\u0163ionalitate|Func\u021bionalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalit\u0101te|Funkcionalnost|Funkcja|Funksie|Funktionalit\xe4t|Funktionalit\xe9it|Funzionalit\xe0|Hwaet|Hw\xe6t|Jellemz\u0151|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogu\u0107nost|Moznosti|Mo\u017enosti|OH HAI|Omadus|Ominaisuus|Osobina|\xd6zellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Po\u017eadavek|Po\u017eiadavka|Pretty much|Qap|Qu'meH 'ut|Savyb\u0117|T\xednh n\u0103ng|Trajto|Vermo\xeb|Vlastnos\u0165|W\u0142a\u015bciwo\u015b\u0107|Zna\u010dilnost|\u0394\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1|\u039b\u03b5\u03b9\u03c4\u03bf\u03c5\u03c1\u03b3\u03af\u03b1|\u041c\u043e\u0433\u0443\u045b\u043d\u043e\u0441\u0442|\u041c\u04e9\u043c\u043a\u0438\u043d\u043b\u0435\u043a|\u041e\u0441\u043e\u0431\u0438\u043d\u0430|\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e|\u04ae\u0437\u0435\u043d\u0447\u04d9\u043b\u0435\u043a\u043b\u0435\u043b\u0435\u043a|\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b|\u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043d\u043e\u0441\u0442|\u0424\u0443\u043d\u043a\u0446\u0438\u044f|\u0424\u0443\u043d\u043a\u0446\u0456\u043e\u043d\u0430\u043b|\u05ea\u05db\u05d5\u05e0\u05d4|\u062e\u0627\u0635\u064a\u0629|\u062e\u0635\u0648\u0635\u06cc\u062a|\u0635\u0644\u0627\u062d\u06cc\u062a|\u06a9\u0627\u0631\u0648\u0628\u0627\u0631 \u06a9\u06cc \u0636\u0631\u0648\u0631\u062a|\u0648\u0650\u06cc\u0698\u06af\u06cc|\u0930\u0942\u092a \u0932\u0947\u0916|\u0a16\u0a3e\u0a38\u0a40\u0a05\u0a24|\u0a28\u0a15\u0a36 \u0a28\u0a41\u0a39\u0a3e\u0a30|\u0a2e\u0a41\u0a39\u0a3e\u0a02\u0a26\u0a30\u0a3e|\u0c17\u0c41\u0c23\u0c2e\u0c41|\u0cb9\u0cc6\u0c9a\u0ccd\u0c9a\u0cb3|\u0e04\u0e27\u0e32\u0e21\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e17\u0e32\u0e07\u0e18\u0e38\u0e23\u0e01\u0e34\u0e08|\u0e04\u0e27\u0e32\u0e21\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16|\u0e42\u0e04\u0e23\u0e07\u0e2b\u0e25\u0e31\u0e01|\uae30\ub2a5|\u30d5\u30a3\u30fc\u30c1\u30e3|\u529f\u80fd|\u6a5f\u80fd):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|\xc6r|Agtergrond|All y'all|Antecedentes|Antecedents|Atbur\xf0ar\xe1s|Atbur\xf0ar\xe1sir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|B\u1ed1i c\u1ea3nh|Cefndir|Cenario|Cen\xe1rio|Cenario de Fundo|Cen\xe1rio de Fundo|Cenarios|Cen\xe1rios|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|D\xe6mi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delinea\xe7\xe3o do Cen\xe1rio|Dis is what went down|D\u1eef li\u1ec7u|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cen\xe1rio|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgat\xf3k\xf6nyv|Forgat\xf3k\xf6nyv v\xe1zlat|Fundo|Ge\xe7mi\u015f|Grundlage|Hannergrond|ghantoH|H\xe1tt\xe9r|Heave to|Istorik|Juhtumid|Keadaan|Khung k\u1ecbch b\u1ea3n|Khung t\xecnh hu\u1ed1ng|K\u1ecbch b\u1ea3n|Koncept|Konsep skenario|Kont\xe8ks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|L\xfdsing Atbur\xf0ar\xe1sar|L\xfdsing D\xe6ma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|N\xe1\u010drt Scen\xe1ra|N\xe1\u010drt Sc\xe9n\xe1\u0159e|N\xe1\u010drt Scen\xe1ru|Oris scenarija|\xd6rnekler|Osnova|Osnova Scen\xe1ra|Osnova sc\xe9n\xe1\u0159e|Osnutek|Ozadje|Paraugs|Pavyzd\u017eiai|P\xe9ld\xe1k|Piem\u0113ri|Plan du sc\xe9nario|Plan du Sc\xe9nario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozad\xed|Pozadie|Pozadina|Pr\xedklady|P\u0159\xedklady|Primer|Primeri|Primjeri|Przyk\u0142ady|Raamstsenaarium|Reckon it's like|Rerefons|Scen\xe1r|Sc\xe9n\xe1\u0159|Scenarie|Scenarij|Scenarijai|Scenarijaus \u0161ablonas|Scenariji|Scen\u0101rijs|Scen\u0101rijs p\u0113c parauga|Scenarijus|Scenario|Sc\xe9nario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se \xf0e|Se the|Se \xfee|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo tasla\u011f\u0131|Shiver me timbers|Situ\u0101cija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structur\u0103 scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hw\xe6r swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|T\xecnh hu\u1ed1ng|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Za\u0142o\u017cenia|\u03a0\u03b1\u03c1\u03b1\u03b4\u03b5\u03af\u03b3\u03bc\u03b1\u03c4\u03b1|\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae \u03a3\u03b5\u03bd\u03b1\u03c1\u03af\u03bf\u03c5|\u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03b1|\u03a3\u03b5\u03bd\u03ac\u03c1\u03b9\u03bf|\u03a5\u03c0\u03cc\u03b2\u03b1\u03b8\u03c1\u03bf|\u041a\u0435\u0440\u0435\u0448|\u041a\u043e\u043d\u0442\u0435\u043a\u0441\u0442|\u041a\u043e\u043d\u0446\u0435\u043f\u0442|\u041c\u0438\u0441\u0430\u043b\u043b\u0430\u0440|\u041c\u0438\u0441\u043e\u043b\u043b\u0430\u0440|\u041e\u0441\u043d\u043e\u0432\u0430|\u041f\u0435\u0440\u0435\u0434\u0443\u043c\u043e\u0432\u0430|\u041f\u043e\u0437\u0430\u0434\u0438\u043d\u0430|\u041f\u0440\u0435\u0434\u0438\u0441\u0442\u043e\u0440\u0438\u044f|\u041f\u0440\u0435\u0434\u044b\u0441\u0442\u043e\u0440\u0438\u044f|\u041f\u0440\u0438\u043a\u043b\u0430\u0434\u0438|\u041f\u0440\u0438\u043c\u0435\u0440|\u041f\u0440\u0438\u043c\u0435\u0440\u0438|\u041f\u0440\u0438\u043c\u0435\u0440\u044b|\u0420\u0430\u043c\u043a\u0430 \u043d\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439|\u0421\u043a\u0438\u0446\u0430|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0458\u0430|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f|\u0421\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u044e|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u0441\u0438|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0439\u043d\u044b\u04a3 \u0442\u04e9\u0437\u0435\u043b\u0435\u0448\u0435|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u0458\u0438|\u0421\u0446\u0435\u043d\u0430\u0440\u0438\u043e|\u0421\u0446\u0435\u043d\u0430\u0440\u0456\u0439|\u0422\u0430\u0440\u0438\u0445|\u04ae\u0440\u043d\u04d9\u043a\u043b\u04d9\u0440|\u05d3\u05d5\u05d2\u05de\u05d0\u05d5\u05ea|\u05e8\u05e7\u05e2|\u05ea\u05d1\u05e0\u05d9\u05ea \u05ea\u05e8\u05d7\u05d9\u05e9|\u05ea\u05e8\u05d7\u05d9\u05e9|\u0627\u0644\u062e\u0644\u0641\u064a\u0629|\u0627\u0644\u06af\u0648\u06cc \u0633\u0646\u0627\u0631\u06cc\u0648|\u0627\u0645\u062b\u0644\u0629|\u067e\u0633 \u0645\u0646\u0638\u0631|\u0632\u0645\u06cc\u0646\u0647|\u0633\u0646\u0627\u0631\u06cc\u0648|\u0633\u064a\u0646\u0627\u0631\u064a\u0648|\u0633\u064a\u0646\u0627\u0631\u064a\u0648 \u0645\u062e\u0637\u0637|\u0645\u062b\u0627\u0644\u06cc\u06ba|\u0645\u0646\u0638\u0631 \u0646\u0627\u0645\u06d2 \u06a9\u0627 \u062e\u0627\u06a9\u06c1|\u0645\u0646\u0638\u0631\u0646\u0627\u0645\u06c1|\u0646\u0645\u0648\u0646\u0647 \u0647\u0627|\u0909\u0926\u093e\u0939\u0930\u0923|\u092a\u0930\u093f\u0926\u0943\u0936\u094d\u092f|\u092a\u0930\u093f\u0926\u0943\u0936\u094d\u092f \u0930\u0942\u092a\u0930\u0947\u0916\u093e|\u092a\u0943\u0937\u094d\u0920\u092d\u0942\u092e\u093f|\u0a09\u0a26\u0a3e\u0a39\u0a30\u0a28\u0a3e\u0a02|\u0a2a\u0a1f\u0a15\u0a25\u0a3e|\u0a2a\u0a1f\u0a15\u0a25\u0a3e \u0a22\u0a3e\u0a02\u0a1a\u0a3e|\u0a2a\u0a1f\u0a15\u0a25\u0a3e \u0a30\u0a42\u0a2a \u0a30\u0a47\u0a16\u0a3e|\u0a2a\u0a3f\u0a1b\u0a4b\u0a15\u0a5c|\u0c09\u0c26\u0c3e\u0c39\u0c30\u0c23\u0c32\u0c41|\u0c15\u0c25\u0c28\u0c02|\u0c28\u0c47\u0c2a\u0c25\u0c4d\u0c2f\u0c02|\u0c38\u0c28\u0c4d\u0c28\u0c3f\u0c35\u0c47\u0c36\u0c02|\u0c89\u0ca6\u0cbe\u0cb9\u0cb0\u0ca3\u0cc6\u0c97\u0cb3\u0cc1|\u0c95\u0ca5\u0cbe\u0cb8\u0cbe\u0cb0\u0cbe\u0c82\u0cb6|\u0cb5\u0cbf\u0cb5\u0cb0\u0ca3\u0cc6|\u0cb9\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6\u0cb2\u0cc6|\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e2d\u0e07\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e0a\u0e38\u0e14\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07|\u0e0a\u0e38\u0e14\u0e02\u0e2d\u0e07\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e41\u0e19\u0e27\u0e04\u0e34\u0e14|\u0e2a\u0e23\u0e38\u0e1b\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\u0e40\u0e2b\u0e15\u0e38\u0e01\u0e32\u0e23\u0e13\u0e4c|\ubc30\uacbd|\uc2dc\ub098\ub9ac\uc624|\uc2dc\ub098\ub9ac\uc624 \uac1c\uc694|\uc608|\u30b5\u30f3\u30d7\u30eb|\u30b7\u30ca\u30ea\u30aa|\u30b7\u30ca\u30ea\u30aa\u30a2\u30a6\u30c8\u30e9\u30a4\u30f3|\u30b7\u30ca\u30ea\u30aa\u30c6\u30f3\u30d7\u30ec|\u30b7\u30ca\u30ea\u30aa\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8|\u30c6\u30f3\u30d7\u30ec|\u4f8b|\u4f8b\u5b50|\u5267\u672c|\u5267\u672c\u5927\u7eb2|\u5287\u672c|\u5287\u672c\u5927\u7db1|\u573a\u666f|\u573a\u666f\u5927\u7eb2|\u5834\u666f|\u5834\u666f\u5927\u7db1|\u80cc\u666f):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A tak\xe9|A taktie\u017e|A tie\u017e|A z\xe1rove\u0148|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|At\xe8s|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Bi\u1ebft|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|C\xe2nd|Cand|Cando|Ce|Cuando|\u010ce|\xd0a \xf0e|\xd0a|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Da\u0163i fiind|Da\u021bi fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donita\u0135o|Do|Dun|Duota|\xd0urh|Eeldades|Ef|E\u011fer ki|Entao|Ent\xe3o|Ent\xf3n|E|En|Entonces|Epi|\xc9s|Etant donn\xe9e|Etant donn\xe9|Et|\xc9tant donn\xe9es|\xc9tant donn\xe9e|\xc9tant donn\xe9|Etant donn\xe9es|Etant donn\xe9s|\xc9tant donn\xe9s|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Je\u015bli|Je\u017celi|Kad|Kada|Kadar|Kai|Kaj|Kdy\u017e|Ke\u010f|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|L\xe8 sa a|L\xe8|Logo|Lorsqu'<|Lorsque|m\xe4|Maar|Mais|Maj\u0105c|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|N\xe5r|N\xe4r|Nato|Nh\u01b0ng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Per\xf2|Podano|Pokia\u013e|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|S\xe5|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|\u015ei|\u0218i|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Th\xec|Thurh|Toda|Too right|Un|Und|ugeholl|V\xe0|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za p\u0159edpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zak\u0142adaj\u0105c|Zaradi|Zatati|\xdea \xfee|\xdea|\xde\xe1|\xdeegar|\xdeurh|\u0391\u03bb\u03bb\u03ac|\u0394\u03b5\u03b4\u03bf\u03bc\u03ad\u03bd\u03bf\u03c5|\u039a\u03b1\u03b9|\u038c\u03c4\u03b1\u03bd|\u03a4\u03cc\u03c4\u03b5|\u0410 \u0442\u0430\u043a\u043e\u0436|\u0410\u0433\u0430\u0440|\u0410\u043b\u0435|\u0410\u043b\u0438|\u0410\u043c\u043c\u043e|\u0410|\u04d8\u0433\u04d9\u0440|\u04d8\u0439\u0442\u0438\u043a|\u04d8\u043c\u043c\u0430|\u0411\u0438\u0440\u043e\u043a|\u0412\u0430|\u0412\u04d9|\u0414\u0430\u0434\u0435\u043d\u043e|\u0414\u0430\u043d\u043e|\u0414\u043e\u043f\u0443\u0441\u0442\u0438\u043c|\u0415\u0441\u043b\u0438|\u0417\u0430\u0434\u0430\u0442\u0435|\u0417\u0430\u0434\u0430\u0442\u0438|\u0417\u0430\u0434\u0430\u0442\u043e|\u0418|\u0406|\u041a \u0442\u043e\u043c\u0443 \u0436\u0435|\u041a\u0430\u0434\u0430|\u041a\u0430\u0434|\u041a\u043e\u0433\u0430\u0442\u043e|\u041a\u043e\u0433\u0434\u0430|\u041a\u043e\u043b\u0438|\u041b\u04d9\u043a\u0438\u043d|\u041b\u0435\u043a\u0438\u043d|\u041d\u04d9\u0442\u0438\u0497\u04d9\u0434\u04d9|\u041d\u0435\u0445\u0430\u0439|\u041d\u043e|\u041e\u043d\u0434\u0430|\u041f\u0440\u0438\u043f\u0443\u0441\u0442\u0438\u043c\u043e, \u0449\u043e|\u041f\u0440\u0438\u043f\u0443\u0441\u0442\u0438\u043c\u043e|\u041f\u0443\u0441\u0442\u044c|\u0422\u0430\u043a\u0436\u0435|\u0422\u0430|\u0422\u043e\u0433\u0434\u0430|\u0422\u043e\u0434\u0456|\u0422\u043e|\u0423\u043d\u0434\u0430|\u04ba\u04d9\u043c|\u042f\u043a\u0449\u043e|\u05d0\u05d1\u05dc|\u05d0\u05d6\u05d9|\u05d0\u05d6|\u05d1\u05d4\u05d9\u05e0\u05ea\u05df|\u05d5\u05d2\u05dd|\u05db\u05d0\u05e9\u05e8|\u0622\u0646\u06af\u0627\u0647|\u0627\u0630\u0627\u064b|\u0627\u06af\u0631|\u0627\u0645\u0627|\u0627\u0648\u0631|\u0628\u0627 \u0641\u0631\u0636|\u0628\u0627\u0644\u0641\u0631\u0636|\u0628\u0641\u0631\u0636|\u067e\u06be\u0631|\u062a\u0628|\u062b\u0645|\u062c\u0628|\u0639\u0646\u062f\u0645\u0627|\u0641\u0631\u0636 \u06a9\u06cc\u0627|\u0644\u0643\u0646|\u0644\u06cc\u06a9\u0646|\u0645\u062a\u0649|\u0647\u0646\u06af\u0627\u0645\u06cc|\u0648|\u0905\u0917\u0930|\u0914\u0930|\u0915\u0926\u093e|\u0915\u093f\u0928\u094d\u0924\u0941|\u091a\u0942\u0902\u0915\u093f|\u091c\u092c|\u0924\u0925\u093e|\u0924\u0926\u093e|\u0924\u092c|\u092a\u0930\u0928\u094d\u0924\u0941|\u092a\u0930|\u092f\u0926\u093f|\u0a05\u0a24\u0a47|\u0a1c\u0a26\u0a4b\u0a02|\u0a1c\u0a3f\u0a35\u0a47\u0a02 \u0a15\u0a3f|\u0a1c\u0a47\u0a15\u0a30|\u0a24\u0a26|\u0a2a\u0a30|\u0c05\u0c2a\u0c4d\u0c2a\u0c41\u0c21\u0c41|\u0c08 \u0c2a\u0c30\u0c3f\u0c38\u0c4d\u0c25\u0c3f\u0c24\u0c3f\u0c32\u0c4b|\u0c15\u0c3e\u0c28\u0c3f|\u0c1a\u0c46\u0c2a\u0c4d\u0c2a\u0c2c\u0c21\u0c3f\u0c28\u0c26\u0c3f|\u0c2e\u0c30\u0c3f\u0c2f\u0c41|\u0c86\u0ca6\u0cb0\u0cc6|\u0ca8\u0c82\u0ca4\u0cb0|\u0ca8\u0cbf\u0cd5\u0ca1\u0cbf\u0ca6|\u0cae\u0ca4\u0ccd\u0ca4\u0cc1|\u0cb8\u0ccd\u0ca5\u0cbf\u0ca4\u0cbf\u0caf\u0ca8\u0ccd\u0ca8\u0cc1|\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49|\u0e14\u0e31\u0e07\u0e19\u0e31\u0e49\u0e19|\u0e41\u0e15\u0e48|\u0e40\u0e21\u0e37\u0e48\u0e2d|\u0e41\u0e25\u0e30|\uadf8\ub7ec\uba74<|\uadf8\ub9ac\uace0<|\ub2e8<|\ub9cc\uc57d<|\ub9cc\uc77c<|\uba3c\uc800<|\uc870\uac74<|\ud558\uc9c0\ub9cc<|\u304b\u3064<|\u3057\u304b\u3057<|\u305f\u3060\u3057<|\u306a\u3089\u3070<|\u3082\u3057<|\u4e26\u4e14<|\u4f46\u3057<|\u4f46\u662f<|\u5047\u5982<|\u5047\u5b9a<|\u5047\u8a2d<|\u5047\u8bbe<|\u524d\u63d0<|\u540c\u65f6<|\u540c\u6642<|\u5e76\u4e14<|\u5f53<|\u7576<|\u800c\u4e14<|\u90a3\u4e48<|\u90a3\u9ebc<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(e)}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:e=>{"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=i,i.displayName="glsl",i.aliases=[]},53877:e=>{"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:e=>{"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:e=>{"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:e=>{"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:e=>{"use strict";function t(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function p(e,t){t=t||0;for(var n=0;n{"use strict";function t(e){e.languages.groovy=e.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",(function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}}))}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:(e,t,n)=>{"use strict";var r=n(56939);function i(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,i=t.length;r{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(e)}e.exports=i,i.displayName="handlebars",i.aliases=["hbs"]},58090:e=>{"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:e=>{"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:e=>{"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=i,i.displayName="hlsl",i.aliases=[]},60591:e=>{"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:e=>{"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:e=>{"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:e=>{"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,i={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},a={"application/json":!0,"application/xml":!0};function o(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|"+("\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-])")+")"}for(var s in i)if(i[s]){n=n||{};var l=a[s]?o(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:i[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:e=>{"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},84071:e=>{"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:e=>{"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,(function(){return t(e,n-1)}))}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},i={pattern:n,greedy:!0,inside:{escape:r}},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,(function(){return n.source})),8),o={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":o,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":o,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:i},o.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:(e,t,n)=>{"use strict";var r=n(58090);function i(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=i,i.displayName="idris",i.aliases=["idr"]},40011:e=>{"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:e=>{"use strict";function t(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:e=>{"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:e=>{"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},30764:e=>{"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<{"use strict";function t(e){e.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:e=>{"use strict";function t(e){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,(function(){return t.source}))),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}e.exports=t,t.displayName="java",t.aliases=[]},36553:(e,t,n)=>{"use strict";var r=n(15909),i=n(9858);function a(e){e.register(r),e.register(i),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,(function(){return n}));e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(e)}e.exports=a,a.displayName="javadoc",a.aliases=[]},9858:e=>{"use strict";function t(e){!function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach((function(t){!function(t,n){var r="doc-comment",i=e.languages[t];if(i){var a=i[r];if(!a){var o={"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}};a=(i=e.languages.insertBefore(t,"comment",o))[r]}if(a instanceof RegExp&&(a=i[r]={pattern:a}),Array.isArray(a))for(var s=0,l=a.length;s{"use strict";function t(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:e=>{"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:e=>{"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Z\u0430-\u044f\u0410-\u042f_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\w\u0430-\u044f\u0410-\u042f\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Z\u0430-\u044f\u0410-\u042f_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\w\u0430-\u044f\u0410-\u042f\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:e=>{"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:e=>{"use strict";function t(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,(function(){return t}))),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};r.interpolation.inside.content.inside=i}(e)}e.exports=t,t.displayName="jq",t.aliases=[]},46155:e=>{"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r{"use strict";function t(e){!function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,i=r.inside["interpolation-punctuation"],a=r.pattern.source;function o(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var i={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",i),i.tokens=e.tokenize(i.code,i.grammar),e.hooks.run("after-tokenize",i),i.tokens}function u(t){var n={};n["interpolation-punctuation"]=i;var a=e.tokenize(t,n);if(3===a.length){var o=[1,1];o.push.apply(o,l(a[1],e.languages.javascript,"javascript")),a.splice.apply(a,o)}return new e.Token("interpolation",a,r.alias,t)}function c(t,n,r){var i=e.tokenize(t,{interpolation:{pattern:RegExp(a),lookbehind:!0}}),o=0,c={},p=l(i.map((function(e){if("string"==typeof e)return e;for(var n,i=e.content;-1!==t.indexOf(n=s(o++,r)););return c[n]=i,n})).join(""),n,r),d=Object.keys(c);return o=0,function e(t){for(var n=0;n=d.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var i=d[o],a="string"==typeof r?r:r.content,s=a.indexOf(i);if(-1!==s){++o;var l=a.substring(0,s),p=u(c[i]),f=a.substring(s+i.length),g=[];if(l&&g.push(l),g.push(p),f){var m=[f];e(m),g.push.apply(g,m)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(g)),n+=g.length-1):r.content=g}}else{var h=r.content;Array.isArray(h)?e(h):e([h])}}}(p),new e.Token(r,p,"language-"+r,t)}e.languages.javascript["template-string"]=[o("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),o("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),o("svg",/\bsvg/.source),o("markdown",/\b(?:markdown|md)/.source),o("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),o("sql",/\bsql/.source),t].filter(Boolean);var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function d(e){return"string"==typeof e?e:Array.isArray(e)?e.map(d).join(""):d(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in p&&function t(n){for(var r=0,i=n.length;r{"use strict";var r=n(9858),i=n(4979);function a(e){e.register(r),e.register(i),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(e)}e.exports=a,a.displayName="jsdoc",a.aliases=[]},45950:e=>{"use strict";function t(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:(e,t,n)=>{"use strict";var r=n(45950);function i(e){e.register(r),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(e)}e.exports=i,i.displayName="json5",i.aliases=[]},80963:(e,t,n)=>{"use strict";var r=n(45950);function i(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=i,i.displayName="jsonp",i.aliases=[]},79358:e=>{"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:e=>{"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function a(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return i})),RegExp(e,t)}i=a(i).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=a(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:a(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:a(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(i.content[0].content[1])&&n.pop():"/>"===i.content[i.content.length-1].content||n.push({tagName:o(i.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===i.type&&"{"===i.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?n[n.length-1].openedBraces--:a=!0),(a||"string"==typeof i)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(i);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&s(i.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)}))}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:e=>{"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%\xf7\u22bb&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~\u2260\u2264\u2265'\u221a\u221b]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[\u03c0\u212f]/}}e.exports=t,t.displayName="julia",t.aliases=[]},32409:e=>{"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,(function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source})),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:e=>{"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:e=>{"use strict";function t(e){!function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:e=>{"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:\u0434\u0430|\u043d\u0435\u0442)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:\u0438|\u0438\u043b\u0438|\u043d\u0435)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])\u0437\u043d\u0430\u0447(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:\u0432\u0435\u0449|\u043b\u0438\u0442|\u043b\u043e\u0433|\u0441\u0438\u043c|\u0446\u0435\u043b)(?:\x20*\u0442\u0430\u0431)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:\u043a\u043e\u043c\u043f\u043b|\u0441\u043a\u0430\u043d\u043a\u043e\u0434|\u0444\u0430\u0439\u043b|\u0446\u0432\u0435\u0442)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:\u0430\u043b\u0433|\u0430\u0440\u0433(?:\x20*\u0440\u0435\u0437)?|\u0432\u0432\u043e\u0434|\u0412\u041a\u041b\u042e\u0427\u0418\u0422\u042c|\u0432\u0441[\u0435\u0451]|\u0432\u044b\u0431\u043e\u0440|\u0432\u044b\u0432\u043e\u0434|\u0432\u044b\u0445\u043e\u0434|\u0434\u0430\u043d\u043e|\u0434\u043b\u044f|\u0434\u043e|\u0434\u0441|\u0435\u0441\u043b\u0438|\u0438\u043d\u0430\u0447\u0435|\u0438\u0441\u043f|\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c|\u043a\u043e\u043d(?:(?:\x20+|_)\u0438\u0441\u043f)?|\u043a\u0446(?:(?:\x20+|_)\u043f\u0440\u0438)?|\u043d\u0430\u0434\u043e|\u043d\u0430\u0447|\u043d\u0441|\u043d\u0446|\u043e\u0442|\u043f\u0430\u0443\u0437\u0430|\u043f\u043e\u043a\u0430|\u043f\u0440\u0438|\u0440\u0430\u0437\u0430?|\u0440\u0435\u0437|\u0441\u0442\u043e\u043f|\u0442\u0430\u0431|\u0442\u043e|\u0443\u0442\u0432|\u0448\u0430\u0433)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:e=>{"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mn\xb5]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:e=>{"use strict";function t(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:(e,t,n)=>{"use strict";var r=n(93205),i=n(88262);function a(e){e.register(r),e.register(i),function(e){e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}};var t=e.languages.extend("markup",{});e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",(function(n){if("latte"===n.language){e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")}))}(e)}e.exports=a,a.displayName="latte",a.aliases=[]},41701:e=>{"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:(e,t,n)=>{"use strict";var r=n(9997);function i(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,(function(){return t})),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=i,i.displayName="lilypond",i.aliases=[]},34927:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,(function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")}))}e.exports=i,i.displayName="liquid",i.aliases=[]},3848:e=>{"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+r,a="(\\()",o=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,s={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp("(\\()(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)(?=\\s)"),lookbehind:!0},{pattern:RegExp("(\\()(?:append|by|collect|concat|do|finally|for|in|return)(?=\\s)"),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp("(\\()def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(a+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+o+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp("(\\()lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(a+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},l={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+o+/\)/.source),inside:s},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:s},u="\\S+(?:\\s+\\S+)*",c={pattern:RegExp(a+o+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:l},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:l},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:l},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};s.lambda.inside.arguments=c,s.defun.inside.arguments=e.util.clone(c),s.defun.inside.arguments.inside.sublist=c,e.languages.lisp=s,e.languages.elisp=s,e.languages.emacs=s,e.languages["emacs-lisp"]=s}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:e=>{"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:e=>{"use strict";function t(e){!function(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}(e)}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:e=>{"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:e=>{"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|\u2026|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:e=>{"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:e=>{"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:e=>{"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:e=>{"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),a=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+a+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+a+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+a+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:e=>{"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,i,a){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(i,(function(e){if("function"==typeof a&&!a(e))return e;for(var i,s=o.length;-1!==n.code.indexOf(i=t(r,s));)++s;return o[s]=e,i})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var i=0,a=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=a.length);l++){var u=s[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=a[i],p=n.tokenStack[c],d="string"==typeof u?u:u.content,f=t(r,c),g=d.indexOf(f);if(g>-1){++i;var m=d.substring(0,g),h=new e.Token(r,e.tokenize(p,n.grammar),"language-"+r,p),b=d.substring(g+f.length),y=[];m&&y.push.apply(y,o([m])),y.push(h),b&&y.push.apply(y,o([b])),"string"==typeof u?s.splice.apply(s,[l,1].concat(y)):u.content=y}}else u.content&&o(u.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:e=>{"use strict";function t(e){e.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))})),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:r}};i["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var a={};a[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:e=>{"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:e=>{"use strict";function t(e){!function(e){var t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}(e)}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:e=>{"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:e=>{"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:e=>{"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:e=>{"use strict";function t(e){!function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map((function(e){return e.replace("$","\\$")}))).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:e=>{"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:e=>{"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:e=>{"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:e=>{"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:e=>{"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:e=>{"use strict";function t(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",(function(e){e.tokens.forEach((function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t="[]{}",n=[],r=0;r{"use strict";function t(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:e=>{"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:e=>{"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:e=>{"use strict";function t(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}(e)}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:e=>{"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:e=>{"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:e=>{"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=i,i.displayName="objectivec",i.aliases=["objc"]},33607:e=>{"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:(e,t,n)=>{"use strict";var r=n(65806);function i(e){e.register(r),function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}(e)}e.exports=i,i.displayName="opencl",i.aliases=[]},22950:e=>{"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|\u03c0|\ud835\udf0f|\u2107/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|\xb5s|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:e=>{"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:e=>{"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"],t=t.map((function(e){return e.split("").join(" *")})).join("|"),RegExp("\\b(?:"+t+")\\b")),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:e=>{"use strict";function t(e){!function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}e.exports=t,t.displayName="parser",t.aliases=[]},60718:e=>{"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:e=>{"use strict";function t(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,(function(){return t})),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,(function(){return n})),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,(function(){return n})),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,(function(){return n}))),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},i=["comment","keyword","builtin","operator","punctuation"].reduce((function(e,t){return e[t]=r[t],e}),{});r["class-name"].forEach((function(e){e.inside=i}))}(e)}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:e=>{"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:e=>{"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:e=>{"use strict";function t(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(e)}e.exports=t,t.displayName="perl",t.aliases=[]},5137:(e,t,n)=>{"use strict";var r=n(88262);function i(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=i,i.displayName="phpExtras",i.aliases=[]},88262:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,a=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:i,punctuation:a};var o={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:o}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:o}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:i,punctuation:a}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")}))}(e)}e.exports=i,i.displayName="php",i.aliases=[]},63632:(e,t,n)=>{"use strict";var r=n(88262),i=n(9858);function a(e){e.register(r),e.register(i),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(e)}e.exports=a,a.displayName="phpdoc",a.aliases=[]},59149:(e,t,n)=>{"use strict";var r=n(11114);function i(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=i,i.displayName="plsql",i.aliases=[]},50256:e=>{"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:e=>{"use strict";function t(e){!function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:e=>{"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:e=>{"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:e=>{"use strict";function t(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}(e)}e.exports=t,t.displayName="promql",t.aliases=[]},56267:e=>{"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:e=>{"use strict";function t(e){!function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:e=>{"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:e=>{"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},i=0,a=n.length;i",(function(){return o.filter})),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:e=>{"use strict";function t(e){!function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:e=>{"use strict";function t(e){!function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach((function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var i={};i["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},i["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",i)}})),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}e.exports=t,t.displayName="pure",t.aliases=[]},78404:e=>{"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:(e,t,n)=>{"use strict";var r=n(58090);function i(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|\u2200/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=i,i.displayName="purescript",i.aliases=["purs"]},52992:e=>{"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:e=>{"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:e=>{"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,(function(){return t})).replace(//g,(function(){return n})),i=0;i<2;i++)r=r.replace(//g,(function(){return r}));r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,(function(){return r})),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:e=>{"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:e=>{"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return"(?:"+t[+n]+")"}))}function n(e,n,r){return RegExp(t(e,n),r||"")}var r=RegExp("\\b(?:"+("Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero"+" "+"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within").trim().replace(/ /g,"|")+")\\b"),i=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),a={keyword:r,punctuation:/[<>()?,.:[\]]/},o=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[o]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[i]),lookbehind:!0,inside:a},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[i]),lookbehind:!0,inside:a}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n>/g,(function(){return"(?:"+e+")"}));return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[o]),2);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:e=>{"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:(e,t,n)=>{"use strict";var r=n(9997);function i(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=i,i.displayName="racket",i.aliases=["rkt"]},5755:e=>{"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:e=>{"use strict";function t(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",i=RegExp(r+"-"+r),a={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:i,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|{"use strict";function t(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:e=>{"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:e=>{"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-\u2022\u2023\u2043]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|\u2014|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:e=>{"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:e=>{"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:e=>{"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var i={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var a in r)i[a]=r[a];return i.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},i.variable=n,i.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,(function(){return e})),"im"),alias:"section",inside:i}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},a={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":a,documentation:i,property:o}),keywords:r("Keywords",{"keyword-name":a,documentation:i,property:o}),tasks:r("Tasks",{"task-name":a,documentation:i,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:e=>{"use strict";function t(e){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(e)}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:e=>{"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,(function(){return t}));t=t.replace(//g,(function(){return/[^\s\S]/.source})),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:e=>{"use strict";function t(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/&[a-z_]\w*/i},a={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},u=/[$%@.(){}\[\];,\\]/,c={pattern:/%?\b\w+(?=\()/,alias:"keyword"},p={function:c,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":i,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l},d={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},g={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},h=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,(function(){return h})),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,(function(){return h})),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:c,"arg-value":p["arg-value"],operator:p.operator,argument:p.arg,number:n,"numeric-constant":r,punctuation:u,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,(function(){return t})),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":g,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":m,"global-statements":g,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":m,"global-statements":g,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:p}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:p},step:o,keyword:y,function:c,format:d,altformat:f,"global-statements":g,number:n,"numeric-constant":r,punctuation:u,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,(function(){return t})),"im"),lookbehind:!0,inside:p},"macro-keyword":a,"macro-variable":i,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":a,"macro-variable":i,"escaped-char":{pattern:/%['"()<>=\xac^~;,#]/},punctuation:u}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:p},"cas-actions":b,comment:s,function:c,format:d,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|\xa6\xa6?|<[>=]?|>[<=]?|[-+\/=&]|[~\xac^]=?/,punctuation:u}}(e)}e.exports=t,t.displayName="sas",t.aliases=[]},41720:e=>{"use strict";function t(e){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}e.exports=t,t.displayName="sass",t.aliases=[]},6054:(e,t,n)=>{"use strict";var r=n(15909);function i(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=i,i.displayName="scala",i.aliases=[]},9997:e=>{"use strict";function t(e){!function(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,(function(t){return"(?:"+e[t].trim()+")"}));return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:e=>{"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:(e,t,n)=>{"use strict";var r=n(6979);function i(e){e.register(r),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,(function(){return t})),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(e)}e.exports=i,i.displayName="shellSession",i.aliases=[]},18890:e=>{"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:e=>{"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,(function(){return t.source})),"g");e.hooks.add("before-tokenize",(function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,(function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")}))}(e)}e.exports=i,i.displayName="smarty",i.aliases=[]},49760:e=>{"use strict";function t(e){!function(e){var t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,(function(){return/\s*(?:[*,]|->)/.source})).replace(//g,(function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source})).replace(//g,(function(){return/(?!)[a-z\d_][\w'.]*/.source})).replace(//g,(function(){return t.source})),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:e=>{"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:e=>{"use strict";function t(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",(function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,(function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)}))})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")}))}(e)}e.exports=i,i.displayName="soy",i.aliases=[]},98774:(e,t,n)=>{"use strict";var r=n(24691);function i(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=i,i.displayName="sparql",i.aliases=["rq"]},22855:e=>{"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:e=>{"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:e=>{"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:e=>{"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:e=>{"use strict";function t(e){!function(e){var t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}e.exports=t,t.displayName="stan",t.aliases=[]},49168:e=>{"use strict";function t(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:e=>{"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach((function(t){t.inside.interpolation.inside=e.languages.swift}))}e.exports=t,t.displayName="swift",t.aliases=[]},21483:e=>{"use strict";function t(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:(e,t,n)=>{"use strict";var r=n(2329),i=n(61958);function a(e){e.register(r),e.register(i),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=a,a.displayName="t4Cs",a.aliases=[]},2329:e=>{"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],i="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,i),"class-feature":t("\\+",r,i),standard:t("",r,i)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:(e,t,n)=>{"use strict";var r=n(2329),i=n(53813);function a(e){e.register(r),e.register(i),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=a,a.displayName="t4Vb",a.aliases=[]},17290:(e,t,n)=>{"use strict";var r=n(65039);function i(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=i,i.displayName="tap",i.aliases=[]},67989:e=>{"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:e=>{"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,(function(){return"(?:"+t+")"})).replace(//g,(function(){return"(?:"+n+")"})),r||"")}var i={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},a=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=a.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};a.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var u=o.table.inside;u.inline=s.inline,u.link=s.link,u.image=s.image,u.footnote=s.footnote,u.acronym=s.acronym,u.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:e=>{"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,(function(){return t}))}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:e=>{"use strict";function t(e){!function(e){e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:(e,t,n)=>{"use strict";var r=n(96412),i=n(4979);function a(e){e.register(r),e.register(i),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(e)}e.exports=a,a.displayName="tsx",a.aliases=[]},61028:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),function(e){e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")}))}(e)}e.exports=i,i.displayName="tt2",i.aliases=[]},24691:e=>{"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:(e,t,n)=>{"use strict";var r=n(93205);function i(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",(function(t){if("twig"===t.language){e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")}))}e.exports=i,i.displayName="twig",i.aliases=[]},4979:e=>{"use strict";function t(e){!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(e)}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:e=>{"use strict";function t(e){!function(e){var t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:e=>{"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:e=>{"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:e=>{"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+"(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:e=>{"use strict";function t(e){!function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}e.exports=t,t.displayName="v",t.aliases=[]},28173:e=>{"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:(e,t,n)=>{"use strict";var r=n(46241);function i(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=i,i.displayName="vbnet",i.aliases=[]},46891:e=>{"use strict";function t(e){!function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:e=>{"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:e=>{"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:e=>{"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:e=>{"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['\u2018\u2019]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["\u201c\u201d](?:["\u201c\u201d]{2}|[^"\u201c\u201d])*["\u201c\u201d]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:e=>{"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:e=>{"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:e=>{"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var i in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==i&&(r[i]=e.languages["web-idl"][i]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:e=>{"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:e=>{"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:e=>{"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:e=>{"use strict";function t(e){!function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:e=>{"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},i={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",i)}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:e=>{"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:e=>{"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var i=[],a=0;a0&&i[i.length-1].tagName===t(o.content[0].content[1])&&i.pop():"/>"===o.content[o.content.length-1].content||i.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(i.length>0&&"punctuation"===o.type&&"{"===o.content)||r[a+1]&&"punctuation"===r[a+1].type&&"{"===r[a+1].content||r[a-1]&&"plain-text"===r[a-1].type&&"{"===r[a-1].content?i.length>0&&i[i.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?i[i.length-1].openedBraces--:"comment"!==o.type&&(s=!0):i[i.length-1].openedBraces++),(s||"string"==typeof o)&&i.length>0&&0===i[i.length-1].openedBraces){var l=t(o);a0&&("string"==typeof r[a-1]||"plain-text"===r[a-1].type)&&(l=t(r[a-1])+l,r.splice(a-1,1),a--),/^\s+$/.test(l)?r[a]=l:r[a]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",(function(e){"xquery"===e.language&&n(e.tokens)}))}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:e=>{"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),a=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+i+"|"+a+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(a),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:e=>{"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:e=>{"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,a="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(i))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(a)).replace(//g,t(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(a)).replace(//g,t(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach((function(t){null===t.inside&&(t.inside=e.languages.zig)}))}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:(e,t,n)=>{var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},i={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=p.reach);T+=k.value.length,k=k.next){var w=k.value;if(t.length>e.length)return;if(!(w instanceof a)){var A,R=1;if(y){if(!(A=o(S,T,e,b))||A.index>=e.length)break;var C=A.index,I=A.index+A[0].length,O=T;for(O+=k.value.length;C>=O;)O+=(k=k.next).value.length;if(T=O-=k.value.length,k.value instanceof a)continue;for(var _=k;_!==t.tail&&(Op.reach&&(p.reach=D);var P=k.prev;if(x&&(P=u(t,P,x),T+=x.length),c(t,P,R),k=u(t,P,new a(d,h?i.tokenize(N,h):N,E,N)),L&&u(t,k,L),R>1){var M={cause:d+","+g,reach:D};s(e,t,n,k.prev,T,M),p&&M.reach>p.reach&&(p.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function u(e,t,n){var r=t.next,i={value:n,prev:t,next:r};return t.next=i,r.prev=i,e.length++,i}function c(e,t,n){for(var r=t.next,i=0;i"+a.content+""},!e.document)return e.addEventListener?(i.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),r=n.language,a=n.code,o=n.immediateClose;e.postMessage(i.highlight(a,i.languages[r],r)),o&&e.close()}),!1),i):i;var p=i.util.currentScript();function d(){i.manual||i.highlightAll()}if(p&&(i.filename=p.src,p.hasAttribute("data-manual")&&(i.manual=!0)),!i.manual){var f=document.readyState;"loading"===f||"interactive"===f&&p&&p.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return i}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},78818:(e,t,n)=>{"use strict";var r=n(26555);e.exports=function(e,t){e&&!e.process&&(t=e,e=null);return e?function(e,t){return n;function n(n,i,a){function o(e){a(e)}e.run(r(n,t),i,o)}}(e,t):function(e){return t;function t(t){return r(t,e)}}(t)}},26555:(e,t,n)=>{"use strict";e.exports=n(22064)},13331:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i,a=t.children||[],o=a.length,s=[],l=-1;for(;++l{"use strict";e.exports=function(e){var t,n,o,s,l=e.footnoteById,u=e.footnoteOrder,c=u.length,p=-1,d=[];for(;++p{"use strict";e.exports=function(e,t){return e(t,"blockquote",r(i(e,t),!0))};var r=n(67775),i=n(13331)},54868:(e,t,n)=>{"use strict";e.exports=function(e,t){return[e(t,"br"),r("text","\n")]};var r=n(50914)},9601:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,i=t.value?t.value+"\n":"",a=t.lang&&t.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};a&&(o.className=["language-"+a]);n=e(t,"code",o,[r("text",i)]),t.meta&&(n.data={meta:t.meta});return e(t.position,"pre",[n])};var r=n(50914)},36267:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"del",r(e,t))};var r=n(13331)},91671:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"em",r(e,t))};var r=n(13331)},70060:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=e.footnoteOrder,i=String(t.identifier);-1===n.indexOf(i)&&n.push(i);return e(t.position,"sup",{id:"fnref-"+i},[e(t,"a",{href:"#fn-"+i,className:["footnote-ref"]},[r("text",t.label||i)])])};var r=n(50914)},63037:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=e.footnoteById,i=e.footnoteOrder,a=1;for(;a in n;)a++;return a=String(a),i.push(a),n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},r(e,{type:"footnoteReference",identifier:a,position:t.position})};var r=n(70060)},3456:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"h"+t.depth,r(e,t))};var r=n(13331)},73737:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.dangerous?e.augment(t,r("raw",t.value)):null};var r=n(50914)},24943:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a=e.definition(t.identifier);if(!a)return i(e,t);n={src:r(a.url||""),alt:t.alt},null!==a.title&&void 0!==a.title&&(n.title=a.title);return e(t,"img",n)};var r=n(70729),i=n(58663)},52612:(e,t,n)=>{"use strict";var r=n(70729);e.exports=function(e,t){var n={src:r(t.url),alt:t.alt};null!==t.title&&void 0!==t.title&&(n.title=t.title);return e(t,"img",n)}},45016:(e,t,n)=>{"use strict";function r(){return null}e.exports={blockquote:n(7576),break:n(54868),code:n(9601),delete:n(36267),emphasis:n(91671),footnoteReference:n(70060),footnote:n(63037),heading:n(3456),html:n(73737),imageReference:n(24943),image:n(52612),inlineCode:n(54563),linkReference:n(7010),link:n(73793),listItem:n(52328),list:n(1003),paragraph:n(50634),root:n(71128),strong:n(60110),table:n(21270),text:n(65835),thematicBreak:n(4318),toml:r,yaml:r,definition:r,footnoteDefinition:r}},54563:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=t.value.replace(/\r?\n|\r/g," ");return e(t,"code",[r("text",n)])};var r=n(50914)},7010:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o=e.definition(t.identifier);if(!o)return i(e,t);n={href:r(o.url||"")},null!==o.title&&void 0!==o.title&&(n.title=o.title);return e(t,"a",n,a(e,t))};var r=n(70729),i=n(58663),a=n(13331)},73793:(e,t,n)=>{"use strict";var r=n(70729),i=n(13331);e.exports=function(e,t){var n={href:r(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);return e(t,"a",n,i(e,t))}},52328:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var o,s,l,u=i(e,t),c=u[0],p=n?function(e){var t=e.spread,n=e.children,r=n.length,i=-1;for(;!t&&++i0&&c.children.unshift(r("text"," ")),c.children.unshift(e(null,"input",{type:"checkbox",checked:t.checked,disabled:!0})),d.className=["task-list-item"]);o=u.length,s=-1;for(;++s1:t}},1003:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a,o={},s=t.ordered?"ol":"ul",l=-1;"number"==typeof t.start&&1!==t.start&&(o.start=t.start);n=i(e,t),a=n.length;for(;++l{"use strict";e.exports=function(e,t){return e(t,"p",r(e,t))};var r=n(13331)},71128:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("root",i(a(e,t))))};var r=n(50914),i=n(67775),a=n(13331)},60110:(e,t,n)=>{"use strict";e.exports=function(e,t){return e(t,"strong",r(e,t))};var r=n(13331)},21270:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,o,s,l,u,c=t.children,p=c.length,d=t.align||[],f=d.length,g=[];for(;p--;){for(o=c[p].children,l=0===p?"th":"td",n=f||o.length,s=[];n--;)u=o[n],s[n]=e(u,l,{align:d[n]},u?a(e,u):[]);g[p]=e(c[p],"tr",i(s,!0))}return e(t,"table",i([e(g[0].position,"thead",i([g[0]],!0))].concat(g[1]?e({start:r.start(g[1]),end:r.end(g[g.length-1])},"tbody",i(g.slice(1),!0)):[]),!0))};var r=n(77361),i=n(67775),a=n(13331)},65835:(e,t,n)=>{"use strict";e.exports=function(e,t){return e.augment(t,r("text",String(t.value).replace(/[ \t]*(\r?\n|\r)[ \t]*/g,"$1")))};var r=n(50914)},4318:e=>{"use strict";e.exports=function(e,t){return e(t,"hr")}},22064:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=function(e,t){var n=t||{};void 0===n.allowDangerousHTML||d||(d=!0,console.warn("mdast-util-to-hast: deprecation: `allowDangerousHTML` is nonstandard, use `allowDangerousHtml` instead"));var r=n.allowDangerousHtml||n.allowDangerousHTML,l={};return f.dangerous=r,f.definition=s(e),f.footnoteById=l,f.footnoteOrder=[],f.augment=u,f.handlers=Object.assign({},c,n.handlers),f.unknownHandler=n.unknownHandler,f.passThrough=n.passThrough,i(e,"footnoteDefinition",g),f;function u(e,t){var n,r;return e&&e.data&&((n=e.data).hName&&("element"!==t.type&&(t={type:"element",tagName:"",properties:{},children:[]}),t.tagName=n.hName),"element"===t.type&&n.hProperties&&(t.properties=Object.assign({},t.properties,n.hProperties)),t.children&&n.hChildren&&(t.children=n.hChildren)),r=e&&e.position?e:{position:e},o(r)||(t.position={start:a.start(r),end:a.end(r)}),t}function f(e,t,n,r){return null==r&&"object"==typeof n&&"length"in n&&(r=n,n={}),u(e,{type:"element",tagName:t,properties:n||{},children:r||[]})}function g(e){var t=String(e.identifier).toUpperCase();p.call(l,t)||(l[t]=e)}}(e,t),f=l(n,e),g=u(n);g&&(f.children=f.children.concat(r("text","\n"),g));return f};var r=n(50914),i=n(62854),a=n(77361),o=n(61744),s=n(86630),l=n(17828),u=n(4528),c=n(45016),p={}.hasOwnProperty,d=!1},17828:(e,t,n)=>{"use strict";e.exports=function(e,t,n){var r,i=t&&t.type;if(!i)throw new Error("Expected node, got `"+t+"`");r=a.call(e.handlers,i)?e.handlers[i]:e.passThrough&&e.passThrough.indexOf(i)>-1?s:e.unknownHandler;return("function"==typeof r?r:o)(e,t,n)};var r=n(50914),i=n(13331),a={}.hasOwnProperty;function o(e,t){return function(e){var t=e.data||{};if(a.call(t,"hName")||a.call(t,"hProperties")||a.call(t,"hChildren"))return!1;return"value"in e}(t)?e.augment(t,r("text",t.value)):e(t,"div",i(e,t))}function s(e,t){var n;return t.children?((n=Object.assign({},t)).children=i(e,t),n):t}},58663:(e,t,n)=>{"use strict";e.exports=function(e,t){var n,a,o,s=t.referenceType,l="]";"collapsed"===s?l+="[]":"full"===s&&(l+="["+(t.label||t.identifier)+"]");if("imageReference"===t.type)return r("text","!["+t.alt+l);n=i(e,t),(a=n[0])&&"text"===a.type?a.value="["+a.value:n.unshift(r("text","["));(o=n[n.length-1])&&"text"===o.type?o.value+=l:n.push(r("text",l));return n};var r=n(50914),i=n(13331)},67775:(e,t,n)=>{"use strict";e.exports=function(e,t){var n=[],i=-1,a=e.length;t&&n.push(r("text","\n"));for(;++i0&&n.push(r("text","\n"));return n};var r=n(50914)},36582:(e,t)=>{"use strict";t.parse=function(e){var t=String(e||"").trim();return""===t?[]:t.split(n)},t.stringify=function(e){return e.join(" ").trim()};var n=/[ \t\n\r\f]+/g},57848:(e,t,n)=>{var r=n(18139);e.exports=function(e,t){var n,i=null;if(!e||"string"!=typeof e)return i;for(var a,o,s=r(e),l="function"==typeof t,u=0,c=s.length;u{"use strict";var r=n(43368);e.exports=a,a.wrap=r;var i=[].slice;function a(){var e=[],t={run:function(){var t=-1,n=i.call(arguments,0,-1),a=arguments[arguments.length-1];if("function"!=typeof a)throw new Error("Expected function as last argument, not "+a);function o(s){var l=e[++t],u=i.call(arguments,0),c=u.slice(1),p=n.length,d=-1;if(s)a(s);else{for(;++d{"use strict";var t=[].slice;e.exports=function(e,n){var r;return function(){var n,o=t.call(arguments,0),s=e.length>o.length;s&&o.push(i);try{n=e.apply(null,o)}catch(l){if(s&&r)throw l;return i(l)}s||(n&&"function"==typeof n.then?n.then(a,i):n instanceof Error?i(n):a(n))};function i(){r||(r=!0,n.apply(null,arguments))}function a(e){i(null,e)}}},18835:(e,t,n)=>{"use strict";var r=n(18869),i=n(48738),a=n(94470),o=n(33310),s=n(28281),l=n(10939);e.exports=function e(){var t,n=[],i=s(),y={},E=-1;return v.data=function(e,n){if("string"==typeof e)return 2===arguments.length?(m("data",t),y[e]=n,v):c.call(y,e)&&y[e]||null;if(e)return m("data",t),y=e,v;return y},v.freeze=S,v.attachers=n,v.use=function(e){var r;if(m("use",t),null==e);else if("function"==typeof e)c.apply(null,arguments);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?l(e):i(e)}r&&(y.settings=a(y.settings||{},r));return v;function i(e){l(e.plugins),e.settings&&(r=a(r||{},e.settings))}function s(e){if("function"==typeof e)c(e);else{if("object"!=typeof e)throw new Error("Expected usable value, not `"+e+"`");"length"in e?c.apply(null,e):i(e)}}function l(e){var t=-1;if(null==e);else{if("object"!=typeof e||!("length"in e))throw new Error("Expected a list of plugins, not `"+e+"`");for(;++t{"use strict";e.exports=function(e,t,n){var r;null!=n||"object"==typeof t&&!Array.isArray(t)||(n=t,t={});r=Object.assign({type:String(e)},t),Array.isArray(n)?r.children=n:null!=n&&(r.value=String(n));return r}},61744:e=>{"use strict";e.exports=function(e){return!(e&&e.position&&e.position.start&&e.position.start.line&&e.position.start.column&&e.position.end&&e.position.end.line&&e.position.end.column)}},48145:e=>{"use strict";function t(e){if(null==e)return n;if("string"==typeof e)return function(e){return t;function t(t){return Boolean(t&&t.type===e)}}(e);if("object"==typeof e)return"length"in e?function(e){var n=[],r=-1;for(;++r{"use strict";var t=i("start"),n=i("end");function r(e){return{start:t(e),end:n(e)}}function i(e){return t.displayName=e,t;function t(t){var n=t&&t.position&&t.position[e]||{};return{line:n.line||null,column:n.column||null,offset:isNaN(n.offset)?null:n.offset}}}e.exports=r,r.start=t,r.end=n},75432:e=>{"use strict";var t={}.hasOwnProperty;function n(e){return e&&"object"==typeof e||(e={}),i(e.line)+":"+i(e.column)}function r(e){return e&&"object"==typeof e||(e={}),n(e.start)+"-"+n(e.end)}function i(e){return e&&"number"==typeof e?e:1}e.exports=function(e){if(!e||"object"!=typeof e)return"";if(t.call(e,"position")||t.call(e,"type"))return r(e.position);if(t.call(e,"start")||t.call(e,"end"))return r(e);if(t.call(e,"line")||t.call(e,"column"))return n(e);return""}},66750:e=>{e.exports=function(e){return e}},99294:(e,t,n)=>{"use strict";e.exports=l;var r=n(48145),i=n(66750),a=!0,o="skip",s=!1;function l(e,t,n,l){var u,c;"function"==typeof t&&"function"!=typeof n&&(l=n,n=t,t=null),c=r(t),u=l?-1:1,function e(r,p,d){var f,g="object"==typeof r&&null!==r?r:{};"string"==typeof g.type&&(f="string"==typeof g.tagName?g.tagName:"string"==typeof g.name?g.name:void 0,m.displayName="node ("+i(g.type+(f?"<"+f+">":""))+")");return m;function m(){var i,f,g=d.concat(r),m=[];if((!t||c(r,p,d[d.length-1]||null))&&(m=function(e){if(null!==e&&"object"==typeof e&&"length"in e)return e;if("number"==typeof e)return[a,e];return[e]}(n(r,d)),m[0]===s))return m;if(r.children&&m[0]!==o)for(f=(l?r.children.length:-1)+u;f>-1&&f{"use strict";e.exports=s;var r=n(99294),i=r.CONTINUE,a=r.SKIP,o=r.EXIT;function s(e,t,n,i){"function"==typeof t&&"function"!=typeof n&&(i=n,n=t,t=null),r(e,t,(function(e,t){var r=t[t.length-1],i=r?r.children.indexOf(e):null;return n(e,i,r)}),i)}s.CONTINUE=i,s.SKIP=a,s.EXIT=o},80734:(e,t,n)=>{"use strict";var r=n(75432);function i(){}e.exports=o,i.prototype=Error.prototype,o.prototype=new i;var a=o.prototype;function o(e,t,n){var i,a,o;"string"==typeof t&&(n=t,t=null),i=function(e){var t,n=[null,null];"string"==typeof e&&(-1===(t=e.indexOf(":"))?n[1]=e:(n[0]=e.slice(0,t),n[1]=e.slice(t+1)));return n}(n),a=r(t)||"1:1",o={start:{line:null,column:null},end:{line:null,column:null}},t&&t.position&&(t=t.position),t&&(t.start?(o=t,t=t.start):o.start=t),e.stack&&(this.stack=e.stack,e=e.message),this.message=e,this.name=a,this.reason=e,this.line=t?t.line:null,this.column=t?t.column:null,this.location=o,this.source=i[0],this.ruleId=i[1]}a.file="",a.name="",a.reason="",a.message="",a.stack="",a.fatal=null,a.column=null,a.line=null},10939:(e,t,n)=>{"use strict";e.exports=n(65905)},45442:(e,t,n)=>{"use strict";var r=n(28064),i=n(54228),a=n(48738);e.exports=l;var o={}.hasOwnProperty,s=["history","path","basename","stem","extname","dirname"];function l(e){var t,n;if(e){if("string"==typeof e||a(e))e={contents:e};else if("message"in e&&"messages"in e)return e}else e={};if(!(this instanceof l))return new l(e);for(this.data={},this.messages=[],this.history=[],this.cwd=i.cwd(),n=-1;++n-1)throw new Error("`"+t+"` cannot be a path: did not expect `"+r.sep+"`")}function c(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function p(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}l.prototype.toString=function(e){return(this.contents||"").toString(e)},Object.defineProperty(l.prototype,"path",{get:function(){return this.history[this.history.length-1]},set:function(e){c(e,"path"),this.path!==e&&this.history.push(e)}}),Object.defineProperty(l.prototype,"dirname",{get:function(){return"string"==typeof this.path?r.dirname(this.path):void 0},set:function(e){p(this.path,"dirname"),this.path=r.join(e||"",this.basename)}}),Object.defineProperty(l.prototype,"basename",{get:function(){return"string"==typeof this.path?r.basename(this.path):void 0},set:function(e){c(e,"basename"),u(e,"basename"),this.path=r.join(this.dirname||"",e)}}),Object.defineProperty(l.prototype,"extname",{get:function(){return"string"==typeof this.path?r.extname(this.path):void 0},set:function(e){if(u(e,"extname"),p(this.path,"extname"),e){if(46!==e.charCodeAt(0))throw new Error("`extname` must start with `.`");if(e.indexOf(".",1)>-1)throw new Error("`extname` cannot contain multiple dots")}this.path=r.join(this.dirname,this.stem+(e||""))}}),Object.defineProperty(l.prototype,"stem",{get:function(){return"string"==typeof this.path?r.basename(this.path,this.extname):void 0},set:function(e){c(e,"stem"),u(e,"stem"),this.path=r.join(this.dirname||"",e+(this.extname||""))}})},65905:(e,t,n)=>{"use strict";var r=n(80734),i=n(45442);e.exports=i,i.prototype.message=function(e,t,n){var i=new r(e,t,n);this.path&&(i.name=this.path+":"+i.name,i.file=this.path);return i.fatal=!1,this.messages.push(i),i},i.prototype.info=function(){var e=this.message.apply(this,arguments);return e.fatal=null,e},i.prototype.fail=function(){var e=this.message.apply(this,arguments);throw e.fatal=!0,e}},28064:(e,t)=>{"use strict";function n(e){var t,n;return r(e),t=47===e.charCodeAt(0),n=function(e,t){var n,r,i="",a=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=l,s=0;continue}}else if(i.length){i="",a=0,o=l,s=0;continue}t&&(i=i.length?i+"/..":"..",a=2)}else i.length?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t),n.length||t||(n="."),n.length&&47===e.charCodeAt(e.length-1)&&(n+="/"),t?"/"+n:n}function r(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}t.basename=function(e,t){var n,i,a,o,s=0,l=-1;if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');if(r(e),n=e.length,void 0===t||!t.length||t.length>e.length){for(;n--;)if(47===e.charCodeAt(n)){if(a){s=n+1;break}}else l<0&&(a=!0,l=n+1);return l<0?"":e.slice(s,l)}if(t===e)return"";i=-1,o=t.length-1;for(;n--;)if(47===e.charCodeAt(n)){if(a){s=n+1;break}}else i<0&&(a=!0,i=n+1),o>-1&&(e.charCodeAt(n)===t.charCodeAt(o--)?o<0&&(l=n):(o=-1,l=i));s===l?l=i:l<0&&(l=e.length);return e.slice(s,l)},t.dirname=function(e){var t,n,i;if(r(e),!e.length)return".";t=-1,i=e.length;for(;--i;)if(47===e.charCodeAt(i)){if(n){t=i;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},t.extname=function(e){var t,n,i,a=-1,o=0,s=-1,l=0;r(e),i=e.length;for(;i--;)if(47!==(n=e.charCodeAt(i)))s<0&&(t=!0,s=i+1),46===n?a<0?a=i:1!==l&&(l=1):a>-1&&(l=-1);else if(t){o=i+1;break}if(a<0||s<0||0===l||1===l&&a===s-1&&a===o+1)return"";return e.slice(a,s)},t.join=function(){var e,t=-1;for(;++t{"use strict";t.cwd=function(){return"/"}},47529:e=>{e.exports=function(){for(var e={},n=0;n{"use strict";e.exports=JSON.parse('{"AElig":"\xc6","AMP":"&","Aacute":"\xc1","Acirc":"\xc2","Agrave":"\xc0","Aring":"\xc5","Atilde":"\xc3","Auml":"\xc4","COPY":"\xa9","Ccedil":"\xc7","ETH":"\xd0","Eacute":"\xc9","Ecirc":"\xca","Egrave":"\xc8","Euml":"\xcb","GT":">","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')},93580:e=>{"use strict";e.exports=JSON.parse('{"0":"\ufffd","128":"\u20ac","130":"\u201a","131":"\u0192","132":"\u201e","133":"\u2026","134":"\u2020","135":"\u2021","136":"\u02c6","137":"\u2030","138":"\u0160","139":"\u2039","140":"\u0152","142":"\u017d","145":"\u2018","146":"\u2019","147":"\u201c","148":"\u201d","149":"\u2022","150":"\u2013","151":"\u2014","152":"\u02dc","153":"\u2122","154":"\u0161","155":"\u203a","156":"\u0153","158":"\u017e","159":"\u0178"}')},99640:e=>{"use strict";e.exports=JSON.parse('{"classId":"classID","dataType":"datatype","itemId":"itemID","strokeDashArray":"strokeDasharray","strokeDashOffset":"strokeDashoffset","strokeLineCap":"strokeLinecap","strokeLineJoin":"strokeLinejoin","strokeMiterLimit":"strokeMiterlimit","typeOf":"typeof","xLinkActuate":"xlinkActuate","xLinkArcRole":"xlinkArcrole","xLinkHref":"xlinkHref","xLinkRole":"xlinkRole","xLinkShow":"xlinkShow","xLinkTitle":"xlinkTitle","xLinkType":"xlinkType","xmlnsXLink":"xmlnsXlink"}')}}]); \ No newline at end of file diff --git a/assets/js/2399.b1cc5e6f.js.LICENSE.txt b/assets/js/3830.b7852bb9.js.LICENSE.txt similarity index 100% rename from assets/js/2399.b1cc5e6f.js.LICENSE.txt rename to assets/js/3830.b7852bb9.js.LICENSE.txt diff --git a/assets/js/38964cd2.23849fdc.js b/assets/js/38964cd2.23849fdc.js deleted file mode 100644 index b0759a5d..00000000 --- a/assets/js/38964cd2.23849fdc.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8877],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>y});var r=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},f=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(n),f=o,y=u["".concat(c,".").concat(f)]||u[f]||h[f]||a;return n?r.createElement(y,s(s({ref:t},p),{},{components:n})):r.createElement(y,s({ref:t},p))}));function y(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,s=new Array(a);s[0]=f;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:o,s[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var r=n(87462),o=(n(67294),n(3905));const a={},s={unversionedId:"tech/tokens",id:"tech/tokens",isDocsHomePage:!1,title:"Syscoin Platform Tokens (SPTs)",description:"Syscoin Platform Tokens, or SPTs for short, are tokens that reside on the Syscoin blockchain, rather than the NEVM blockchain that runs alongside it and supports ERC-20 tokens. SPTs are UTXO-based tokens (so transactions operate like Bitcoin transactions), rather than account-based (like Ethereum), this offers greater efficiency and allows SPTs to support any current or new innovations that are made available on Bitcoin, such as Lightning Network or Taproot. SPTs can also take advantage of Syscoin's Z-DAG technology, for blisteringly fast token payments. Find out how to create your own SPTs here.",source:"@site/docs/tech/tokens.mdx",sourceDirName:"tech",slug:"/tech/tokens",permalink:"/docs/tech/tokens",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Rollux",permalink:"/docs/tech/rollux"},next:{title:"Z-DAG (UTXO)",permalink:"/docs/tech/z-dag"}},i=[],c={toc:i},l="wrapper";function p(e){let{components:t,...n}=e;return(0,o.kt)(l,(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Syscoin Platform Tokens, or SPTs for short, are tokens that reside on the Syscoin blockchain, rather than the NEVM blockchain that runs alongside it and supports ERC-20 tokens. SPTs are UTXO-based tokens (so transactions operate like Bitcoin transactions), rather than account-based (like Ethereum), this offers greater efficiency and allows SPTs to support any current or new innovations that are made available on Bitcoin, such as Lightning Network or Taproot. SPTs can also take advantage of Syscoin's ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/z-dag"},"Z-DAG")," technology, for blisteringly fast token payments. Find out how to create your own SPTs ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/spts/create-issue-tokens"},"here"),"."),(0,o.kt)("p",null,"Another useful aspect of SPTs is the possibility to create Non-Fungible Tokens (NFTs). These are very lightweight; compared to a standard, fungible token they use only 4 extra bytes on the blockchain. If you are interested in checking them out you can download ",(0,o.kt)("a",{parentName:"p",href:"https://paliwallet.com/"},"Pali Wallet"),", a browser extension wallet that supports Syscoin and SPTs, and mint some NFTs on ",(0,o.kt)("a",{parentName:"p",href:"https://sysmint.paliwallet.com/"},"SysMint"),"."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/38964cd2.8d9a4e40.js b/assets/js/38964cd2.8d9a4e40.js new file mode 100644 index 00000000..04fc6091 --- /dev/null +++ b/assets/js/38964cd2.8d9a4e40.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8877],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>f});var r=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},p=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},h=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),h=l(n),f=o,y=h["".concat(c,".").concat(f)]||h[f]||u[f]||a;return n?r.createElement(y,s(s({ref:t},p),{},{components:n})):r.createElement(y,s({ref:t},p))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,s=new Array(a);s[0]=h;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeof e?e:o,s[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var r=n(87462),o=(n(67294),n(3905));const a={},s={unversionedId:"tech/tokens",id:"tech/tokens",isDocsHomePage:!1,title:"Syscoin Platform Tokens (SPTs)",description:"Syscoin Platform Tokens, or SPTs for short, are tokens that reside on the Syscoin Native (UTXO) blockchain, rather than the Syscoin NEVM blockchain that runs alongside it and supports ERC-20 tokens. SPTs are UTXO-based tokens (so transactions operate like Bitcoin transactions), rather than account-based (like Ethereum), this offers greater efficiency and allows SPTs to support any current or new innovations that are made available on Bitcoin, such as Lightning Network or Taproot. SPTs can also take advantage of Syscoin's Z-DAG technology, for blisteringly fast token payments. Find out how to create your own SPTs here.",source:"@site/docs/tech/tokens.mdx",sourceDirName:"tech",slug:"/tech/tokens",permalink:"/docs/tech/tokens",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Rollux",permalink:"/docs/tech/rollux"},next:{title:"Z-DAG (UTXO)",permalink:"/docs/tech/z-dag"}},i=[],c={toc:i};function l(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Syscoin Platform Tokens, or SPTs for short, are tokens that reside on the Syscoin Native (UTXO) blockchain, rather than the Syscoin NEVM blockchain that runs alongside it and supports ERC-20 tokens. SPTs are UTXO-based tokens (so transactions operate like Bitcoin transactions), rather than account-based (like Ethereum), this offers greater efficiency and allows SPTs to support any current or new innovations that are made available on Bitcoin, such as Lightning Network or Taproot. SPTs can also take advantage of Syscoin's ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/z-dag"},"Z-DAG")," technology, for blisteringly fast token payments. Find out how to create your own SPTs ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/spts/create-issue-tokens"},"here"),"."),(0,o.kt)("p",null,"Another useful aspect of SPTs is the possibility to create Non-Fungible Tokens (NFTs). These are very lightweight; compared to a standard, fungible token they use only 4 extra bytes on the blockchain. If you are interested in checking them out you can download ",(0,o.kt)("a",{parentName:"p",href:"https://paliwallet.com/"},"Pali Wallet"),", a browser extension wallet that supports Syscoin and SPTs, and mint some NFTs on ",(0,o.kt)("a",{parentName:"p",href:"https://sysmint.paliwallet.com/"},"SysMint"),"."))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3e93e8e5.b0e39beb.js b/assets/js/3e93e8e5.b0e39beb.js new file mode 100644 index 00000000..f056340d --- /dev/null +++ b/assets/js/3e93e8e5.b0e39beb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8742],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>f});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),u=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):l(l({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(s.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),m=u(r),f=o,d=m["".concat(s,".").concat(f)]||m[f]||p[f]||a;return r?n.createElement(d,l(l({ref:t},c),{},{components:r})):n.createElement(d,l({ref:t},c))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,l=new Array(a);l[0]=m;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i.mdxType="string"==typeof e?e:o,l[1]=i;for(var u=2;u{r.r(t),r.d(t,{default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>i});var n=r(87462),o=(r(67294),r(3905));const a={},l={unversionedId:"guides/rollux/metamask",id:"guides/rollux/metamask",isDocsHomePage:!1,title:"Add to MetaMask or install Pali Wallet",description:"Looking for simple instructions to connect to Rollux? Head to the Rollux Help Center!",source:"@site/docs/guides/rollux/metamask.mdx",sourceDirName:"guides/rollux",slug:"/guides/rollux/metamask",permalink:"/docs/guides/rollux/metamask",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Syscoin Geth (sysgeth)",permalink:"/docs/guides/nevm/sysgeth"},next:{title:"Auxiliary Fees",permalink:"/docs/guides/spts/aux-fees"}},i=[],s={toc:i};function u(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Looking for simple instructions to connect to Rollux? Head to the ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://sys-labs.github.io/community-hub/docs/help/"},"Rollux Help Center")),"!"),(0,o.kt)("p",null,"Once you're connected you can..."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Move your SYS to Rollux using the ",(0,o.kt)("a",{parentName:"li",href:"https://bridge.rollux.com"},"Rollux Portal"),", Rollux's canonical bridge."),(0,o.kt)("li",{parentName:"ul"},"Use a Rollux ",(0,o.kt)("a",{parentName:"li",href:"https://rollux.id/faucet?chainId=570"},"faucet")," to get a small amount of SYS to cover a fee or two on Rollux."),(0,o.kt)("li",{parentName:"ul"},"Get going with some dapps on Rollux such as ",(0,o.kt)("a",{parentName:"li",href:"https://app.pegasys.fi"},"Pegasys")," DEX, ",(0,o.kt)("a",{parentName:"li",href:"https://luxy.io"},"Luxy")," NFT Marketplace, or any other live dapps in the ",(0,o.kt)("a",{parentName:"li",href:"https://rollux.com/ecosystem"},"Rollux ecosystem"),"!")))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/3e93e8e5.c9605e0f.js b/assets/js/3e93e8e5.c9605e0f.js deleted file mode 100644 index c5a3807b..00000000 --- a/assets/js/3e93e8e5.c9605e0f.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8742],{74002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(67294);n(68903);class l extends a.Component{constructor(e){super(e),this.state={address:null,added:!1,network:this.props.network,window:null},this.connectWallet=this.connectWallet.bind(this)}componentDidMount(){window.ethereum&&this.setState({address:window.ethereum.selectedAddress})}async connectWallet(){const e={chainId:"0x"+57..toString(16),chainName:"Syscoin",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},rpcUrls:["https://rpc.ankr.com/syscoin","wss://rpc.syscoin.org/wss"],blockExplorerUrls:["https://explorer.syscoin.org"]},t={chainId:"0x"+5700..toString(16),chainName:"Syscoin Tanenbaum",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc.tanenbaum.io/"],blockExplorerUrls:["https://tanenbaum.io/"]},n={chainId:"0x"+57e3.toString(16),chainName:"Rollux Testnet",iconUrls:[""],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc-tanenbaum.rollux.com"],blockExplorerUrls:["https://rollux.tanenbaum.io/"]};if(window.ethereum){var a;switch(await window.ethereum.send("eth_requestAccounts"),this.state.network){case"Mainnet":a={method:"wallet_addEthereumChain",params:[e,this.state.selectedAddress]};break;case"Tanenbaum Testnet":a={method:"wallet_addEthereumChain",params:[t,this.state.selectedAddress]};break;case"Rollux Optimistic Testnet":a={method:"wallet_addEthereumChain",params:[n,this.state.selectedAddress]}}try{await window.ethereum.request(a)}catch(l){return console.log(l),!1}return this.setState({added:!0}),!0}}render(){return this.state.added?a.createElement("section",{className:"section"},a.createElement("button",{className:"addButton"},"Added")):a.createElement("section",{className:"section"},a.createElement("button",{onClick:this.connectWallet,className:"addButton"},"Add to MetaMask"))}}const s=l},25223:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A,frontMatter:()=>o,metadata:()=>r,toc:()=>i});var a=n(87462),l=(n(67294),n(3905)),s=n(74002);const o={},r={unversionedId:"guides/rollux/metamask",id:"guides/rollux/metamask",isDocsHomePage:!1,title:"Add to MetaMask",description:"You can add the Syscoin Rollux networks to MetaMask using the table below. Welcome to Rollux!",source:"@site/docs/guides/rollux/metamask.mdx",sourceDirName:"guides/rollux",slug:"/guides/rollux/metamask",permalink:"/docs/guides/rollux/metamask",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Syscoin Geth (sysgeth)",permalink:"/docs/guides/nevm/sysgeth"},next:{title:"Auxiliary Fees",permalink:"/docs/guides/spts/aux-fees"}},i=[{value:"Install the MetaMask Extension from the Store",id:"install-the-metamask-extension-from-the-store",children:[]},{value:"Create a MetaMask Wallet or Import One",id:"create-a-metamask-wallet-or-import-one",children:[]},{value:"Manual Setup to connect to Syscoin Rollux networks",id:"manual-setup-to-connect-to-syscoin-rollux-networks",children:[{value:"Rollux Testnet Details",id:"rollux-testnet-details",children:[]},{value:"How to get TSYS",id:"how-to-get-tsys",children:[]},{value:"Rollux Portal (bridge dapp)",id:"rollux-portal-bridge-dapp",children:[]}]}],c={toc:i},u="wrapper";function A(e){let{components:t,...o}=e;return(0,l.kt)(u,(0,a.Z)({},c,o,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("p",null,"You can add the Syscoin Rollux networks to MetaMask using the table below. Welcome to Rollux!"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:"left"},"Network"),(0,l.kt)("th",{parentName:"tr",align:null}))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:"left"},"Syscoin Rollux Testnet"),(0,l.kt)("td",{parentName:"tr",align:null},(0,l.kt)(s.Z,{network:"Rollux Optimistic Testnet",mdxType:"AddNetworkComponent"}))))),(0,l.kt)("p",null,"Once you're connected"),(0,l.kt)("ol",null,(0,l.kt)("li",{parentName:"ol"},(0,l.kt)("strong",{parentName:"li"},(0,l.kt)("a",{parentName:"strong",href:"/docs/guides/rollux/metamask#how-to-get-tsys"},"Get some TSYS"))," (test SYS) on Rollux or bridge L1 TSYS to Rollux"),(0,l.kt)("li",{parentName:"ol"},"Try ",(0,l.kt)("strong",{parentName:"li"},(0,l.kt)("a",{parentName:"strong",href:"https://rollux.pegasys.finance"},"Pegasys DEX"))," on the Rollux testnet!")),(0,l.kt)("hr",null),(0,l.kt)("h2",{id:"install-the-metamask-extension-from-the-store"},"Install the MetaMask Extension from the Store"),(0,l.kt)("p",null,"Visit the ",(0,l.kt)("a",{parentName:"p",href:"https://chrome.google.com/webstore/detail/nkbihfbeogaeaoehlefnkodbefgpgknn"},"browser extension marketplace")," and download the MetaMask extension."),(0,l.kt)("p",null,(0,l.kt)("img",{alt:"img",src:n(13241).Z})),(0,l.kt)("h2",{id:"create-a-metamask-wallet-or-import-one"},"Create a MetaMask Wallet or Import One"),(0,l.kt)("p",null,"We would suggest creating a new one if you haven\u2019t done so."),(0,l.kt)("p",null,(0,l.kt)("img",{alt:"img",src:n(37613).Z})),(0,l.kt)("p",null,"Click import wallet if you have an existing wallet."),(0,l.kt)("p",null,"Set up your password and secret recovery phrase somewhere safe."),(0,l.kt)("h2",{id:"manual-setup-to-connect-to-syscoin-rollux-networks"},"Manual Setup to connect to Syscoin Rollux networks"),(0,l.kt)("p",null,"Switch the connected blockchain by clicking on the tab saying Main Ethereum Network."),(0,l.kt)("p",null,(0,l.kt)("img",{alt:"img",src:n(36252).Z})),(0,l.kt)("p",null,"Scroll down until you find Custom RPC."),(0,l.kt)("p",null,(0,l.kt)("img",{alt:"img",src:n(36330).Z})),(0,l.kt)("p",null,"Enter the Syscoin Rollux settings as follows:"),(0,l.kt)("h3",{id:"rollux-testnet-details"},"Rollux Testnet Details"),(0,l.kt)("p",null,"The testnet uses test SYS (TSYS), which has no value and is used for testing code before deploying it on mainnet. There is no need to add this network if you don't want to test anything."),(0,l.kt)("ul",null,(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("strong",{parentName:"li"},"Network Name:")," Rollux Testnet"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("strong",{parentName:"li"},"RPC:")," ",(0,l.kt)("a",{parentName:"li",href:"https://rpc-tanenbaum.rollux.com"},"https://rpc-tanenbaum.rollux.com")),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("strong",{parentName:"li"},"Chain ID:")," 57000"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("strong",{parentName:"li"},"Currency Symbol:")," TSYS"),(0,l.kt)("li",{parentName:"ul"},(0,l.kt)("strong",{parentName:"li"},"Block Explorer:")," ",(0,l.kt)("a",{parentName:"li",href:"https://rollux.tanenbaum.io/"},"https://rollux.tanenbaum.io/"))),(0,l.kt)("p",null,"Once this information has been entered click ",(0,l.kt)("strong",{parentName:"p"},"Save"),"."),(0,l.kt)("p",null,"You have now connected to the Syscoin Rollux Testnet with your Metamask Wallet!"),(0,l.kt)("blockquote",null,(0,l.kt)("p",{parentName:"blockquote"},(0,l.kt)("strong",{parentName:"p"},"Transactions on the Rollux testnet require TSYS (Test SYS) which is used for gas."))),(0,l.kt)("h3",{id:"how-to-get-tsys"},"How to get TSYS"),(0,l.kt)("p",null,"If you do not own any TSYS, you have a couple of options."),(0,l.kt)("ol",null,(0,l.kt)("li",{parentName:"ol"},(0,l.kt)("p",{parentName:"li"},"Use the ",(0,l.kt)("strong",{parentName:"p"},(0,l.kt)("a",{parentName:"strong",href:"https://faucet.tanenbaum.io/"},"Tanenbaum Authenticated Faucet"))," which provides TSYS on the Tanenbaum (testnet) L1, then use the Rollux Portal (described further down) to transfer it to Rollux. ")),(0,l.kt)("li",{parentName:"ol"},(0,l.kt)("p",{parentName:"li"},"Request some Rollux TSYS in the official Syscoin Discord. This TSYS already exists on Rollux, making things even easier for you. Just jump in and say \u201cPlease send me some Rollux TestSYS.\u201d, and provide your Rollux address. Someone will respond shortly."))),(0,l.kt)("h3",{id:"rollux-portal-bridge-dapp"},"Rollux Portal (bridge dapp)"),(0,l.kt)("p",null,"Makes it easy to bridge SYS and tokens between the NEVM Tanenbaum L1 and Rollux. This is a native lock/mint bridge.",(0,l.kt)("br",{parentName:"p"}),"\n","To use it, go to ",(0,l.kt)("strong",{parentName:"p"},(0,l.kt)("a",{parentName:"strong",href:"https://bridge-testnet.syscoin.org/"},"https://bridge-testnet.syscoin.org/"))," and click button ",(0,l.kt)("inlineCode",{parentName:"p"},"Rollux Portal"),"."))}A.isMDXComponent=!0},13241:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=n.p+"assets/images/mm-236bc33f156332fbcb28922ae6f1f740.png"},36252:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbcAAABaCAIAAAC0WI9UAAAjgklEQVR42uydeXwT17n3z8xotMxIsmxJli15B2HHxtd2wtIACUtYemko4TaGAOECZU2Te0n6htAkTUqb7YVwb+F94aakoZA3kDSQlkKBFEOBLCZhSTAYGxsZW14kW5stydpHM/N+pBHGNl6EbYxoz/ejP2T56MxzRuf85nnOynO2uwAEAoFAbiIRk19++WVOTg6O4zweD4V3BAKBQLpBURRN00wYqJIQCATSHZqmg8EgwzAAAKiSEAgE0oNKsjeBKgmBQCDd4fSRew9VEgKBQHoWSqiSEAgEAlUSAoFABgSCIJxQQpWEQCCQvoAqCYFAIFAlIRAIBKokBAKBQJWEQCAQqJIQCAQCVRICgUCgSkIgEAhUSQgEAoEqCYFAIP/M8OAtgEAg9wRda/CbJt/llkC1jWp00DYv7aFYAACBI3IRlhqH5SjwgiT+DzRCbQIPqiQEAvknEscDle6/XvdUWakeE7gp1k0FG5zB0kY/90mOAp8ziijOJe+JXEKVhEAgw8Q5g/+9i85D1V7uT7kIfTRdOEYtyFXg6TJcSaAkHwmpZIC1eJh6O1VppS4a/V/W+6qsVJXV8e5Zx9xs0TNjpOM1AqiSEAjkH4omZ/Ctrx1/vOrm/lw8mnwyl5ySIewxsZiPiPlYpgwLJ5AAAM7ofZ9VuvdddR+q9h6q9j41mnx1UlyKdJjkC4FnKEIgkLvKR+Wul0+2ucN9js+Pl64dI1GR2ADyMbnp311s33rOCQAgceSd6fFL8sV3w2CJmDx27Fhubq5IJBIIBP2LMcPQXkM1mZo7PDfU36wTJGthxYJA/jF48UTrrkshV2xeDvHao/GZsi76aGys/frS389Zblxj6TqEMDGikC/JotKArAATzUzT/HBMvkql5BKrSOxXk2X/XiB548u2g1We//y89XJLYMuMhHvvS1r0146/vfKxWTNU01YiEiXCuys9AmzAQ9uN+sPbvi+vevyN/YQ0/n6sEG63x+lyu91ur88fCFA0w3RsdwyBDFN4iCAYivL5uEgoIElSKiZJkrgnlngpZulh24kbXgDAb2clLCu45fd53c6Pj36wq91cwfSvcTJK8t+azH+b/RiC4x0f7rnseuF4KwBgxgjRhz+Wi3D0XvqSxhvVeoPl4MHPJ1z8W1bRBOED03kZY1GJcmjEkQmyTgtV85Xr6t91uppva50up6PVqL+/VJJhGZPZZrW1erw+2Eoh9xaWZYM0HfTSHq/P1uYAABAioUKeoEqUowg6nBJZ/JmltNGfGsf74HH5uJvjLUGK2r5/y688nEcZlRtox9t/0ah4c7tzX9p3ufOmAzRUimUF4lwFvvJISIWLP7MceFI5tELZmX5UMhjwX//mOACgta2txCN8iCl/oOKURD2Kl/4gnjcLU45AhNIB/paetqCxPHC1JNh0xWlu/N6lLK9u5P5VffZESk7R/VIpm00WY7MpSNMAAD6Oy+KkEpIQESKhgI+iKIIgsN1ChlklGYbx+QNej7fd7bE7nB6vr6HJaGw2qZNVySrl8Jix9LCttNGfLcc/+UliR5T9zTd/+2nlN0aGvDORYsRiKhMAsLjhIc3blR/PF0lHjQAAjNMIDi1QLfyTubTRv/Swbf9PlPcm4naYm3b/r6dcreaOT0ZkaCbI2uKECAAsL3McL+MH/LyZqCQR8PhRXZDy0vZm6uoxqv5C0FAOWNDiF3xrERoaDR1JUnMfmv/6eyKJLPbja32j0eV2AwDi4qRJSrksTgpbKSTWsDucLRabw+EEAIhJMiNVfbdjcK4vMjWOd2iBqkMit+5756YLeWfE+x+Kpwo7f7JNfeXRBVO593V2eu6npkZHcEWReKj6KLtF3NjLr7zSR+rr505dOXUQAbccojZ7e2NAEifiS3kUazcG9eepypOUsRKwDOoxhzwnv7PHF9Nc7q895y/9g/fMDkp/gXGaA0G2yq/4+7U2e2tb54s6Lc05E2ZIFUmxXPOstrbrN/SBQEAkFIzISEtRJwmFAtggITGIUChQJMSLScLj8Xq8XoutTcDnE4ToLl3uo3LX21+FIv0DTypHJ0Z6Ei/tXsPgXzgZgZ654860RP9kFHRxwv7WrhJ+/3XhuJBHGS9EH0rm7y13X2oJaKRYgYo/+CII+HydTqdUKnEc5/F4fUXcQSpQVXq8s0RGhLK1tcQjLMpKzBNZRTjCuCxM1Qmm+oRALsICjt5yY0QKh8kJbkagLj97zp5QVVvfY+Kq0hJNdmHMVjuTxapvCDm/iQp5RpoGhtWQ2EcWJ42TSvQNBrPVdkPfQDO0SqkY8qs0OYMvn2zjhms6+iIv7V4zRrJvDADz8atldPJH/sL/Fyj0sng0GYqpETy2hwh9W+AhsKNk2bMzudD7t7MSXjje+vLJtqnpwiGfR9lXf6fP5WhrbuzxX36f79vKhi+sMrMnMobLsIDiSRkA2F5engDWIZGmAPF5E1FV29jbpZ3Wllj2IjmJTFEnZaanQImE3C8gCJKZnpKiDkVp+gaD1dY25Jd462uHm2Ln5RAdI9qV+98YI9nXkaAQa/4v4nN93JYtxN8KeP03c0kwu7d/bQs8VPLHr7j3ywrE83IIN8W+9bVjyAvVl0qKJDJVZk4fCWrqjScaBdcdPIYJq6rVdLvjGdFQPhlwhn6SQJCt8Cn/WuG0mC195Byz4bbb7amtb+QkUpOsgg0Pct+hSVZxQllb3+h2e4Yw53MGP7e65rVHI2G188qpfHTT7SlJhForOF8qef+weG8x/2qvkS+tENHJfVxxQ3NuQ0Ud95676B+vus8Z/MOnkhgPV6Rm9f39tra2M3X+b1slXoplaMAIe/bhg0DEMIjLz37ZmnDmUp3f5+trGiELVFkPxGYN0zcaWZZNVMihRELua6FMVMhZltU3Gocw2/cuOrnVNZERGzpIV67q+yvT8Nrd5J+vSbe9LPwiFevuBoqD/S8wWXPIx9AhNy1Thj0/XtphxjCpJAAgaWT/ahXw+b6vaTnZQja7mADVszPpcziaA+TnBrL6RmMUcQHQZBfEYN1qNllcbrdIKMhI08CWBrmvyUjTiIQCl9vdbLIMSYa61iC3jcXaMRLuk/o/v6HgmaL5birmeFX0xTXptt3kn6fhtRFtYnEpld3vd1tEiScPlHLvuUsfqvbqWoPDp5KK1JF8YVSTBuoNlpONwsp6K4t275QNosJyj+KvVx1mkzmarFQjcgWEONZqFcMyxubQT56WooZ9kZD7HQRB0lLUAABjs4lhmcFneKDSzW1jwa3RZnzuLOS/7jSTYv7Vw+K9pZL31wouKOh0BEQ1c2hDc27QH+CWMC4eTXYYM0wqKSCk8er0KPNqs7edqWNbXcGu0TNoag3+/WJDwB/tuhRF6ggBIYm1WmUy24I0HRcnhZMiIf8YyOKkcXHSIE2bzLbB5/bX6x4AwJO5kfHo+pL3B5xVAa9lC/H5ROYORODc8e+5N5wBnDFDRT9D5iiKJmgyTbXXosxupEYhEvkA6+oIvBEWiDE2VZ3Q0NwaZSa4kEDQmHPWrLaQ/UlKef8pvd6Sen2Z2WJod9EsiyGIRiIuTFTOTM9QiESwcUJihySl3OFwWm2tg1yTo2sNVlkpuQjt2AwNdewFg6vs6Xjd5cCDUSZ+rwyZ+OPQmykZQrkIrbJSutbgUG3Z248v2VJbeeP86Wgy4gsEk/OSxsY7MB6vS98kAkQ8ZIbaVzRKHaVNjZUX21vNMVWZ3G6Px+vjFiD2nfJ0Q+O6U6cP19Q2ONvp8FYXNMs2ONsP19SuO3X6dEPjsNnsqTy658PdZxuhFED6cif5OO7x+gY52P2tIRQpPpoekUiPuSlLVD1I29J5ddEnrpCMdFkjgz+cGd80+YYp4lZlPTB66uP9bmsjlkgnayV5YicfQ9jb8mQBK8KRsXH2yflqvkDQX4xPjhz7KClTxFRlcrrcXJXqVyJ3XrlC97IPEM2yO69ciV4oLcdfX7xo4eI1e3V0t3+UbFy0cPGihXvK+1T2xnMnjpdct99BTdsTzrbr6/UTlh4N6+Hz2KJ89+JFC5dtP9+p9ZtPvL5w8aLdFffIooo/3Mur9yGUHTV8wFxuCQAAxqgjrdtw6eTgDUvn1d6ZP3s5kp4zgzNpOCLugMdtbqztO/qVJcRPS6HVhBeEfUiaCUXLbBeVDH3Ox5A8wi7MlpXWeV3tvQ7V+z1ur9NB+Tw8nB9LvmSoDkn6XP1q9Xo/KC/vN6sPysvzlYqoQ28c950+X/O0ttNYn+X7rw0SArT38/BXzvrNvll3XlTV1FVLxnVaQo9rJGHFeadEu3TbxlmJ95evRJ3dffCH4xaPvDMte/ukdtm238xQxmKJPv7kk0kTJ6alpfWWoKGhofRs6cKnFkaZoYQkzFZbuIYPvMDcCTa5isjIrcv4DZCA4fQlQ7JYZSl6DHSYUW2jhsmXlCqTR42dKhB1VwcUAWIB+JdM2Q8LE2eq/Wqik7fD0t1cKYbu+BaiJVwzR+EzCxIyEkUEvwf5JWXynIdnxdpWF16fHwAg6nPpa0m9no5iN0maZUvq9VFfOWPKZM2ZC7pOnxgunDJMmTzpbhVVkpH3YGHhrVeeUngfR5TKkcqzfy61/wPFyF6PZ/PmzQ0NDb1J5ObNm6uuVXk80UbQXK3maviAaXSEGnm6LKKSIuT64Euaht+ZSpa1RvwqzgzOpOHwJcNTJnM7mj4PA2I+kpuZmKPmJ4qC/IDD4UXoQFexY5jO2hv+bpcEatyHKRMeVrncAk2LC72id9Y3O9wBNshwEbdYnBBzD/FAIPRcEgr6cm/LzNGGoGVmy6KcaKfNa8ZO0mw/p1uo1XKTIoxlZ+xTV+VSx47cSmMv2/s/75dU2Ckg1BTOXf7s43kEFoqLn/9QN+PlT5blc+/Jxesyyz48UmGncPXE1eufm6CKNvB//sOQTOs+XLe4dPnW38yMuGmG0h2bdp41AiJ10uoNq8dyu7HQ9rJPtv/+VIXdhxPZk5avWj1BzcXyb55QZxTiwICNe/bX87TYLZtxiXbi0jWrJmjCEfG6PTUzX/l4eV4kQF63B4SuqLSUbFy3GxQ/l3flD0erPZQw44kNr/0IP71j06dl7YDIfvyl9fO1PTn6solLZl7+77+Uj1uWf9uq4R5M5QwIlXXPuoWlS7dtHFGy6vWjo57Ztf4RAgDzsZfX7dO8sOe5cTgAhoPrXjqgfnbnhgkS4Kkt2b3z0wuNHkooy5u25mcLC8OzqruXustdPfb683v12qVb7tQ9X7Fixa5duzZv3vzSSy918yg5iZTL5Rs2bCCIaHf94Wo1V8MHjM0bkiQlEWn5KmHD4BudCPGqMYORjnZucjUWqdCcGZxJw+FLAgCyiib9cO1rWo1szg9S185M+4+p4hkpraloi8BvDQg1dKB78N9t7hUCAHOby8g4WoOEhvCbRuDN87Su56Yn/HR6+o/Gp6Wo4ue8sClZOzrWVJIOr8FE0b5ulyHqE4QMd3TWUFLhRNXp8zU3v/v96bZHxmvBrTpNle9ev/moQbvg2Rc3rJqMV3z65tave3SeyvZ/XKdd8PNV8/JIY+mOHSVRirqscMH64pBqKaetXv9U4U0nX79/79eJc36+araGajy9defp8CWpir0vv3vMoPnX1evXPJ5pOb3j17srOvrQiUnL3nxn65shiaQqd7+6+ahB/fiqF1f/KNVyZvvre8r7b6W6vxyx/+Cnq5dOzaD1f3l77c+2XcpYtGbZZA1VfXDzn3W9fCluwsKZlXuPGLo3mR5NjS98akNxPgAgccrKDcWF8SCzaCIOrnPb+rXrKow4Xn49HAh46nVmMLJIKwHAVLL517svoOMXP7dh1TTZ9WObXv2w4pYj16nUtzAd3bFXh2c//eyAejBWrFhRVFTUzaMcmER21Gquhg8Y7hxt8mZ0GM+zDkm7S78Td9IiiMw/4czgTBomXxIAkPfg2AIdDw20gE5VjRYpPeYeljcFA3TXGQAsYLvLJMsCp8kUnygHXhsACC/gTAbO5DhQMEWLjhh5n4ZCdNSHN9B3dsxDYuFEzfrSisXZeQAYLn/VNuWnWov+o07/H/fsi+M0ueHQuADojm86c8MAJt/eZZEx/5UNs0OP21H8uhU7ygzmHjuianY/v2h3x1/hvsi8wpHnAaiQpeYV5na0as389TdzM67YUabT01MLPeePHbcTs3/zSrEWAFAYZ1+8ueRs1fI8bnenjAxlRCk8F46U2CU/2vjy/JB2FMTbl2w6cbZiWX4/syAyFrywKiQrE5W2cxuPgBk/+2VxNgCTM9xVLx747qrhaW3PXkfqrOLUtR+fnbr+kU4ftvds6qrCQu23AJTHZeQX5oXuzqi8seCErs4OtGTlpbKxM2ffuFDR+LQ2te56BVA+EUpScXSvjspbtWH1FBkAE/KUgbVvn/y0dM7Nbs1bpe74+c3HduzVSaauXz9zwEFTN49ywBIZ46Txar8Bk+7Jpc22NmmLRSgURnWiQ0hKLVfQrluisSzwOtxOLJ1lggjLIAiL4jiKAJYJ8ignALcepbRAHnABmi9lUR4LWNofZAECUARDANHeLOx6fbxNR7utQBBz07YxFA3SNMMwGNbrYgAMQaKUP+wOlu7oDRYw48FJGR+fr1ial2cKh9sjAejUsYkrlODE+xu3v2nvZ+YDfnPHeyKujxkEXUdvcE18dLk1WVoBaLleBgA49vriY50c5x4WXNWF0x3duORop3RmC+hHJfGb914mD+lhYmTHVZyUAFBjtwPQS2xGjF3w9NFfH9FNmNnpvvZmajfnDs8rKATv6fU0wCvOFxb8blzC6X2V5ieEBj1FjM3XAGA26imgytNGbhk+Kq8InCw1tPQ2FlLy9pKSkC4/83Th4NSsQygXLlz4ySefDFgimbAXiaGDOg6BwBE3xboDrDjsx7UFFVGuTRxCX1Lpt3E/nzvAciYNoy/J0kjdF90+QxAgEItwW5vD7ApF1Z3siYvv2gHE0J42v4/ydnRTouE4XK6OFwgx0HW1JQIAWnOCGbcm1lSSz8eDXtrnD5C9D+BoJOIGZ3tUXY2S6NdfUiH/XZk3LmnvhcrlsvrTbY+s0WKgU7BMXXj/xa1fkROe27I8Pz68ld/2s4Mpanj0ZjAdwxkL3nl1WietERIA9BTcp89/65VOASeGE6Dtbv1+yqnFD67dd7JoYv+m3tb+c4q04KjeqHOfyyicQ2hlk/Sf6+wqvQ6fVJw5AFPyip8bVbbzYNmR44YJ8zTYEAjlrl27UlNTB+xF+sJr+/h8fDCWyEWYmwpaPIyYHyqSyZemEA+FSt7JMHc2bQLggVDo7WE4kwZ16RR19ogMkUgkFAqjeIC4rYi5h62NeH6bFG8XK2URiWSBTxh6uPNICei0lJtlGZ5YDHBhUCiJdFOyIC41WSwOIsHuU7RYABDjd0jAHWsqKQrvQ+71ePtIU5gYrbZEn7JDVwseSTxz4eiFr9qmjO22S0qbvZkCqY8/MUFDSAiCDjju4W1K0mgB0FfWBSQEwb0Iguih9Sk1IwGor9DTnZKF0iWqM0IVznPTKaaGbC4HnvdvPyU/3X2i/U5NDT2iClVm3VfndERRrhIAbd7YiutndBVgbN6oUDOMlyXjwFShi3QFU9crLgGg1fS6859GO2H+8ysL8cb92w4bBl+wFStWzJ07dzCBNlerRYPbaT81LnQv6u2RH8zLjhqafsk7UcnChMgYCWcGZ9KQ0L9KItZroK2HESsEAYQyUYy1ixNIH6n4nMn+1RWBm1DxUJbm3frBEIbhE8ImnmrDFcl5dERAKpcmK0WeRiHai+I0l7Eea6ypJEmSAID2PtcnzEzPiCaUxhBkZnrGnRqgeXBq4hef/sU+dVz3blsxGY+DxiMHjpSWfbH/7V++XwEA8LgHLi/t+orvy8puvSosvpuacuboiXO6vm6BclLxdBko371x29Gz35edObT91Z/fNiU+3JM6sXimDFTs+dVvj50tK/vi4I5frdsXXqmhGZEHQOmeLfvPnC3Zt/mt/fVD9xPKJi6aAwym/k1N5Mp6rORCDVdWTd5YouJ4iWHs6FBELxxdlPf10ZNmrTYjLKr42MfnaUDFnk3vnzhbdmbv6++e9MimL5jY53NQ9sia1YW44cCb+2qGoGRz584dTF8kV6u5Gj5gsuWhm1FpjdQ7sfrhIeqX1PNAtLv7FOREbjpnRo4CH0aVvHGm1y+3N/KlCTJpMFlF/UuyT5vMr/DxAcuCTgda0nwpTVOlJvoHmfwRqkCa0ivj24VJSai/l+A04Eau/y3WVFIqJrlTlvpIoxCJVubn95vVyvz8gazmVhdOSaLA+CJt9wckMWHpz2dnB8o+3r7146van22YLQHAYBn4DEHT6d9v2fTurdenZe0hTVk8LwPUl+z78FKf/g+Rt/Sd9fPy+Jf37tiyac8xvXpGUY9yQeQvf+uleXn4pX3bN737hyP1STO5IF826bn1s7UB3cHf7/xUl7l69eSh/BE1s+ZPwPs3VfnIkieygP743j3fRcqaMaKIoqhxuZwXT6RrxZ72xFsDWanzNr65fCxzbt/2Tb8/ZR81e8NbS/P6Ey3ZhOVPa3H7sa09PkWGFa5WczV8wBQk8QEAF42RSZfJBdOHyrzouyYfeHAE94YzgzNpSOjnDEXgtmKfLQH2Xmc/MaQ6EKCFlIkNB8wenpTx06RYgPoie1tQhMblbBcKUFHQDpDwsA8tFhEIEui1C49Nf5j50f8BeGwN1ZVXVnu8vuyRmX2vUzzd0PhBeXmPwzgYgqzMz5+algogkNjA7nBW19QRImF+bvZg8tG1Bsd9YJSL0Jr/SImEvR89NPil3ACA563vn/L2v4Ysr71m7+vjufcj/2+TzcucX6ke8G4XEjF5+vTp0aNHR9UviVqv9SGRoQRuIxr0cB2OoRicdgrEMoB0cXgkcVIRbY90XyIAJ4R9SGQoifEy4rHFWn1SyBMAAC2Wfgybmpa6bdrUH4/MSpNKuAAcQ5A0qeTHI7O2TZsKJRISU3D1mavbg0GbwMtR4DYvc0Yf6VT2SP59OLsmfzM24sae0ftsXiZHgQ/VhkD9jXEzdPDbD3gCedgvYiPraFiWCVIMygMIDwAGsCxKeRAMcHPJEQBQpGsIwTIIuDVhNSQb/vYALkNCUTnCUn4ejoYidOSmiIYdTrr0d+jst2KqPqkS5cZmk8PhtDucfbuTCpFoUc4D0a+ugUDulSPpcDh5GKZKlA8+tzmjiCqr47NKN7d5mnbWSnD01eGJuPlMIGt6pCf0s/D+u3NGDWUk2qdKolggZYpTd6WzxoUja8QF4v1tNu4PYYJckYAQmB1QHsCpJNNlswuU8xxZwJIKtwuYzcGgz8dlRioVQua2+XQsEE97DI2xKoUiqDpZ1dBkbGgyxkklcLtyyH0Ny7INTUYAgDpZhSJD0NqKc8l3zzr2XXW/NlmmIjGeiLzM/KIA/d+DzDYjCl/yj1llAP9XAIDJTe8LH09WnEsOZdvvR6RzZwCBpOO4WDbiULIi2owQMpoBNIMwqMjTam2nCJZMCimp3wE6O490EAmH5IwkxdXq8TrbWYGUZhCaAZhMJaDMtx9KiyZqsZRYPPcmWaUUk6TX5+dOmoVA7l/0DQavzy8myUHuv9s56J6bLQIA/O5ipD8t999+YQ0O9hC9tP72TytqvZI5N9JxyV16brZoCMPt/lUSIeIxde7tn2MYIEjsZgjOIgAEnM42ky1Iahwev7k90MpL4l4NNld7gKUIjaPFFAgEEYRFsFABEB4uxtp7fIZhqlGAiI/NupWRqkYQxGy1GZpNsKVB7lMMzSaz1YYgSEaqegizfWaMFACw9Zyzzk6HxIXH82XvGmSeCswiRfuaW7L939NBeOFQnZ3ees7ZYcYwqqSAxJPzenYzKTORGHpQ8HiR2DPIE9vwrLe+lz/xkXX2+3ruteiA/X+uq9t56TQq4mZZouGhHUKewGN6Hl7HM8chCBqb1Yskiaz0VABAk7EFCiXkPpXIJmMLACArPZUkh7L/brxG8FT4cK43vowso0oumnKZ+cUgs+1jO97fp14mtJHTsLmLPjWaHK8RDKtKhkRwxISev4kAEWXgEVIeoFm+mH5gdnDKS9asOVfahCYX2/lVy6Y4Rj/ln/wSk/4wwhOhAPATkkRBY4+H0iJiBZ4xJpYrmUIez50022RsqatvYlkWNjzIfQHLsnX1TZxEZqRpFPKhj9henRRH4sjBKs+eyxEfaPT8X15sXzy4oLvnrsl1/O/GPDmNe7/nsutglYfEkVcnxQ15ofqP3lF5OqbS0qYedqbCeIiAh3kScwSjZ9CogAUgEHBiWPc8nS43RVEIP47KfRIfOcN38Zi4XYf0slETlpSDxGq43YFKqcBQrLa+0Wy1tbtcaSlqeLAiJMaxO5wNTUavz48gSFZ66t2QSABAipT3zvT4//y89YXjrbkKfFzYrStavvPibjBGsi/6fNwsWU9l1Qez6qkM0NNI6Tr+d8uejWxfct7gf+F4KwDgnenxKVLevVBJMgFN7K6SCMbHkh/AErVIwggbluBiAB+hUQRrtTuEfN5jj3bZVYCiKHt7u0oup+igFxEJH/6JBDhZw2XWeiPY3H3eKS/lXwB+Hxw0qJDHi4QCfaPR5XZX19TFxUmTlHKolZDY1McWi80RXmMjJsmMVPXQBtrdWJIvvtwS2HXJtfKI7dACVWZ4R+Ki5TuvHVA/gLzbg4cLEH0ws4HKqqcz6wOZ+mBWfTDTTCf1cYlNyZUzn4pIZJ2dXnnEBgBYUSRekn9XzvHvb+1NGH/ZIe/hjQgCkIR0LFHLSy3AR05ESDkiknKzKs111TZDLS4U4CxraDYJuu4vwrCIUp4QYGkaAHVWbnxSOjftEnjsjMNI1ZyljRW0qZp2mhAAJCv3Ycm591EVbDZZjM2mYKhwgDtkUUISIkIkFPBRFIUThiDDH1YzDOPzB7web7vbY3c4A+FdQ3gYpk5WDdWIdr/M/5PlxA1vthz/5CeJnFCGPMTyU6bLG9qArJ7Oqqcy64OZYYcxkwXRNpMkr3nnXGFaXmaHRC78k7naRs0YIdr/kyErWre1N1GpJGM3+M7+gZ/zGKoYiZDxCNbDMnKPs814/YrH0RqkAt2KjKEYiwCpQp2SXcAX9TSPifKyHnvQWBGoKSUeW4cQsvurXjIsYzLbrLZWj9cHWykk1iBEQoU8QZUoR4dxUNRLMcWfWUob/alxvA8el4/rGFFhmKqDJxY2DGTsYVNy5fTiiSiGdgTaK4/YGh3BiamCA08qRTh6L1UySoIBv6WpxlR7jaa7LL8RCskkbX68KgXFsH/s6uh2e5wut9vt9vr8gQBFMwwc24EMMwiCYCjK5+MioYAkSamYvKvxdd9CufSw7cQNLwDgt7MSlhXcCofZAFV98ts3L/IrJP2fTZDXXvNMITt+1oO8TgdP7bns4voiZ4wQffhj+RBK5N1VSY6A14V0dSbpICWUyGD1hUD+CXnxROuuSyGRmZdDvPZofEf0HVHSVkfVpdrLVZayVn41puLOrlH6bdm0qTAhUJCj1BZkiRVdhq3r7PQbX7YdrPJwfZFbZiQMuc13XSUhEAikMx+Vu14+2eYOH9f1/Hjp2jESFTmQsNLkpn93sZ2bOk7iyDvT4+/ScA1USQgEMtw0OYNvfe3449XIMQSLR5NP5pLcvhjRcEbv+6zSve/m158aTb46Ke5uTPqBKgmBQO4l5wz+9y46D1VHzimQi9BH04Vj1IJcBZ4uw5UEyh0S6w6wFg9Tb6cqrdRFo//Lep/NG5lfPTdb9MwY6ZCvroEqCYFAYghda/BApfuv1z1V1mhPHslR4HNGEcW55NBuYxGlSvLgbwaBQIYTbQLvlUlxr0yK07UGvzX4LrcEqqxUo4O2eWkPFTkkVi7CUuOwbDlekMR/OEU4POLYG1AlIRDIPZNLbYJ4SX6s24nCnwoCgUCgSkIgEAhUSQgEAoEqCYFAIFAlIRAIBKokBAKBQJWEQCAQqJIQCAQCVRICgUCgSkIgEAgEqiQEAoFAlYRAIBCokhAIBAJVEgKBQKBKQiAQCFRJCAQCgSoJgUAgUCUhEAgEqiQEAoFAusGTiEl4FyAQCAT6khAIBDIQ/n8AAAD//23hEvBRbqDtAAAAAElFTkSuQmCC"},36330:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAABACAIAAADtbpkzAAALJUlEQVR42uyd/0/bdvrA3/Y7MTgxGJKFmTkNpA0zgbYqaj/1p+nKZ5+xVc2VjR1StUon7Y/b6aSdNtHb1IlTT3S9MqWXipUdvRbSZgTSBFxSQp04uDixfUrCl0BLoQNKYM/rJ/DX5IlfPM/7edvBcvr0aQQAwMGHhBAAAMgMAADIDAAAyAwAwCuxbLG6BEmC8wBwkGWmKMpisUCMAOBgl9nlnAwBAoDDIDNEBwAOg8wwTgaAQyIzAAAgMwAAIDMAACAzAIDMAACAzAAAgMwAAIDMAACAzAAAMgMAADIDAAAyAwAAMgMAyAwAAMgMAMD+Ycnn869cUSgU9us12e12v99/5MgRlmVJkjQMQ5blJ0+ejI+P53I5+MwA4JUQm/1HC5vNti8vqK2tTRTF8fHxqamphYUFwzBIkmxsbGxtbfX7/eFw+PHjx7tzJsbTda5LaGIpjJCpa5lU7MHISDSt7957YXwB0UOr8XAoqrzdKDrE/l6BWb/M1NWF+FgoFKl4i75Pvgw0b9xZX0zH/xMKTawPBcF4TgW6BFcpXkjX5NTkg5F70XQBJKqazFxVr6atre348eODg4Pz8/OrCw3DmC8xNTXV3d2NENoFn11n+i51sARS01JyUUeIYps5IdDr9YS+uxlVd+ntUA6OdzOKQu1TONV0Ir32XmpY3uUVL/NNt78enl4nryJJ8pqTFNvs8p7t5d+rCAXhOvNZsIMtHlJKqKV4cVx7oNfbEvp+aNfiBRwame12uyiKG0yuZH5+/vbt28FgcGZmZkf1NuXt6elgkRK9ORhKrFyJFk789KLgDnzYER98qB2KD1eeuDkUrfidbrvYd47znuoamx6VK5xP/jwUrgw57bvYF+DcXV1cNCSV4vX/5XgNDYaSK/HCnNh3UeAD/9cR//shiRfIvGsIgjA+Pr6Zyas+j4+PC4Jw796933witvMkTyE1GlozGSFUkML/ino/8blafNTDh9pypapEfhhYu9CdYv/l4rLrA+F0eUmDcOGDk55GGhMI6Wo6Pjb8U0Q2V7YsF9vtvV+2I2Xi+sDd5Z2wQ/jwQhdXT2GiWK9KvwzfWqtpy+eVwt9PN60cWc8mR34cijzH3ImewEmOwcUMGf35Vmjyzap39fGE9D+ch3W5EJJft110NNYVFGiOZ5EkF+PlLsXrTrIiXroUDkVbL/qaluMF7DtV1M12u91TU1NbbjY1NeV2u3dS/PIci5CWjEkb18zOJpc0jayht3kk55n+T0VvI1akZDKRTKm0wyv2/eEEixDKTo7eDd+fLV7j2uz98N3waGxZPKrlQv9lka9Hpb0kxWT5s71XPvKtP6mj65LIIVlKJlMKwnW8eOmiGOi7eIpRZ4uL9FqH74Pgy8Pd3UI318bLlLscr0nJ3LCVNDujaUu4xgYeQWZeT319/cLCwpabLSws1NfX76QtVVf0RlWzL6+KDf81tv0DeY4LDIHSo99dv6+WB5biH4OCs7Oz+X5oNhWbSDnqO080U5o8HZlIr7SRPIFzXppQIoMD4dTycFT8PCi4z4gt0VtrQ1lKmxwcuFvagmDPfNbXwXLCsdTIt4MPS6eiO4NXTrt8x32h2ej2XzDd1s5ZEJpLxLe4KPjOFgYhVUoW8zdjL8VrUXlVvL6OgUMg8yuKhNIs1JablfvbO28OZXerwUzg5R/M1NhPoecOrLzmyJ6jPIXQ7NiyyaW9wr/EfRc8nvd9aHrVTCX568oWpvw4oXSwDJIeP1RXC+bp1GmXq87pQNH05uOJ9o96WlZ+wTYH56CREhv+54aimOZP9/Ssb4AxGGmJ0dGK2kXNKWALyLxdypZu6fM2nX8LxO+GpeYAd6r/T0I6JaWmJx9Ek9HI3Ot2cbzrwAjJqfUVfnIujTyvMVPOKAgxilyxUtO2MYVGO9z8+iVaOjEpbWw+Y4bjK6ex9MV07OWpKQBk3j6ZTKaxsfH1DTCEUGNjYyaT2fHZ6DoGoR0mGzV641uJ93d1CR7O6+C8gqgrsTs3hrfqS23Mctsy8zcghb66sZrrcZ1H/PhDX3tPL77xzZ3Kvybrm3ybxcu+83gBv5sGWCKRaG1t3XKz1tbWRCKxg/Mo2WJqoum6l1d5L3xx9erlLnb7BysoyfvD17/9y1d//nrwblIlGe8HwQC3HTEqoCi89+HVs/HQzfsyQrTnKPdG8cqV4mVjXhWvq1e/6O1qAI9A5vVEIhG/3+90Ol+zjdPp9Pv9kUhkB+fRkpKMEMV7X7qkm5v5GorSsvKa86+B4dsFoX2lQDW11MTQrUcqQqUZnU1IPy3Wrqxr/an5JgdCKDuf3usQy6X3VMMwbxSvRDleRzliwxqu+T1qNV4AyLxGLpcLh8Pd3d2b+ex0Oru7u8Ph8A7v0JYfjCU1RB8LBNwV80GES/xfH4W05K/x5eHlcxUhhvOsmom59yvHlrjZL4pnAycr5ocYmio1ypf/DOil6hkTFXk3PpnUEOJOiq6K857yYKTFH0Wr9BqRH4wlNET7Auf4yvkz19mArwZpycdxEzyCMfNLlO/TDAaDe3tvthYbGmrqvyT4PrrCpZLy0loLV4kOhyaXe73Sw6jsO8Ge6OvnkvISpp2cAxU1Xbmg5bF/J33ned/HV11SStERZlxcA0bZyMj48hHkpymtk6HfvxC0K9KjG6MJhMx46E7M1e0VLl1xSWlVLx2WRlpiJDz9NryUFxFnQ5hAyHyTeP041PR5UPD1FOP1XCvFi3PVYZSNDt+JwQ0jIPOmPs/MzAiCcP78+fr6+nLvOpPJJBKJa9eu7dpTU6nwwLXZ0oMWPL/8oIV0fzQ0Gq/o8cij1/9R6Dl3knPxjKmrC9HhW/Nt/eJqdtImh755LgQCJz0cz5bvAIuFQ3ci6VVPEiPDE0xAcLl4Gj1lUKJ4cG16eOCHufJeDgKhgpy8W3kH2B7X2QpCNu5oBx158CZ3VJup8N8GZksPWvDu5QctivH6Ja5AWq4aqu6pKQAADvyYGQAAkBkAAJAZAEBmAABAZgAAdh/LgXvFpolyeXMxb6h5c0k3C4apG6YBEyTAzjMbgTBJWEiiBhO0lbBZSbuVIAiQebcxTLTwwpBVPasZditpp8j6WrIGE1aMLMRBijhQzXmiYJp5HS3p5ou8KWULubxRR5EsjRtrSZIAmXeMWjCf5fS0qjfUYocNexutoC6wFxAEshKElUQ2K4FqEULYNJG8ZMgvjIScd9D4HTumLQTI/FtY0k0pq+fyxjs2fPxdCoPEwFvXu6GWbKgl3SaeXzRiC3m7leTqcA0mQOY3QFL0uVyBYywtDRRcVcD+ggmiyY6b7Hgup0eeaU12S+l7FUHmbdTVT+RCDSb8LspKQjYGqogmO26kyZmM/mg+f4S1VFXVXXVTU2nVePRMc9pwS4MFTAaqECtJtDRYnDb86JmWVg3IzK9mrtToanNSNitoDFQ1TpqkLVRczheMYvkNmXnjIPm5ahxzWMFk4EBgsxLHHNbnqiEpOsi8LidnXhjHnFBaAwes5D7mtGReGHM5vXplfptfZ5tWjbSqex0WmHwCDhyYILwOS1rV9338vKnMb+3/M5d613kPa4WcDBzc/OxhrU/kvFowq1Tmt+PzE7ngZmGcDBz48bO76HOhSsfMWok9rbclRa/BhJOGh7eAA4+TJmswsY/NsC2mpvY0P78omL+mljqbahYX4QsegcMAi80HT5coo6Z2P24m2c+UOJstNNdZKAwFNnBIoDDRXGeZzRaqrszeUxbzhqIZHGOBKwA4THCMRdGMxbzxO5I5ldNddgyfPXD4cNlxaj+mnf8bAAD//xeM0oYwy9gVAAAAAElFTkSuQmCC"},37613:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a=n.p+"assets/images/mm_new_wallet-a53c3129bf5bc7891ef1b31b7c53e0d7.png"},46601:()=>{}}]); \ No newline at end of file diff --git a/assets/js/41a4b76b.c955c7c4.js b/assets/js/41a4b76b.c955c7c4.js deleted file mode 100644 index 2856ec37..00000000 --- a/assets/js/41a4b76b.c955c7c4.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[4934],{3905:(e,t,a)=>{a.d(t,{Zo:()=>p,kt:()=>m});var n=a(67294);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},p=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},h=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,r=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(a),h=o,m=u["".concat(l,".").concat(h)]||u[h]||d[h]||r;return a?n.createElement(m,i(i({ref:t},p),{},{components:a})):n.createElement(m,i({ref:t},p))}));function m(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=a.length,i=new Array(r);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:o,i[1]=s;for(var c=2;c{a.r(t),a.d(t,{default:()=>p,frontMatter:()=>r,metadata:()=>i,toc:()=>s});var n=a(87462),o=(a(67294),a(3905));const r={},i={unversionedId:"tech/rollux",id:"tech/rollux",isDocsHomePage:!1,title:"Rollux",description:'Rollux is a suite of rollup-based Layer 2 solutions designed to enable EVM users with near-instant low-cost transfers, executions, and contract deployments. Rollux utilizes Syscoin\'s Layer 1 for best-of-breed secure decentralized settlement and Syscoin PoDA for Layer 1 data availability, offering more efficiency, lower costs and higher throughput than other L1 DA alternatives. Rollups just work better on Syscoin. The reasons why are available in "Revealing the Method in the Madness".',source:"@site/docs/tech/rollux.mdx",sourceDirName:"tech",slug:"/tech/rollux",permalink:"/docs/tech/rollux",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"PoDA (Data Availability on Layer 1)",permalink:"/docs/tech/poda"},next:{title:"Syscoin Platform Tokens (SPTs)",permalink:"/docs/tech/tokens"}},s=[{value:"Rollux Optimistic Rollups",id:"rollux-optimistic-rollups",children:[]},{value:"How does Syscoin help rollups work optimally?",id:"how-does-syscoin-help-rollups-work-optimally",children:[{value:"Bitcoin Merge-Mined PoW",id:"bitcoin-merge-mined-pow",children:[]},{value:"Finality that is Decentralized and Fault Tolerant",id:"finality-that-is-decentralized-and-fault-tolerant",children:[]},{value:"Efficient Data Availability at Layer 1 with PoDA",id:"efficient-data-availability-at-layer-1-with-poda",children:[]}]},{value:"FAQ",id:"faq",children:[]}],l={toc:s},c="wrapper";function p(e){let{components:t,...a}=e;return(0,o.kt)(c,(0,n.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Rollux is a suite of rollup-based Layer 2 solutions designed to enable EVM users with near-instant low-cost transfers, executions, and contract deployments. Rollux utilizes Syscoin's Layer 1 for best-of-breed secure decentralized ",(0,o.kt)("a",{parentName:"p",href:"/docs/intro/syscoin-what#settlement-layer"},"settlement")," and Syscoin PoDA for Layer 1 data availability, offering more efficiency, lower costs and higher throughput than other L1 DA alternatives. Rollups just work better on Syscoin. The reasons why are available in ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://syscoin.org/news/revealing-the-method-in-the-madness"},'"Revealing the Method in the Madness"')),"."),(0,o.kt)("p",null,"As a suite, Rollux is set to encompass both Optimistic and ZK (zero-knowledge) based approaches, enabling users and projects to choose a network or solution that fits them best. Where appropriate and as tech evolves, Syscoin can hybridize between these in the future."),(0,o.kt)("p",null,"Check out ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://jsidhu.medium.com/the-ultimate-guide-to-rollups-f8c075571770"},"The Ultimate Guide to Rollups"))," for a technical overview of rollups and the differences between Optimistic and ZK rollups."),(0,o.kt)("h2",{id:"rollux-optimistic-rollups"},"Rollux Optimistic Rollups"),(0,o.kt)("p",null,"Syscoin's first Rollux implementation is based upon Optimism Bedrock and utilizes Syscoin PoDA for Layer 1 data availability."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"/docs/guides/rollux/metamask"},"Connect to Rollux Testnet"))),(0,o.kt)("table",null,(0,o.kt)("thead",{parentName:"table"},(0,o.kt)("tr",{parentName:"thead"},(0,o.kt)("th",{parentName:"tr",align:"left"},"Gas Cost Samples (rounded)"),(0,o.kt)("th",{parentName:"tr",align:null},"Rollux on Syscoin"),(0,o.kt)("th",{parentName:"tr",align:null},"Optimism on Ethereum"))),(0,o.kt)("tbody",{parentName:"table"},(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Approve spend (ERC-20)"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00007 SYS"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00017 ETH")),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Value transfer (ERC-20)"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00025 SYS"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00046 ETH")),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Value transfer (native coin)"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00004 SYS"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00010 ETH")))),(0,o.kt)("h2",{id:"how-does-syscoin-help-rollups-work-optimally"},"How does Syscoin help rollups work optimally?"),(0,o.kt)("p",null,"Rollups are the first technology to viably help scale EVM computation to massive user demand. Rollups are also key to achieving a near-optimal scenario in the blockchain trilemma. Syscoin asserts such a near-optimal scenario can only be achieved by supporting rollups with a holistically modular Layer 1 that offers proven security and decentralization."),(0,o.kt)("p",null,"Syscoin is designed holistically with this in mind. All near-instant activity on Rollux inherits the full security of Syscoin\u2019s L1 in the background, including finality."),(0,o.kt)("p",null,"Here are some ways Syscoin shines for rollups."),(0,o.kt)("h3",{id:"bitcoin-merge-mined-pow"},"Bitcoin Merge-Mined PoW"),(0,o.kt)("p",null,"Syscoin is ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mined")," by Bitcoin's own network of miners and inherits a significant portion of Bitcoin's hashrate (recently 20-30%) without imposing additional energy costs on miners and while incentivizing them with SYS. Syscoin asserts that Layer 1 security is fulfilled better by PoW than PoS for multiple reasons."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Resilient to quantum stealth attacks"),(0,o.kt)("li",{parentName:"ul"},"Consensus resilient to more black swan risks (fiat hyper-inflation, internet censorship)"),(0,o.kt)("li",{parentName:"ul"},"Decentralized finality achievable without fault concerns"),(0,o.kt)("li",{parentName:"ul"},"Better survivability against irrationality")),(0,o.kt)("p",null,"However, Syscoin does not mirror Bitcoin's economics and consensus rules. Syscoin's economy is utility-focused and based upon ",(0,o.kt)("a",{parentName:"p",href:"https://eips.ethereum.org/EIPS/eip-1559"},"EIP-1559"),". We source Bitcoin\u2019s network for the hardness it provides. "),(0,o.kt)("h3",{id:"finality-that-is-decentralized-and-fault-tolerant"},"Finality that is Decentralized and Fault Tolerant"),(0,o.kt)("p",null,"Syscoin\u2019s finality is sourced from a multi-quorum consisting of 4 groups of 400 masternodes (1,600) which are randomly selected among the entirety of the network (currently ~2,500 MNs). Each quorum is reformed every few hours. 3 out of 4 quorums must agree on a block in order to establish a ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"chainlock")," (finality)."),(0,o.kt)("p",null,"This mechanism provides a high probability of finality. In the rare event that finality cannot be achieved on a block, the network falls back to the longest chain rule of Nakamoto consensus - a seamless and non-breaking event."),(0,o.kt)("table",null,(0,o.kt)("thead",{parentName:"table"},(0,o.kt)("tr",{parentName:"thead"},(0,o.kt)("th",{parentName:"tr",align:"left"}),(0,o.kt)("th",{parentName:"tr",align:null},"Time to finality after block"),(0,o.kt)("th",{parentName:"tr",align:null},"Blocktime"),(0,o.kt)("th",{parentName:"tr",align:null},"Resilience absent finality"),(0,o.kt)("th",{parentName:"tr",align:null},"Mechanism"))),(0,o.kt)("tbody",{parentName:"table"},(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},(0,o.kt)("strong",{parentName:"td"},"Syscoin")),(0,o.kt)("td",{parentName:"tr",align:null},"~12.5 minutes"),(0,o.kt)("td",{parentName:"tr",align:null},"2.5 minutes"),(0,o.kt)("td",{parentName:"tr",align:null},"Nakamoto longest chain rule"),(0,o.kt)("td",{parentName:"tr",align:null},"PoW + Quorums")),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},(0,o.kt)("strong",{parentName:"td"},"Ethereum")),(0,o.kt)("td",{parentName:"tr",align:null},"~14 minutes (~3 epochs)"),(0,o.kt)("td",{parentName:"tr",align:null},"10 seconds"),(0,o.kt)("td",{parentName:"tr",align:null},"None. No finality = breaking event"),(0,o.kt)("td",{parentName:"tr",align:null},"PoS + Casper")))),(0,o.kt)("p",null,"Every five blocks (total of 12.5 minutes based on average blocktime), a chainlock checkpoints the chain."),(0,o.kt)("p",null,"Syscoin\u2019s finality provides effective resistance to 51%, malicious long-range MEV, and selfish mining attacks, while retaining PoW as the underlying consensus mechanism. Attackers must accomplish two expensive and challenging tasks to achieve a successful 51% attack: 1) Control greater than 50% of Bitcoin's hash power supplied to Syscoin, plus 2) Control a super-majority of Syscoin masternodes."),(0,o.kt)("h3",{id:"efficient-data-availability-at-layer-1-with-poda"},"Efficient Data Availability at Layer 1 with PoDA"),(0,o.kt)("p",null,"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications by securing users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA has characteristics that make it a valuable alternative to Ethereum\u2019s work-in-progress data availability solution, Proto-Danksharding."),(0,o.kt)("p",null,"PoDA\u2019s advantages can be summarized as:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Cheaper transactions"),(0,o.kt)("li",{parentName:"ul"},"No data sharding required"),(0,o.kt)("li",{parentName:"ul"},"Greater data throughput with efficient Keccak data blobs"),(0,o.kt)("li",{parentName:"ul"},"Secured by Bitcoin\u2019s own PoW plus Syscoin's finality"),(0,o.kt)("li",{parentName:"ul"},"More resilient to network-based outages/censorship"),(0,o.kt)("li",{parentName:"ul"},"Simpler data fee market based on Syscoin\u2019s UTXO fee market"),(0,o.kt)("li",{parentName:"ul"},"Nakamoto Assumption: Only one honest node is needed to guarantee data")),(0,o.kt)("p",null,"PoDA\u2019s design considers proving and archiving as separate concerns. With PoDA, the succinct proof of data is stored on Layer 1, while an assumption is made that at least one honest party in the world will archive the raw data within a 6-hour window of time - similar to the honesty assumption made when syncing a Bitcoin node (at least one honest node). If desired, the raw data itself can be secured by Syscoin\u2019s L1 network by reposting the data every 6 hours."),(0,o.kt)("p",null,"Validium (fully offchain DA) is also available as an alternative to PoDA for less-critical applications where the focus might be on even lower cost and higher throughput by trading-off Layer 1 data security. However, in the case of Syscoin PoDA, Layer 1 data security is quite affordable and PoDA nodes can store raw data offchain if they wish while still gaining the security of onchain state and proving."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"/docs/tech/poda"},"PoDA documentation"))," "),(0,o.kt)("hr",null),(0,o.kt)("p",null,"Find out more about how Syscoin provides ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://jsidhu.medium.com/why-syscoin-is-the-ideal-layer-1-3ff690a7ef5f"},"the most ideal L1 settlement for L2 solutions")),"."),(0,o.kt)("h2",{id:"faq"},"FAQ"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q."Does Syscoin Rollux require a separate gas token?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. No. It uses the native coin of Syscoin for gas - SYS, or TSYS in the case of testnet."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q."How do I get TSYS and/or move TSYS to the Rollux testnet?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. A bridge contract is available. You simply send TSYS to a contract address on the Tanenbaum L1, then it arrives at your address on Rollux. ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"/docs/guides/rollux/metamask#how-to-get-tsys"},"Refer to instructions")),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q.\u201cWhat is the blocktime of the Rollux optimistic rollup?\u201d"),(0,o.kt)("br",{parentName:"p"}),"\n","A. 2 seconds"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. \u201cAt what frequency does the L2 settle bundled transactions on L1? What is the threshold that triggers settlement?\u201d"),(0,o.kt)("br",{parentName:"p"}),"\n","A. The timing of settlement depends on the volume of network activity.",(0,o.kt)("br",{parentName:"p"}),"\n","Either of the following conditions can trigger settlement to L1: "),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"The data footprint of the batch of transactions on L2 amounts to at least 2MB "),(0,o.kt)("li",{parentName:"ul"},"At least 24 new blocks have been created on the L1 since the last L2 settlement ")),(0,o.kt)("p",null,"More activity on the rollup brings faster settlement, to a max rate of once every L1 block."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q. "How do I set up a Rollux P2P replica node?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://github.com/sidhujag/optimism/blob/develop/ops-bedrock/P2P.md"},"Guide"))," is available. Based on Optimism Bedrock requirements, the recommended hardware is a minimum of 16GB RAM and at least 100GB of free SSD space. In order to be accepted by the network you will need a P2P key, Peer IDs and their IPs. Reach out to Syscoin Foundation for this information."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q. "What RPC/WSS Methods/Subscriptions are available?'),(0,o.kt)("br",{parentName:"p"}),"\n","A. Same as Optimism Bedrock (Until we have completed our own Rollux doc portal, refer to: ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://community.optimism.io/docs/developers/build/json-rpc/#"},"https://community.optimism.io/docs/developers/build/json-rpc/#")),")"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. Can you provide sample transactions of Rollux settling a batch on Syscoin NEVM and using PoDA on Syscoin Native (UTXO), and further info?"),(0,o.kt)("br",{parentName:"p"}),"\n","A. Yes. These are testnet transactions.",(0,o.kt)("br",{parentName:"p"}),"\n","NEVM: ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://tanenbaum.io/tx/0xbdb2618d09e47789f0318900d9cacc904d96369bee2baf44400721ef8b245d8e"},"https://tanenbaum.io/tx/0xbdb2618d09e47789f0318900d9cacc904d96369bee2baf44400721ef8b245d8e")),(0,o.kt)("br",{parentName:"p"}),"\n","PoDA: ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"},"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"))," "),(0,o.kt)("p",null,"Note: The Blockbook explorer does not currently parse the PoDA hash, but it is visible in the raw transaction data as scriptPubKey.asm: \u201cOP_RETURN 20",(0,o.kt)("strong",{parentName:"p"},"7f262f3352669030f480dd881bc6b3fad68abfcffe81d8e98c7f3e88871ed3a4"),"\u201d"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. How can I see/retrieve the full raw data blobs the L1 receives from the L2?"),(0,o.kt)("br",{parentName:"p"}),"\n","A. The hash of the raw data blob is always stored on-chain for the purpose of proving data integrity, as seen above in OP_RETURN. As for the full raw data blobs, they are available within the native chain\u2019s mempool for a period of six hours before being pruned. During this window of time, archiving services can access and store the raw data. The data can be retrieved a couple of ways: "),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Syscoin Core RPCs: ",(0,o.kt)("inlineCode",{parentName:"li"},"listnevmblobdata"),", ",(0,o.kt)("inlineCode",{parentName:"li"},"getnevmblobdata")),(0,o.kt)("li",{parentName:"ul"},"syscointx-js")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. Are there any established processes for archiving Rollux raw data committed to PoDA?"),(0,o.kt)("br",{parentName:"p"}),"\n","A. Yes. Syscoin Sentinel provides a PoDA client and server that enables a Cloudflare R2 archive process to be activated relatively easily. This means any Syscoin Core node can provide data archive service that rollup solutions like Rollux can use. Refer to: ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/sentinel/blob/master/README.md"},"https://github.com/syscoin/sentinel/blob/master/README.md"))))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/41a4b76b.e88c9e3a.js b/assets/js/41a4b76b.e88c9e3a.js new file mode 100644 index 00000000..a3edbe0e --- /dev/null +++ b/assets/js/41a4b76b.e88c9e3a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[4934],{3905:(e,t,a)=>{a.d(t,{Zo:()=>p,kt:()=>d});var n=a(67294);function o(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t=0||(o[a]=e[a]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(o[a]=e[a])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},p=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},h=n.forwardRef((function(e,t){var a=e.components,o=e.mdxType,r=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),h=c(a),d=o,m=h["".concat(l,".").concat(d)]||h[d]||u[d]||r;return a?n.createElement(m,i(i({ref:t},p),{},{components:a})):n.createElement(m,i({ref:t},p))}));function d(e,t){var a=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=a.length,i=new Array(r);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,i[1]=s;for(var c=2;c{a.r(t),a.d(t,{default:()=>c,frontMatter:()=>r,metadata:()=>i,toc:()=>s});var n=a(87462),o=(a(67294),a(3905));const r={},i={unversionedId:"tech/rollux",id:"tech/rollux",isDocsHomePage:!1,title:"Rollux",description:'Rollux is a suite of rollup-based Layer 2 solutions designed to enable EVM users with near-instant low-cost transfers, executions, and contract deployments. Rollux utilizes Syscoin\'s Layer 1 for best-of-breed secure decentralized settlement and Syscoin PoDA for Layer 1 data availability, offering more efficiency, lower costs and higher throughput than other L1 DA alternatives. Rollups just work better on Syscoin. The reasons why are available in "Revealing the Method in the Madness".',source:"@site/docs/tech/rollux.mdx",sourceDirName:"tech",slug:"/tech/rollux",permalink:"/docs/tech/rollux",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"PoDA (Data Availability on Layer 1)",permalink:"/docs/tech/poda"},next:{title:"Syscoin Platform Tokens (SPTs)",permalink:"/docs/tech/tokens"}},s=[{value:"Rollux Optimistic Rollups",id:"rollux-optimistic-rollups",children:[]},{value:"How does Syscoin help rollups work optimally?",id:"how-does-syscoin-help-rollups-work-optimally",children:[{value:"Bitcoin Merge-Mined PoW",id:"bitcoin-merge-mined-pow",children:[]},{value:"Finality that is Decentralized and Fault Tolerant",id:"finality-that-is-decentralized-and-fault-tolerant",children:[]},{value:"Efficient Data Availability at Layer 1 with PoDA",id:"efficient-data-availability-at-layer-1-with-poda",children:[]}]},{value:"FAQ",id:"faq",children:[]}],l={toc:s};function c(e){let{components:t,...a}=e;return(0,o.kt)("wrapper",(0,n.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Rollux is a suite of rollup-based Layer 2 solutions designed to enable EVM users with near-instant low-cost transfers, executions, and contract deployments. Rollux utilizes Syscoin's Layer 1 for best-of-breed secure decentralized ",(0,o.kt)("a",{parentName:"p",href:"/docs/intro/syscoin-what#settlement-layer"},"settlement")," and Syscoin PoDA for Layer 1 data availability, offering more efficiency, lower costs and higher throughput than other L1 DA alternatives. Rollups just work better on Syscoin. The reasons why are available in ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://syscoin.org/news/revealing-the-method-in-the-madness"},'"Revealing the Method in the Madness"')),"."),(0,o.kt)("p",null,"As a suite, Rollux is set to encompass both Optimistic and ZK (zero-knowledge) based approaches, enabling users and projects to choose a network or solution that fits them best. Where appropriate and as tech evolves, Syscoin can hybridize between these in the future."),(0,o.kt)("p",null,"Check out ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://jsidhu.medium.com/the-ultimate-guide-to-rollups-f8c075571770"},"The Ultimate Guide to Rollups"))," for a technical overview of rollups and the differences between Optimistic and ZK rollups."),(0,o.kt)("h2",{id:"rollux-optimistic-rollups"},"Rollux Optimistic Rollups"),(0,o.kt)("p",null,"Syscoin's first Rollux implementation is based upon Optimism Bedrock and utilizes Syscoin PoDA for Layer 1 data availability."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"/docs/guides/rollux/metamask"},"Connect to Rollux Testnet"))),(0,o.kt)("table",null,(0,o.kt)("thead",{parentName:"table"},(0,o.kt)("tr",{parentName:"thead"},(0,o.kt)("th",{parentName:"tr",align:"left"},"Gas Cost Samples (rounded)"),(0,o.kt)("th",{parentName:"tr",align:null},"Rollux on Syscoin"))),(0,o.kt)("tbody",{parentName:"table"},(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Approve spend (ERC-20)"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00007 SYS")),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Value transfer (ERC-20)"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00025 SYS")),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Value transfer (native coin)"),(0,o.kt)("td",{parentName:"tr",align:null},"0.00004 SYS")))),(0,o.kt)("p",null,"The cost of securing L2 activity with L1 is incredibly low with Rollux on Syscoin, to the tune of less than 1 US cent per hour. In contrast, Optimism pays around 1 ETH per hour on Ethereum to provide their users with L1 security."),(0,o.kt)("h2",{id:"how-does-syscoin-help-rollups-work-optimally"},"How does Syscoin help rollups work optimally?"),(0,o.kt)("p",null,"Rollups are the first technology to viably help scale EVM computation to massive user demand. Rollups are also key to achieving a near-optimal scenario in the blockchain trilemma. Syscoin asserts such a near-optimal scenario can only be achieved by supporting rollups with a holistically modular Layer 1 that offers proven security and decentralization."),(0,o.kt)("p",null,"Syscoin is designed holistically with this in mind. All near-instant activity on Rollux inherits the full security of Syscoin\u2019s L1 in the background, including finality."),(0,o.kt)("p",null,"Here are some ways Syscoin shines for rollups."),(0,o.kt)("h3",{id:"bitcoin-merge-mined-pow"},"Bitcoin Merge-Mined PoW"),(0,o.kt)("p",null,"Syscoin is ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mined")," by Bitcoin's own network of miners and inherits a significant portion of Bitcoin's hashrate (recently 20-30%) without imposing additional energy costs on miners and while incentivizing them with SYS. Syscoin asserts that Layer 1 security is fulfilled better by PoW than PoS for multiple reasons."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Resilient to quantum stealth attacks"),(0,o.kt)("li",{parentName:"ul"},"Consensus resilient to more black swan risks (fiat hyper-inflation, internet censorship)"),(0,o.kt)("li",{parentName:"ul"},"Decentralized finality achievable without fault concerns"),(0,o.kt)("li",{parentName:"ul"},"Better survivability against irrationality")),(0,o.kt)("p",null,"However, Syscoin does not mirror Bitcoin's economics and consensus rules. Syscoin's economy is utility-focused and based upon ",(0,o.kt)("a",{parentName:"p",href:"https://eips.ethereum.org/EIPS/eip-1559"},"EIP-1559"),". We source Bitcoin\u2019s network for the hardness it provides. "),(0,o.kt)("h3",{id:"finality-that-is-decentralized-and-fault-tolerant"},"Finality that is Decentralized and Fault Tolerant"),(0,o.kt)("p",null,"Syscoin\u2019s finality is sourced from a multi-quorum consisting of 4 groups of 400 masternodes (1,600) which are randomly selected among the entirety of the network (currently ~2,500 MNs). Each quorum is reformed every few hours. 3 out of 4 quorums must agree on a block in order to establish a ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"chainlock")," (finality)."),(0,o.kt)("p",null,"This mechanism provides a high probability of finality. In the rare event that finality cannot be achieved on a block, the network falls back to the longest chain rule of Nakamoto consensus - a seamless and non-breaking event."),(0,o.kt)("table",null,(0,o.kt)("thead",{parentName:"table"},(0,o.kt)("tr",{parentName:"thead"},(0,o.kt)("th",{parentName:"tr",align:"left"}),(0,o.kt)("th",{parentName:"tr",align:null},"Time to finality after block"),(0,o.kt)("th",{parentName:"tr",align:null},"Blocktime"),(0,o.kt)("th",{parentName:"tr",align:null},"Resilience absent finality"),(0,o.kt)("th",{parentName:"tr",align:null},"Mechanism"))),(0,o.kt)("tbody",{parentName:"table"},(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},(0,o.kt)("strong",{parentName:"td"},"Syscoin")),(0,o.kt)("td",{parentName:"tr",align:null},"~12.5 minutes"),(0,o.kt)("td",{parentName:"tr",align:null},"2.5 minutes"),(0,o.kt)("td",{parentName:"tr",align:null},"Nakamoto longest chain rule"),(0,o.kt)("td",{parentName:"tr",align:null},"PoW + Quorums")),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},(0,o.kt)("strong",{parentName:"td"},"Ethereum")),(0,o.kt)("td",{parentName:"tr",align:null},"~14 minutes (~3 epochs)"),(0,o.kt)("td",{parentName:"tr",align:null},"10 seconds"),(0,o.kt)("td",{parentName:"tr",align:null},"None. No finality = breaking event"),(0,o.kt)("td",{parentName:"tr",align:null},"PoS + Casper")))),(0,o.kt)("p",null,"Every five blocks (total of 12.5 minutes based on average blocktime), a chainlock checkpoints the chain."),(0,o.kt)("p",null,"Syscoin\u2019s finality provides effective resistance to 51%, malicious long-range MEV, and selfish mining attacks, while retaining PoW as the underlying consensus mechanism. Attackers must accomplish two expensive and challenging tasks to achieve a successful 51% attack: 1) Control greater than 50% of Bitcoin's hash power supplied to Syscoin, plus 2) Control a super-majority of Syscoin masternodes."),(0,o.kt)("h3",{id:"efficient-data-availability-at-layer-1-with-poda"},"Efficient Data Availability at Layer 1 with PoDA"),(0,o.kt)("p",null,"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications by securing users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA has characteristics that make it a valuable alternative to Ethereum\u2019s work-in-progress data availability solution, Proto-Danksharding."),(0,o.kt)("p",null,"PoDA\u2019s advantages can be summarized as:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Cheaper transactions"),(0,o.kt)("li",{parentName:"ul"},"No data sharding required"),(0,o.kt)("li",{parentName:"ul"},"Greater data throughput with efficient Keccak data blobs"),(0,o.kt)("li",{parentName:"ul"},"Secured by Bitcoin\u2019s own PoW plus Syscoin's finality"),(0,o.kt)("li",{parentName:"ul"},"More resilient to network-based outages/censorship"),(0,o.kt)("li",{parentName:"ul"},"Simpler data fee market based on Syscoin\u2019s UTXO fee market"),(0,o.kt)("li",{parentName:"ul"},"Nakamoto Assumption: Only one honest node is needed to guarantee data")),(0,o.kt)("p",null,"PoDA\u2019s design considers proving and archiving as separate concerns. With PoDA, the succinct proof of data is stored on Layer 1, while an assumption is made that at least one honest party in the world will archive the raw data within a 6-hour window of time - similar to the honesty assumption made when syncing a Bitcoin node (at least one honest node). If desired, the raw data itself can be secured by Syscoin\u2019s L1 network by reposting the data every 6 hours."),(0,o.kt)("p",null,"Validium (fully offchain DA) is also available as an alternative to PoDA for less-critical applications where the focus might be on even lower cost and higher throughput by trading-off Layer 1 data security. However, in the case of Syscoin PoDA, Layer 1 data security is quite affordable and PoDA nodes can store raw data offchain if they wish while still gaining the security of onchain state and proving."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"/docs/tech/poda"},"PoDA documentation"))," "),(0,o.kt)("hr",null),(0,o.kt)("p",null,"Find out more about how Syscoin provides ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://jsidhu.medium.com/why-syscoin-is-the-ideal-layer-1-3ff690a7ef5f"},"the most ideal L1 settlement for L2 solutions")),"."),(0,o.kt)("h2",{id:"faq"},"FAQ"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q. "How do I connect to Rollux?" or "How do I start using Rollux?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. Refer to the Rollux guide for ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://sys-labs.github.io/community-hub/docs/help/start-using-rollux-mainnet/"},"getting started")),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q."Does Syscoin Rollux require a separate gas token?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. No. It uses the native coin of Syscoin for gas - SYS, or TSYS in the case of testnet."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q."How can I get some SYS on Rollux?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. There are a few ways: "),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"Use a centralized exchange. Use Rollux's guide for ",(0,o.kt)("a",{parentName:"li",href:"https://sys-labs.github.io/community-hub/docs/help/start-using-rollux-mainnet/#step-3-fund-your-wallet-with-sys"},"further instructions"),"."),(0,o.kt)("li",{parentName:"ol"},"To get a small amount of SYS to cover a gas fee, you can use a ",(0,o.kt)("a",{parentName:"li",href:"https://sys-labs.github.io/community-hub/docs/useful-tools/faucets/"},"Rollux SYS faucet"),". This is helpful if you wish to get SYS from the Pegasys DEX, as some SYS is required to cover the tiny network fee for swapping."),(0,o.kt)("li",{parentName:"ol"},"Use the ",(0,o.kt)("a",{parentName:"li",href:"https://app.pegasys.fi"},"Pegasys")," DEX on Rollux. ")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q."How do I move SYS or TSYS between Syscoin NEVM and Rollux?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. Use ",(0,o.kt)("a",{parentName:"p",href:"https://bridge.rollux.com"},"Rollux Portal"),", the canonical bridge of Rollux. ",(0,o.kt)("a",{parentName:"p",href:"https://sys-labs.github.io/community-hub/docs/help/using-rollux-portal/"},"Refer to instructions"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q.\u201cWhat is the blocktime of the Rollux optimistic rollup?\u201d"),(0,o.kt)("br",{parentName:"p"}),"\n","A. 2 seconds"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. \u201cAt what frequency does the L2 settle bundled transactions on L1? What is the threshold that triggers settlement?\u201d"),(0,o.kt)("br",{parentName:"p"}),"\n","A. The timing of settlement depends on the volume of network activity.",(0,o.kt)("br",{parentName:"p"}),"\n","Either of the following conditions can trigger settlement to L1: "),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"The data footprint of the batch of transactions on L2 amounts to at least 2MB "),(0,o.kt)("li",{parentName:"ul"},"At least 24 new blocks have been created on the L1 since the last L2 settlement ")),(0,o.kt)("p",null,"More activity on the rollup brings faster settlement, to a max rate of once every L1 block."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q. "How do I set up a Rollux P2P replica node?"'),(0,o.kt)("br",{parentName:"p"}),"\n","A. Refer to our replica node setup ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://sys-labs.github.io/community-hub/docs/developers/build/run-a-node/"},"guide")),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},'Q. "What RPC/WSS Methods/Subscriptions are available?'),(0,o.kt)("br",{parentName:"p"}),"\n","A. Refer to our ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://sys-labs.github.io/community-hub/docs/developers/build/json-rpc/"},"RPC documentation")),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. Can you provide sample transactions of Rollux settling a batch on Syscoin NEVM and using PoDA on Syscoin Native (UTXO), and further info?"),(0,o.kt)("br",{parentName:"p"}),"\n","A. Yes. These are testnet transactions.",(0,o.kt)("br",{parentName:"p"}),"\n","NEVM: ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://tanenbaum.io/tx/0xbdb2618d09e47789f0318900d9cacc904d96369bee2baf44400721ef8b245d8e"},"https://tanenbaum.io/tx/0xbdb2618d09e47789f0318900d9cacc904d96369bee2baf44400721ef8b245d8e")),(0,o.kt)("br",{parentName:"p"}),"\n","PoDA: ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"},"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"))," "),(0,o.kt)("p",null,"Note: The Blockbook explorer does not currently parse the PoDA hash, but it is visible in the raw transaction data as scriptPubKey.asm: ",(0,o.kt)("inlineCode",{parentName:"p"},"OP_RETURN 207f262f3352669030f480dd881bc6b3fad68abfcffe81d8e98c7f3e88871ed3a4")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. How can I see/retrieve the full raw data blobs the L1 receives from the L2?"),(0,o.kt)("br",{parentName:"p"}),"\n","A. The hash of the raw data blob is always stored on-chain for the purpose of proving data integrity, as seen above in OP_RETURN. As for the full raw data blobs, they are available within the native chain\u2019s mempool for a period of six hours before being pruned. During this window of time, archiving services can access and store the raw data. The data can be retrieved a couple of ways: "),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},"Syscoin Core RPCs: ",(0,o.kt)("inlineCode",{parentName:"li"},"listnevmblobdata"),", ",(0,o.kt)("inlineCode",{parentName:"li"},"getnevmblobdata")),(0,o.kt)("li",{parentName:"ul"},"syscointx-js")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Q. Are there any established processes for archiving Rollux raw data committed to PoDA?"),(0,o.kt)("br",{parentName:"p"}),"\n","A. Yes. Syscoin Sentinel provides a PoDA client and server that enables a Cloudflare R2 archive process to be activated relatively easily. This means any Syscoin Core node can provide data archive service that rollup solutions like Rollux can use. Refer to: ",(0,o.kt)("strong",{parentName:"p"},(0,o.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/sentinel/blob/master/README.md"},"https://github.com/syscoin/sentinel/blob/master/README.md"))))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4311ecdf.d4144a9c.js b/assets/js/4311ecdf.d4144a9c.js deleted file mode 100644 index f890d0f2..00000000 --- a/assets/js/4311ecdf.d4144a9c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8433],{3905:(e,t,s)=>{s.d(t,{Zo:()=>d,kt:()=>y});var n=s(67294);function a(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function o(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function r(e){for(var t=1;t=0||(a[s]=e[s]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,s)&&(a[s]=e[s])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),s=t;return e&&(s="function"==typeof e?e(t):r(r({},t),e)),s},d=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var s=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),u=c(s),m=a,y=u["".concat(l,".").concat(m)]||u[m]||p[m]||o;return s?n.createElement(y,r(r({ref:t},d),{},{components:s})):n.createElement(y,r({ref:t},d))}));function y(e,t){var s=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=s.length,r=new Array(o);r[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[u]="string"==typeof e?e:a,r[1]=i;for(var c=2;c{s.r(t),s.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>r,toc:()=>i});var n=s(87462),a=(s(67294),s(3905));const o={},r={unversionedId:"guides/spts/use-tokens",id:"guides/spts/use-tokens",isDocsHomePage:!1,title:"Use Syscoin 4.2 Tokens",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/use-tokens.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/use-tokens",permalink:"/docs/guides/spts/use-tokens",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Notary and Business Rulesets",permalink:"/docs/guides/spts/notary-business-rulesets"},next:{title:"Masternode Setup Guide",permalink:"/docs/guides/mn_setup"}},i=[{value:"Before Trading a Syscoin Asset/Token",id:"before-trading-a-syscoin-assettoken",children:[]},{value:"Querying Syscoin Assets",id:"querying-syscoin-assets",children:[]},{value:"Sending Syscoin Assets",id:"sending-syscoin-assets",children:[]}],l={toc:i},c="wrapper";function d(e){let{components:t,...s}=e;return(0,a.kt)(c,(0,n.Z)({},l,s,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,a.kt)("div",{parentName:"div",className:"admonition-heading"},(0,a.kt)("h5",{parentName:"div"},(0,a.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,a.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,a.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,a.kt)("div",{parentName:"div",className:"admonition-content"},(0,a.kt)("p",{parentName:"div"},(0,a.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,a.kt)("br",{parentName:"p"}),"\n","Now ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,a.kt)("p",{parentName:"div"},"Examples are available at ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,a.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,a.kt)("p",null,"Syscoin 4.2 introduced changes to the process of using tokens."),(0,a.kt)("h2",{id:"before-trading-a-syscoin-assettoken"},"Before Trading a Syscoin Asset/Token"),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Obtain the correct Asset GUID.")),(0,a.kt)("p",null,"An asset has several noteworthy properties. The most important is ",(0,a.kt)("inlineCode",{parentName:"p"},"asset_guid"),' which is the unique identifier of the token. For example, the asset_guid of the official testnet SYSX token is 1965866356. Anyone can create a token and name it "SYSX" but there will only be one SYSX with ',(0,a.kt)("inlineCode",{parentName:"p"},"asset_guid")," of 1965866356. We can inspect the asset information using ",(0,a.kt)("inlineCode",{parentName:"p"},"assetinfo"),". We will be using this asset as an example for the rest of the guide."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 1965866356\n{\n "asset_guid": 1965866356,\n "symbol": "SYSX",\n "public_value": {\n "desc": "Official Testnet SYSX SPT"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 1009467.75000000,\n "max_supply": 888000000.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,a.kt)("h2",{id:"querying-syscoin-assets"},"Querying Syscoin Assets"),(0,a.kt)("p",null,"Use ",(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationbalance")," to check an asset balance. This function allows you to see the balance of an asset across your entire wallet by default or for specific addresses."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"To check the asset balance of the wallet, use:"),"\n",(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationbalance ")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationbalance 1965866356\n\n{\n "amount": 0.00000980,\n "asset_amount": 19.00000000\n}\n')),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"To check the asset balance of specific addresses, use:"),"\n",(0,a.kt)("inlineCode",{parentName:"p"},'assetallocationbalance "[\\"
\\",\\"
\\"]"')),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationbalance 1965866356 "[\\"tsys1qedy7ukgnj9e96axgarw79e2au98ff9g4ffh829\\",\\"tsys1qecwhh7lckpamavny534xcgrq4z9nm4ckajj9gm\\"]"\n\n{\n "amount": 0.00001960,\n "asset_amount": 3.55000000\n}\n')),(0,a.kt)("h2",{id:"sending-syscoin-assets"},"Sending Syscoin Assets"),(0,a.kt)("p",null,'The process commonly thought of as "sending" is called asset allocation. A quantity of a token can be allocated to one or more addresses. The Syscoin token platform uses the UTXO model like Bitcoin. This means asset allocations are inputs of an asset sent to an address which can then output them to another address. Most asset owners and exchanges work with asset allocations rather than the asset specification itself.'),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Use ",(0,a.kt)("inlineCode",{parentName:"strong"},"assetallocationsend")," to allocate a quantity of a token to a single recipient address. This command will sign and broadcast the transaction to the network and return the transaction ID.")),(0,a.kt)("blockquote",null,(0,a.kt)("h3",{parentName:"blockquote",id:"asset-input-selection"},"\ud83d\udcd8Asset Input Selection"),(0,a.kt)("p",{parentName:"blockquote"},"Asset inputs are selected automatically when using ",(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationsend")," with the Syscoin QT wallet. If you want direct control over asset input selection you can use tools such as the ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib")," SDK or the syscoin-tx binary to build your transaction.")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'assetallocationsend asset_guid "address" amount ( replaceable )\n\nSend an asset allocation you own to another address.\n\nArguments:\n1. asset_guid (numeric, required) The asset guid\n2. address (string, required) The address to send the allocation to\n3. amount (numeric or string, required) Amount of asset to send\n4. sys_amount (numeric or string) Amount of syscoin to send\n5. replaceable (boolean, optional, default=wallet default) Allow this transaction to be replaced by a transaction with higher fees via BIP 125. ZDAG is only possible if RBF is disabled.\n\nResult:\n{ (json object)\n "txid" : "hex" (string) The transaction id\n}\n\nExamples:\n> syscoin-cli assetallocationsend "asset_guid" "address" "amount" "sys_amount" "false"\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsend", "params": ["asset_guid", "address", "amount", "sys_amount", "false"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n')),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationsend "),"\nSet argument ",(0,a.kt)("inlineCode",{parentName:"p"},"replaceable")," to ",(0,a.kt)("inlineCode",{parentName:"p"},"false")," in order to use Z-DAG."),(0,a.kt)("p",null,"Allocate an asset to a single address:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationsend 1965866356 "tsys1qecwhh7lckpamavny534xcgrq4z9nm4ckajj9gm" 2 0.0000098 false\n\n{\n "txid": "93cce1d891e4ce5bfc30131ab15faf356000772c1abd92dc47698abaeb022588",\n "assetallocations_sent_count": 1,\n "assetallocations_sent": [\n {\n "asset_guid": 1965866356,\n "amount": 2.00000000,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Use ",(0,a.kt)("inlineCode",{parentName:"strong"},"assetallocationsendmany")," to allocate quantities of tokens to multiple addresses all within a single transaction. This command allows you to separately specify the asset and the quantity to be allocated to each individual recipient address, as well as the amount of SYS to send them for gas to be used in the future. This command will sign and broadcast the transaction to the network and return the transaction ID.")),(0,a.kt)("p",null,"*",(0,a.kt)("em",{parentName:"p"},"The maximum number of recipients in a single asset transaction is 250.")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'assetallocationsendmany [assetallocationsend object]... ( replaceable "comment" conf_target "estimate_mode" )\n\nSend an asset allocation you own to another address. Maximum recipients is 250.\n\nArguments:\n1. amounts (json array, required) Array of assetallocationsend objects\n [\n { (json object) The assetallocationsend object\n "asset_guid": n, (numeric, required) Asset guid\n "address": "str", (string, required) Address to transfer to\n "amount": amount, (numeric or string, required) Amount of asset to send\n "sys_amount": amount, (numeric or string) Amount of Syscoin to send\n },\n ...\n ]\n2. replaceable (boolean, optional, default=wallet default) Allow this transaction to be replaced by a transaction with higher fees via BIP 125. ZDAG is only possible if RBF is disabled.\n3. comment (string, optional) A comment\n4. conf_target (numeric, optional, default=wallet default) Confirmation target (in blocks)\n5. estimate_mode (string, optional, default=UNSET) The fee estimate mode, must be one of:\n "UNSET"\n "ECONOMICAL"\n "CONSERVATIVE"\n\nResult:\n{ (json object)\n "txid" : "hex" (string) The transaction id\n}\n\nExamples:\n> syscoin-cli assetallocationsendmany \'[{"asset_guid":1045909988,"address":"sysaddress1","amount":100},{"asset_guid":1045909988,"address":"sysaddress2","amount":200}]\' "false"\n> syscoin-cli assetallocationsendmany "[{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress1\\",\\"amount\\":100},{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress2\\",\\"amount\\":200}]" "true"\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsendmany", "params": [\'[{"asset_guid":1045909988,"address":"sysaddress1","amount":100},{"asset_guid":1045909988,"address":"sysaddress2","amount":200}]\',"false"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsendmany", "params": ["[{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress1\\",\\"amount\\":100},{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress2\\",\\"amount\\":200}]","true"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsendmany", "params": ["[{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress1\\",\\"amount\\":100},{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress2\\",\\"amount\\":200}]","true"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\nassetallocationsendmany \'[{"asset_guid": , "address": ,"amount": , "sys_amount": },{"asset_guid": , "address": ,"amount": , "sys_amount": }]\' \n')),(0,a.kt)("p",null,"Set argument ",(0,a.kt)("inlineCode",{parentName:"p"},"replaceable")," to ",(0,a.kt)("inlineCode",{parentName:"p"},"false")," in order to use Z-DAG."),(0,a.kt)("p",null,"Allocate one or more assets to multiple addresses:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationsendmany \'[{"asset_guid": 1965866356,"address":"tsys1qecwhh7lckpamavny534xcgrq4z9nm4ckajj9gm","amount":1.55,"sys_amount":0.0000098},{"asset_guid":1965866356,"address":"tsys1ql8h9gknschcwqmehz4hhaykdn6wju8cemj9met","amount":2.75, "sys_amount":0.0000098}]\' false\n\n{\n "txid": "d6964154f1b11954f86b74953d24e2c79efe6266f9a6e954fdce8d3861b62de2",\n "assetallocations_sent_count": 1,\n "assetallocations_sent": [\n {\n "asset_guid": 1965866356,\n "amount": 4.30000000,\n "sys_amount": 0.00001960\n }\n ]\n}\n')))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4311ecdf.ff8aa0d3.js b/assets/js/4311ecdf.ff8aa0d3.js new file mode 100644 index 00000000..3256807c --- /dev/null +++ b/assets/js/4311ecdf.ff8aa0d3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8433],{3905:(e,t,s)=>{s.d(t,{Zo:()=>d,kt:()=>m});var n=s(67294);function a(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function o(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function r(e){for(var t=1;t=0||(a[s]=e[s]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,s)&&(a[s]=e[s])}return a}var l=n.createContext({}),c=function(e){var t=n.useContext(l),s=t;return e&&(s="function"==typeof e?e(t):r(r({},t),e)),s},d=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var s=e.components,a=e.mdxType,o=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=c(s),m=a,y=p["".concat(l,".").concat(m)]||p[m]||u[m]||o;return s?n.createElement(y,r(r({ref:t},d),{},{components:s})):n.createElement(y,r({ref:t},d))}));function m(e,t){var s=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=s.length,r=new Array(o);r[0]=p;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:a,r[1]=i;for(var c=2;c{s.r(t),s.d(t,{default:()=>c,frontMatter:()=>o,metadata:()=>r,toc:()=>i});var n=s(87462),a=(s(67294),s(3905));const o={},r={unversionedId:"guides/spts/use-tokens",id:"guides/spts/use-tokens",isDocsHomePage:!1,title:"Use Syscoin 4.2 Tokens",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/use-tokens.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/use-tokens",permalink:"/docs/guides/spts/use-tokens",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Notary and Business Rulesets",permalink:"/docs/guides/spts/notary-business-rulesets"},next:{title:"Masternode Setup Guide",permalink:"/docs/guides/mn_setup"}},i=[{value:"Before Trading a Syscoin Asset/Token",id:"before-trading-a-syscoin-assettoken",children:[]},{value:"Querying Syscoin Assets",id:"querying-syscoin-assets",children:[]},{value:"Sending Syscoin Assets",id:"sending-syscoin-assets",children:[]}],l={toc:i};function c(e){let{components:t,...s}=e;return(0,a.kt)("wrapper",(0,n.Z)({},l,s,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,a.kt)("div",{parentName:"div",className:"admonition-heading"},(0,a.kt)("h5",{parentName:"div"},(0,a.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,a.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,a.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,a.kt)("div",{parentName:"div",className:"admonition-content"},(0,a.kt)("p",{parentName:"div"},(0,a.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,a.kt)("br",{parentName:"p"}),"\n","Now ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,a.kt)("p",{parentName:"div"},"Examples are available at ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,a.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,a.kt)("strong",{parentName:"p"},(0,a.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,a.kt)("p",null,"Syscoin 4.2 introduced changes to the process of using tokens."),(0,a.kt)("h2",{id:"before-trading-a-syscoin-assettoken"},"Before Trading a Syscoin Asset/Token"),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Obtain the correct Asset GUID.")),(0,a.kt)("p",null,"An asset has several noteworthy properties. The most important is ",(0,a.kt)("inlineCode",{parentName:"p"},"asset_guid"),' which is the unique identifier of the token. For example, the asset_guid of the official testnet SYSX token is 1965866356. Anyone can create a token and name it "SYSX" but there will only be one SYSX with ',(0,a.kt)("inlineCode",{parentName:"p"},"asset_guid")," of 1965866356. We can inspect the asset information using ",(0,a.kt)("inlineCode",{parentName:"p"},"assetinfo"),". We will be using this asset as an example for the rest of the guide."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 1965866356\n{\n "asset_guid": 1965866356,\n "symbol": "SYSX",\n "public_value": {\n "desc": "Official Testnet SYSX SPT"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 1009467.75000000,\n "max_supply": 888000000.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,a.kt)("h2",{id:"querying-syscoin-assets"},"Querying Syscoin Assets"),(0,a.kt)("p",null,"Use ",(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationbalance")," to check an asset balance. This function allows you to see the balance of an asset across your entire wallet by default or for specific addresses."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"To check the asset balance of the wallet, use:"),"\n",(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationbalance ")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationbalance 1965866356\n\n{\n "amount": 0.00000980,\n "asset_amount": 19.00000000\n}\n')),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"To check the asset balance of specific addresses, use:"),"\n",(0,a.kt)("inlineCode",{parentName:"p"},'assetallocationbalance "[\\"
\\",\\"
\\"]"')),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationbalance 1965866356 "[\\"tsys1qedy7ukgnj9e96axgarw79e2au98ff9g4ffh829\\",\\"tsys1qecwhh7lckpamavny534xcgrq4z9nm4ckajj9gm\\"]"\n\n{\n "amount": 0.00001960,\n "asset_amount": 3.55000000\n}\n')),(0,a.kt)("h2",{id:"sending-syscoin-assets"},"Sending Syscoin Assets"),(0,a.kt)("p",null,'The process commonly thought of as "sending" is called asset allocation. A quantity of a token can be allocated to one or more addresses. The Syscoin token platform uses the UTXO model like Bitcoin. This means asset allocations are inputs of an asset sent to an address which can then output them to another address. Most asset owners and exchanges work with asset allocations rather than the asset specification itself.'),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Use ",(0,a.kt)("inlineCode",{parentName:"strong"},"assetallocationsend")," to allocate a quantity of a token to a single recipient address. This command will sign and broadcast the transaction to the network and return the transaction ID.")),(0,a.kt)("blockquote",null,(0,a.kt)("h3",{parentName:"blockquote",id:"asset-input-selection"},"\ud83d\udcd8Asset Input Selection"),(0,a.kt)("p",{parentName:"blockquote"},"Asset inputs are selected automatically when using ",(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationsend")," with the Syscoin QT wallet. If you want direct control over asset input selection you can use tools such as the ",(0,a.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib")," SDK or the syscoin-tx binary to build your transaction.")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'assetallocationsend asset_guid "address" amount ( replaceable )\n\nSend an asset allocation you own to another address.\n\nArguments:\n1. asset_guid (numeric, required) The asset guid\n2. address (string, required) The address to send the allocation to\n3. amount (numeric or string, required) Amount of asset to send\n4. sys_amount (numeric or string) Amount of syscoin to send\n5. replaceable (boolean, optional, default=wallet default) Allow this transaction to be replaced by a transaction with higher fees via BIP 125. ZDAG is only possible if RBF is disabled.\n\nResult:\n{ (json object)\n "txid" : "hex" (string) The transaction id\n}\n\nExamples:\n> syscoin-cli assetallocationsend "asset_guid" "address" "amount" "sys_amount" "false"\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsend", "params": ["asset_guid", "address", "amount", "sys_amount", "false"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n')),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"assetallocationsend "),"\nSet argument ",(0,a.kt)("inlineCode",{parentName:"p"},"replaceable")," to ",(0,a.kt)("inlineCode",{parentName:"p"},"false")," in order to use Z-DAG."),(0,a.kt)("p",null,"Allocate an asset to a single address:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationsend 1965866356 "tsys1qecwhh7lckpamavny534xcgrq4z9nm4ckajj9gm" 2 0.0000098 false\n\n{\n "txid": "93cce1d891e4ce5bfc30131ab15faf356000772c1abd92dc47698abaeb022588",\n "assetallocations_sent_count": 1,\n "assetallocations_sent": [\n {\n "asset_guid": 1965866356,\n "amount": 2.00000000,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Use ",(0,a.kt)("inlineCode",{parentName:"strong"},"assetallocationsendmany")," to allocate quantities of tokens to multiple addresses all within a single transaction. This command allows you to separately specify the asset and the quantity to be allocated to each individual recipient address, as well as the amount of SYS to send them for gas to be used in the future. This command will sign and broadcast the transaction to the network and return the transaction ID.")),(0,a.kt)("p",null,"*",(0,a.kt)("em",{parentName:"p"},"The maximum number of recipients in a single asset transaction is 250.")),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'assetallocationsendmany [assetallocationsend object]... ( replaceable "comment" conf_target "estimate_mode" )\n\nSend an asset allocation you own to another address. Maximum recipients is 250.\n\nArguments:\n1. amounts (json array, required) Array of assetallocationsend objects\n [\n { (json object) The assetallocationsend object\n "asset_guid": n, (numeric, required) Asset guid\n "address": "str", (string, required) Address to transfer to\n "amount": amount, (numeric or string, required) Amount of asset to send\n "sys_amount": amount, (numeric or string) Amount of Syscoin to send\n },\n ...\n ]\n2. replaceable (boolean, optional, default=wallet default) Allow this transaction to be replaced by a transaction with higher fees via BIP 125. ZDAG is only possible if RBF is disabled.\n3. comment (string, optional) A comment\n4. conf_target (numeric, optional, default=wallet default) Confirmation target (in blocks)\n5. estimate_mode (string, optional, default=UNSET) The fee estimate mode, must be one of:\n "UNSET"\n "ECONOMICAL"\n "CONSERVATIVE"\n\nResult:\n{ (json object)\n "txid" : "hex" (string) The transaction id\n}\n\nExamples:\n> syscoin-cli assetallocationsendmany \'[{"asset_guid":1045909988,"address":"sysaddress1","amount":100},{"asset_guid":1045909988,"address":"sysaddress2","amount":200}]\' "false"\n> syscoin-cli assetallocationsendmany "[{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress1\\",\\"amount\\":100},{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress2\\",\\"amount\\":200}]" "true"\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsendmany", "params": [\'[{"asset_guid":1045909988,"address":"sysaddress1","amount":100},{"asset_guid":1045909988,"address":"sysaddress2","amount":200}]\',"false"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsendmany", "params": ["[{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress1\\",\\"amount\\":100},{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress2\\",\\"amount\\":200}]","true"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetallocationsendmany", "params": ["[{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress1\\",\\"amount\\":100},{\\"asset_guid\\":1045909988,\\"address\\":\\"sysaddress2\\",\\"amount\\":200}]","true"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\nassetallocationsendmany \'[{"asset_guid": , "address": ,"amount": , "sys_amount": },{"asset_guid": , "address": ,"amount": , "sys_amount": }]\' \n')),(0,a.kt)("p",null,"Set argument ",(0,a.kt)("inlineCode",{parentName:"p"},"replaceable")," to ",(0,a.kt)("inlineCode",{parentName:"p"},"false")," in order to use Z-DAG."),(0,a.kt)("p",null,"Allocate one or more assets to multiple addresses:"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationsendmany \'[{"asset_guid": 1965866356,"address":"tsys1qecwhh7lckpamavny534xcgrq4z9nm4ckajj9gm","amount":1.55,"sys_amount":0.0000098},{"asset_guid":1965866356,"address":"tsys1ql8h9gknschcwqmehz4hhaykdn6wju8cemj9met","amount":2.75, "sys_amount":0.0000098}]\' false\n\n{\n "txid": "d6964154f1b11954f86b74953d24e2c79efe6266f9a6e954fdce8d3861b62de2",\n "assetallocations_sent_count": 1,\n "assetallocations_sent": [\n {\n "asset_guid": 1965866356,\n "amount": 4.30000000,\n "sys_amount": 0.00001960\n }\n ]\n}\n')))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/45b38303.7635d206.js b/assets/js/45b38303.7635d206.js deleted file mode 100644 index a1d221e1..00000000 --- a/assets/js/45b38303.7635d206.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6002],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>f});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),u=l(r),m=o,f=u["".concat(s,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=m;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i[u]="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{default:()=>p,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(87462),o=(r(67294),r(3905));const a={},c={unversionedId:"dev-resources/nevm/communities",id:"dev-resources/nevm/communities",isDocsHomePage:!1,title:"Communities",description:"These are a few of the Web3 and cryptocurrency development communities that you should be a part of to further your knowledge and understanding of the present and future of blockchain technology, and connect with like-minded developers.",source:"@site/docs/dev-resources/nevm/communities.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/communities",permalink:"/docs/dev-resources/nevm/communities",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Resources",permalink:"/docs/dev-resources/nevm/resources"},next:{title:"Documentation & Libraries",permalink:"/docs/dev-resources/nevm/docs-and-libs"}},i=[],s={toc:i},l="wrapper";function p(e){let{components:t,...r}=e;return(0,o.kt)(l,(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"These are a few of the Web3 and cryptocurrency development communities that you should be a part of to further your knowledge and understanding of the present and future of blockchain technology, and connect with like-minded developers."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"CryptoDevs Discord")),(0,o.kt)("p",null,"This is a Discord server that is centred around blockchain development and is a great place to find like-minded developers who are also interested in developing for or learning about blockchain and dApp development. ",(0,o.kt)("a",{parentName:"p",href:"https://discord.com/invite/5W5tVb3"},"Join the server here.")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"ZK-Rollup-related Discords")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://t.co/klHVDhQokP?amp=1"},"StarkWare"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://discord.gg/8FHZDXUxRH"},"zkSync"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://t.co/7wQkQaq16b?amp=1"},"Aztec")))))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/45b38303.f063ffe4.js b/assets/js/45b38303.f063ffe4.js new file mode 100644 index 00000000..c8000e88 --- /dev/null +++ b/assets/js/45b38303.f063ffe4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6002],{3905:(e,t,r)=>{r.d(t,{Zo:()=>p,kt:()=>m});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var s=n.createContext({}),l=function(e){var t=n.useContext(s),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},p=function(e){var t=l(e.components);return n.createElement(s.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,p=i(e,["components","mdxType","originalType","parentName"]),d=l(r),m=o,f=d["".concat(s,".").concat(m)]||d[m]||u[m]||a;return r?n.createElement(f,c(c({ref:t},p),{},{components:r})):n.createElement(f,c({ref:t},p))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,c=new Array(a);c[0]=d;var i={};for(var s in t)hasOwnProperty.call(t,s)&&(i[s]=t[s]);i.originalType=e,i.mdxType="string"==typeof e?e:o,c[1]=i;for(var l=2;l{r.r(t),r.d(t,{default:()=>l,frontMatter:()=>a,metadata:()=>c,toc:()=>i});var n=r(87462),o=(r(67294),r(3905));const a={},c={unversionedId:"dev-resources/nevm/communities",id:"dev-resources/nevm/communities",isDocsHomePage:!1,title:"Communities",description:"These are a few of the Web3 and cryptocurrency development communities that you should be a part of to further your knowledge and understanding of the present and future of blockchain technology, and connect with like-minded developers.",source:"@site/docs/dev-resources/nevm/communities.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/communities",permalink:"/docs/dev-resources/nevm/communities",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Resources",permalink:"/docs/dev-resources/nevm/resources"},next:{title:"Documentation & Libraries",permalink:"/docs/dev-resources/nevm/docs-and-libs"}},i=[],s={toc:i};function l(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"These are a few of the Web3 and cryptocurrency development communities that you should be a part of to further your knowledge and understanding of the present and future of blockchain technology, and connect with like-minded developers."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"CryptoDevs Discord")),(0,o.kt)("p",null,"This is a Discord server that is centred around blockchain development and is a great place to find like-minded developers who are also interested in developing for or learning about blockchain and dApp development. ",(0,o.kt)("a",{parentName:"p",href:"https://discord.com/invite/5W5tVb3"},"Join the server here.")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"ZK-Rollup-related Discords")),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://t.co/klHVDhQokP?amp=1"},"StarkWare"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://discord.gg/8FHZDXUxRH"},"zkSync"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://t.co/7wQkQaq16b?amp=1"},"Aztec")))))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4b288558.8510b435.js b/assets/js/4b288558.8510b435.js new file mode 100644 index 00000000..0753d620 --- /dev/null +++ b/assets/js/4b288558.8510b435.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8249],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});var n=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),p=u(r),m=i,v=p["".concat(c,".").concat(m)]||p[m]||d[m]||o;return r?n.createElement(v,s(s({ref:t},l),{},{components:r})):n.createElement(v,s({ref:t},l))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=r.length,s=new Array(o);s[0]=p;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a.mdxType="string"==typeof e?e:i,s[1]=a;for(var u=2;u{r.r(t),r.d(t,{default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>a});var n=r(87462),i=(r(67294),r(3905));const o={sidebar_position:1},s={unversionedId:"dev-resources/documentation/javascript-sdk-ref/overview",id:"dev-resources/documentation/javascript-sdk-ref/overview",isDocsHomePage:!1,title:"Overview",description:"This reference documentation is a community effort and is currently still a WIP, as such there will still be some information missing. Please let us know in the Discord if you find mistakes or things that should be added.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/overview.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/overview",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/overview",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Z-DAG Developer Guide",permalink:"/docs/dev-resources/sys/z-dag"},next:{title:"Syscoinjs-lib",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs"}},a=[],c={toc:a};function u(e){let{components:t,...o}=e;return(0,i.kt)("wrapper",(0,n.Z)({},c,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"This reference documentation is a community effort and is currently still a WIP, as such there will still be some information missing. Please let us know in the ",(0,i.kt)("a",{parentName:"p",href:"https://discord.gg/syscoin"},"Discord")," if you find mistakes or things that should be added."),(0,i.kt)("p",null,"The diagram below shows the layout of the syscoinjs-lib module."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Syscoinjs-lib provides general functions for signing and sending transactions, as well as creating/issuing/sending tokens."),(0,i.kt)("li",{parentName:"ul"},"Utils.js provides utility functions that return information related to user accounts, addresses, tokens as well as many others."),(0,i.kt)("li",{parentName:"ul"},"HDSigner and TrezorSigner are used to sign transactions using software or using a Trezor hardware wallet respectively.")),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"image-20211205153306662",src:r(38905).Z})))}u.isMDXComponent=!0},38905:(e,t,r)=>{r.d(t,{Z:()=>n});const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS8AAAEICAYAAAAOd3JWAAAaiUlEQVR4nO3dT2wbdf7/8Wf55c9UHDJIoM6tc+tcLGzDCl9QZ0+dVQ9Y4YBv+IAUc4A1olJ92W+9ElL8Y4WIVKlY6iHuCV8IpoJiwSG+4ZMzPxWEf6q0a071oVKnQjRDo9V8D076j9KSYnsyzush5RBnPPNO592X359J4jkSRVGEiEjCPBN3ASIiT0PhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJNBd3ATJy/vx5er0evu9jmiadTifukuQhrusSBAGZTIZMJsM777wTd0mHmiavmF2+fJn5+XkGgwEnT55kfX2dzc1NoijSxwH72NzcZH19nVdffZWffvqJxcVFvvrqq7hb6NA6oj/Mjs+ZM2e4du0an332GXNzGoKT5s6dOywvL5NKpVhdXY27nENHk1dMzpw5wzPPPMMXX3yh4EqohYUFvvzyS+7cucPZs2fjLufQUXjF4PLly1y7do0PP/ww7lJkDD766CO+//57rly5Encph4qWjTGYn59ne3tbE9cMCcOQ5557ju3t7bhLOTQ0eU3Z+fPneffddxVcM8YwDFZWVrhw4ULcpRwaCq8p6/V6pFKpuMuQCUilUvR6vbjLODQUXlPm+z7pdDruMmQCstmswmuKFF5TZpqmwmtGZTIZlpaW4i7j0NAF+yk7cuQI+iefXTq/06PJS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhdfMC+k3y3hpG8uysCybtFemOQindPw2RculPnj8VoM1F7u0n7uEdyjZu/v1K6TTFXxgUN/vfiSpdBeIWdevUyz3KbR92mkTGNKp5MkX6qS7ZZyJF+BR7+fAfPxWdqmF/6SNfk+6SqczOsQTMlJmiCavWTfwGdguXnovGCzcahu/VcQJmuQtj8bw3ubdsoNT7sKgScl1sB0b206Tr3UIABjSLns49ujxwlp39/EB7bJH2nFwHIdcYY1uANCm5ORp7E1IuTL1SgHPzeE4Ocrt0cEH9TzpcgcI6NbypB0bx7ZxckWa/Sd8j34V163i730edKnlczi2hZ0r0VSizSSF16zLFfCGaxQKNZodn2EIGCa2ZYLpUcj5NFp7/7t9Wh3wCjk6tQr9fJtBf8DAXyPnt+gGEDRLlHyPVn/AwK9h1ItUuzBslCl2XRp+n36/S9WsU6x2eGBxapjgt/G9Ou1OF79m06w1H5yWhk0qdZNad0B/MKBdNmh1fPZj2Olg1jr0B30a6Q7laptpLZJlehRes870aHRblO0+jbKHbVo4XpmGHwImXtGl32yNAsRv0g49CjkwbZNBu07LHxKaLpXmGp4Z0m11sQsFHGO077rvU8uFdNsdnGKBtMFovwWXsNPlN0OT5VJwR1OgYaexhgOG93/dsLBCn2arQz8Au1CnWdrfDUuMXJHCqEDcgovhd35bhySewuswsHIUaw3a/pBw2GHN7VP1irQCML0Cbr9JawD9dpswXyAHpCst6t6QejGNZeV2l4chwyDENI27uzYMA4OQIBjdGeku08QMhr+deAyDu882Hv4iYOapt8uY7Qp528TxyrQGIfg1cpaFZVnYhebuUvXRDNO8d/XMNDGD8LHbSzIpvGZc4Ldo9++LENPBq1TwjD7dAWB4FL0hzWaLVgvyhdzuhjZeeRR4w24Z6kWqXQPTNAiG96IgHPYZBAamCUFwX0QEAYFpPdUleDNdZK3ZpR8MaLg+pXKTIF2m3ffxfR+/nn/sfsMguBeaQUBgGk/7owA5wBReMy7o1ikWSjT7e8ES4DfqtEnjOgAGbsFlWC9TDz0KaYAhzYJLuT16jmE52Obutvkc/WYTPwSCDmU3z5oPubxLv7H7OAGtRgfDdff908ywW8Et1BnlrYljWxghhBiY5mjyun/ye/Q+mrSGACGdVgfS+69DDj79qsSMs0sNmmGFat6hNLpaj53LU23V8HYzwHCLeDTpeAVGV5csvHKeVimNXQIwcQprNHJg5uo0ugUK9hoBJrlynYZrYFKn0S1STDcIATNdplnLAe191WvkSpStInmnRggYlku1XsD6ozsIwXJzDEo50v0hgemx1vIeuUKVZNNNZ6fsYN6U1KeWLkGzSyWmEWWw5uL2qwzqbjwFjMnBPL+zSZOXMGhUaVglOjGurYJh8OgL+CK/Q9e8DrU+a65Fbs2gUi/+8aXZmPm1HG4DCvnckzcW2aVl45RpWTHbdH6nR5OXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJpPASkURSeE2Z6yb7/ark8XR+p0fhNWVBEOD7+7uVlyTD1tYWt27diruMQ0PhNWWZTIatra24y5AJ6PV6ZLPZuMs4NBReU5bNZvnhhx/iLkMm4OrVqwqvKdKbEcZgcXGRn3/+mYWFhbhLkTG5ffs2L7zwAr/88kvcpRwamrxisLGxwfLyctxlyBgtLy+zsbERdxmHisIrBqdPnyaVSvH+++/HXYqMwXvvvcfLL7/MqVOn4i7lUFF4xWR1dZW5uTlOnz5NGIZPfoIcOLdv38bzPJ599lk++OCDuMs5dHTNK2ZXrlzh9ddfZ2VlhVQqRTabJZPJxF2W/I6trS16vR5Xr17l4sWLbGxsaOKKicLrgLhw4QK9Xo9er8fS0hKdTifukuQhruty69YtstksL730Em+//XbcJR1qCi+ZKN0KTCZF17xEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4yVh9++23LC0tcenSpQcev3TpEktLS3zzzTcxVSazRm9GKGNnGAZzc3McPXqUGzdu8Pzzz7O9vc3Ozg6//vpr3OXJjNDkJWNXrVbZ2dnhxo0bANy4cYOdnR2q1WrMlcks0eQlE3H06NEH7oq0uLiouyTJWGnykok4d+7c3TuCLywscO7cuZgrklmjyUsmZm/60tQlk6DJSybm3LlzzM/Pa+qSidDkJROzs7PDW2+9xcWLF+8uIUXGReF1QJw/f55er4fv+5imqZvOHkCu6xIEAZlMhkwmwzvvvBN3SYealo0xu3z5MvPz8wwGA06ePMn6+jqbm5tEUaSPA/axubnJ+vo6r776Kj/99BOLi4t89dVXcbfQoaXJK0Znzpzh2rVrfPbZZ8zNzcVdjuzTnTt3WF5eJpVKsbq6Gnc5h44mr5icOXOGZ555hi+++ELBlVALCwt8+eWX3Llzh7Nnz8ZdzqGj8IrB5cuXuXbtGh9++GHcpcgYfPTRR3z//fdcuXIl7lIOFS0bYzA/P8/29rYmrhkShiHPPfcc29vbcZdyaGjymrLz58/z7rvvKrhmjGEYrKyscOHChbhLOTQUXlPW6/VIpVJxlyETkEql6PV6cZdxaCi8psz3fdLpdNxlyARks1mF1xQpvKbMNE2F14zKZDIsLS3FXcahoQv2U3bkyBH0Tz67dH6nR5OXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKL3lKAd1mmwEAbYqWS30A+BXS6Qr+H93NfrcX2aW7QMhT8mlUm+QLHjYe9X4OTNh3CqWrdDqjp4rshyYveYzdiWr48OcDGvkizf/fopQu0Bi0KTl5GoOHnj5oUnIdbMfGttPkax2Chw/hV3Hd6ijz/sj2IrsUXvIUbIr1Krljeep+k6L96K06tQr9fJtBf8DAXyPnt+g+Jo32u70cbgovmRjTNhm067T8IaHpUmmu4T1mfbjf7eVwU3jJxKQrLerekHoxjWXlKKx1H7sM3O/2crgpvOSPC0PCcD9PsPHKDdr+kGG3DPUi1e44t5fDTOElj2FhmUP8/iixhq0m3b3wMoAwIPjd0WhIs+BSbo82MCwHe28JGPi0mx2Gf3R7kUdQeMljpClVc3RLOVzPozLM4dpACJg58jmfUjpH7ZG/HmHhlfMMK2ls28Z2ivjuGpUcMGxTKdXp/tHtRR5BN52dMt2U9CF+hXQRGn6NWbiPuM7v9GjykliFwyGBYWLEXYgkjsJL4tMp4xTa2AUPJ+5aJHG0bJwyLStmm87v9GjyEpFEUniJSCIpvEQkkRReIpJICi8RSSSFl4gkksJLRBJJ4SUiiaTwEpFEUniJSCIpvEQkkRReIpJICq8pc1037hJkgnR+p0fhNWVBEOD7uj/0LNra2uLWrVtxl3FoKLymLJPJsLW1FXcZMgG9Xo9sNht3GYeGwmvKstksP/zwQ9xlyARcvXpV4TVFejPCGCwuLvLzzz+zsLAQdykyJrdv3+aFF17gl19+ibuUQ0OTVww2NjZYXl6OuwwZo+XlZTY2NuIu41BReMXg9OnTpFIp3n///bhLkTF47733ePnllzl16lTcpRwqCq+YrK6uMjc3x+nTpwn3dxtqOSBu376N53k8++yzfPDBB3GXc+jomlfMrly5wuuvv87KygqpVIpsNksmk4m7LPkdW1tb9Ho9rl69ysWLF9nY2NDEFROF1wFx4cIFer0evV6PpaUlOp1O3CXJQ1zX5datW2SzWV566SXefvvtuEs61BReMlG6FZhMiq55iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJHm4i4g6f7617/q/eYfwzRNjhw5EncZB5LrumxubsZdRmLpPez/JL1Huzwt9c6fo2WjiCSSwktEEknhJSKJpPASkURSeIlIIim89unbb79laWmJS5cuPfD4pUuXWFpa4ptvvompMjnovvnmG/XOGOlXJZ6CYRjMzc1x9OhRbty4wfPPP8/29jY7Ozv8+uuvcZcnB9ji4iLz8/O/6Z3//ve/bG9vx11eomjyegrVapWdnR1u3LgBwI0bN9jZ2aFarcZcmRx0//znPx/ZO//zP/8Tc2XJo8nrKR09epQwDO9+vri4+MDnIr9HvTMemrye0rlz51hYWABgYWGBc+fOxVyRJIV6Zzw0ef0Je6+geuWU/VLv/HmavP6Ef/zjH8zPz+uVU/ZNvfPnafL6E3Z2dnjrrbe4ePHi3WWAyB+h3vnzphZe58+fp9fr4fs+pmnqbWQOINd1CYKATCZDJpPhnXfeibskQL2TBHH0zsSXjZcvX2Z+fp7BYMDJkydZX19nc3OTKIr0ccA+Njc3WV9f59VXX+Wnn35icXGRr776atItot6ZgY84emeik9eZM2e4du0an332GXNzet/DpLlz5w7Ly8ukUilWV1enemz1TrJNo3cmNnmdOXOGI0eO8MUXX6j5EmphYYEvv/ySO3fuUKlUpnZc9U7yTaN3JhJely9f5tq1a/zrX/+axO5lyj766COuXr3KlStXJn4s9c5smWTvTGTZOD8/z/b2tl41Z0gYhjz33HMT//s79c7smVTv/J/qmP8g7/z585w4cYK//e1v49ytxGxubo4bN27w73//m7/85S8TOYZ6ZzZNqnfGvmzs9XqkUqlx71YOgFQqRa/Xm9j+1TuzaxK9M/bw8n2fdDo97t3KAZDNZicaXuqd2TWJ3hl7eJmmqQacUZlMhqWlpYntX70zuybRO2O/YK970c22SZ5f9c5sG/f51R9mi0giKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIok02+EVtsibLvXBgw8P6i5mvkkI0ClhHTmCYRgYhoFpp/FKa3SG9z0h6LJWyOFYFpZlYtk5CmtdAgDaFK3fHkMOsG4ZxzjCkSMPfxg45e6UiwnpN8t4aRvLsrAsm7RXpjkIARisudgl3SH8kaIxm8Aun97259FrSyejT/7z4MP/+eRktPTap9F2FEXR5kp0/MWz0dbeU65/F3268kp07MSb0dc3oyiKtqOv3zwenVj5Orq+vbvNj+vRG8ePR29+PXpg++bNaHs631HsJnl+4+idm+unoqVT69HNqR95148fR68cOxV9vLVXwfVo8+wr0dIrH0c/RlEUbd+Mbs5Ic437/M725PUUDCtHod5izWlTqfnAkP4gJO25WMbuNk6RRrfDmmsAbUpOnsYAIKBT83Bsm3QuT6VeJueU6QLDuotTXGOt6OG5aZx0kebutBb2GxRzDrbj4KTz1DqjmQ6/QjpXolZIY3t1NNxNQ0gzb5GvVHBtm1KHe5O37eA4OQr13am7UyZt29i2jW1bGEes0faE9JslXMfGcRycXJGGvztJ1V2cYoVSziZX8WHgM7BdvLS5e3wLt9rGbxVxgEE9T7q8O3kNmhRzNraTxi02WCtY5JvBbp+UqVcKeG4Ox8lRbu8tHYZ0annS9qgWt9igH/7O95k0Y43CKPmT156bn74WLZ38JLoeRdGPH5+Mjh0/Ff39k8+j7/7z8Gv019Gbx3aPsXU2evH4G9Hn16Mo2v4x+uS1Y9HiidG+r39yMlo8/kb06fUoiqLt6Lu/n4hOnP0uiqKtaPXF49Fr66Mit7dWo1eOvxl9vR1F0dZq9OLSiWjl8+tj/od5epM8v3H0zm8nr+3o8zcWo2MnP462tkefb64cj068+XV0PYqi6OZmtPLiiejv3z24n/+sn4qOv3J29JzdaWr3lEbXP30tOv7KavRjNOqDpeOv3f1adPPr6M3jx6IX31iNPt3cujvd393vxyej4yubURTdjD597Vj0yupWtB1F0c3Nv0cvLi5Gr326HUU/rkYvLp6IVjZH38X2529Ex05+HP0niqKbn74RHXvx79F3N6Moiq5Hn79xPHrl4x8f8X1O3rjP7+xPXmGXSs7avZ4w+shVuqPrXY9hmiZGEBAATrlNp+4RtmsU0xaGnaNQ6zB86DnDbpdBroBnAYZDseRhGve+bqQL5C0AA9uxCIYB9Nu0hi6lgn13m4LdodUFDMDIkfesMf1jyB9jYOfzpA0An1bHIF/2sABMl5Jn0Gn59zYfNChVA0r1KmkDht0W/VyR3VOKlS+S7rfvXUdNF8jvfg3To9FtUbb7NMoetmnheOW7k9o9Ph3fIp9PYwCmW6KYvq+5LJeCO5reDDuNNRwwJKTb6uAUy+RMAIt80WXY6uxO8fd/n8kz+7clNtJU2i2K9/3/HzbyuE+4LhsMh4SWy2474Hhl6l4ZCBl2m1RKefJ06Vbue04QjkJv79CWhXnfPg3T4Dd9EgwJghZFx773tTAkNwzBAkzzgQCU6TDNvTMXEAwHtPI2zb0vhiHkd5f2DGiUqgSlFuXdFAiGIcZ9fYBhYhohwe5TDMN8oC+wchRrOYo1IOjTrpcpeUXMfpN791IKCAKTu2VhYd3/mmbc11v3GolhENCtudhr9x4LLYe96u99n8kz++GFgWk+eKLDJ6bBgGaji5NfwwoHdNpDnHxu9MqLgZUrUi01SLf7hPfFkWEaBEFAyKh/wuGQgCdMTaaNaRWoD+q4D3+t/we/RZkgE9NyqDR9Ko+4K9ugXqIalGiV03c7wbRMwu5oajcBwiFBaNwLnvvaL/BbdA0Pz9l90HTwKhW8epnugPvCy8Q0dwPQAggYPjz6/4aBZZnkql06pYf7MEz8NdTZXzbuUzj0aZTyVIcFakUHGNCq5CnWOgzDvW061Bt9HNd5YJKy02msbovR9fYBzXqH8EnrU8clb3ZotHY7MehQK9bYu2YvcUuTd0Oajc7utDKkVSmy5ocwqO8uFys8uILzSPsNWrvpMGg28Z087iNex4JunWKhRLO/d8ID/EadNmlc5/4tHXJOn3Z79IoWdOo0+09qLoNc3mXQbODvXqTvN8qUGrPxqqjwAsL/93/J7f6el5Uu0AiLNDt1XBMwXGqtNZxumZxlYpomdq7CIN+gVXYe3FGuQi3fp+Q4pN0KQ8/DfuKSL025WYGaO/qpVa6Cn/N2r1FI/AzcWoPisELOtrFtl7VgNCn5zTqdoM9afu8njjaFZgB2iXrNpuE5OI6D17CoNUo4j9i7XWrQLEI972CaJqbpUGyaVFtreA/0jkWhVsOsu9hOjkLTIe8++XqCmV+jketSdGxs2yHfhLz3qEqSRzednaRuGads0epWHtm4SaSbzh4UAQ3PoV0a0Mwn46Kobjp7kA0beLZHvR8CAZ1GmzCdw37iE0WerFt2cErt0fJ10KTpO7hJ/VHhGByCC/ZTZBWoVdoUPZsaBoZToNF0f/sTRpGnkKus4RXKOFaIYVij5ewhfmXUslH2RctGeVpaNoqIoPASkYRSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRxh5ervubNzOWGTLJ86vemW3jPr9jD68gCPB9/8kbSuJsbW1x69atie1fvTO7JtE7Yw+vTCbD1tbWuHcrB0Cv1yObzU5s/+qd2TWJ3hl7eGWzWX744Ydx71YOgKtXr040vNQ7s2sSvTP2NyMEWFxc5Oeff2ZhYWHcu5aY3L59mxdeeIFffvllosdR78yeSfXORH7auLGxwfLy8iR2LTFZXl5mY2Nj4sdR78yeSfXORMLr9OnTpFIp3n///UnsXqbsvffe4+WXX+bUqVMTP5Z6Z7ZMsncm9nteq6urzM3Ncfr0acIn3nlVDqLbt2/jeR7PPvssH3zwwdSOq95Jvmn0zkSued3vypUrvP7666ysrJBKpchms2QymUkeUv6Era0ter0eV69e5eLFi2xsbExl4noU9U6yTLt3Jh5eey5cuECv16PX67G0tESn05nGYWUfXNfl1q1bZLNZXnrpJd5+++24SwLUO0kQR+9MLbxERMZJf9soIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgi/S8LddAQn3HvJQAAAABJRU5ErkJggg=="}}]); \ No newline at end of file diff --git a/assets/js/4b288558.faa07d8c.js b/assets/js/4b288558.faa07d8c.js deleted file mode 100644 index 3222946f..00000000 --- a/assets/js/4b288558.faa07d8c.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8249],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>v});var n=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var c=n.createContext({}),u=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=u(e.components);return n.createElement(c.Provider,{value:t},e.children)},d="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,l=a(e,["components","mdxType","originalType","parentName"]),d=u(r),m=i,v=d["".concat(c,".").concat(m)]||d[m]||p[m]||o;return r?n.createElement(v,s(s({ref:t},l),{},{components:r})):n.createElement(v,s({ref:t},l))}));function v(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=r.length,s=new Array(o);s[0]=m;var a={};for(var c in t)hasOwnProperty.call(t,c)&&(a[c]=t[c]);a.originalType=e,a[d]="string"==typeof e?e:i,s[1]=a;for(var u=2;u{r.r(t),r.d(t,{default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>a});var n=r(87462),i=(r(67294),r(3905));const o={sidebar_position:1},s={unversionedId:"dev-resources/documentation/javascript-sdk-ref/overview",id:"dev-resources/documentation/javascript-sdk-ref/overview",isDocsHomePage:!1,title:"Overview",description:"This reference documentation is a community effort and is currently still a WIP, as such there will still be some information missing. Please let us know in the Discord if you find mistakes or things that should be added.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/overview.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/overview",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/overview",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Z-DAG Developer Guide",permalink:"/docs/dev-resources/sys/z-dag"},next:{title:"Syscoinjs-lib",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs"}},a=[],c={toc:a},u="wrapper";function l(e){let{components:t,...o}=e;return(0,i.kt)(u,(0,n.Z)({},c,o,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"This reference documentation is a community effort and is currently still a WIP, as such there will still be some information missing. Please let us know in the ",(0,i.kt)("a",{parentName:"p",href:"https://discord.gg/syscoin"},"Discord")," if you find mistakes or things that should be added."),(0,i.kt)("p",null,"The diagram below shows the layout of the syscoinjs-lib module."),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Syscoinjs-lib provides general functions for signing and sending transactions, as well as creating/issuing/sending tokens."),(0,i.kt)("li",{parentName:"ul"},"Utils.js provides utility functions that return information related to user accounts, addresses, tokens as well as many others."),(0,i.kt)("li",{parentName:"ul"},"HDSigner and TrezorSigner are used to sign transactions using software or using a Trezor hardware wallet respectively.")),(0,i.kt)("p",null,(0,i.kt)("img",{alt:"image-20211205153306662",src:r(38905).Z})))}l.isMDXComponent=!0},38905:(e,t,r)=>{r.d(t,{Z:()=>n});const n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAS8AAAEICAYAAAAOd3JWAAAaiUlEQVR4nO3dT2wbdf7/8Wf55c9UHDJIoM6tc+tcLGzDCl9QZ0+dVQ9Y4YBv+IAUc4A1olJ92W+9ElL8Y4WIVKlY6iHuCV8IpoJiwSG+4ZMzPxWEf6q0a071oVKnQjRDo9V8D076j9KSYnsyzush5RBnPPNO592X359J4jkSRVGEiEjCPBN3ASIiT0PhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJNBd3ATJy/vx5er0evu9jmiadTifukuQhrusSBAGZTIZMJsM777wTd0mHmiavmF2+fJn5+XkGgwEnT55kfX2dzc1NoijSxwH72NzcZH19nVdffZWffvqJxcVFvvrqq7hb6NA6oj/Mjs+ZM2e4du0an332GXNzGoKT5s6dOywvL5NKpVhdXY27nENHk1dMzpw5wzPPPMMXX3yh4EqohYUFvvzyS+7cucPZs2fjLufQUXjF4PLly1y7do0PP/ww7lJkDD766CO+//57rly5Encph4qWjTGYn59ne3tbE9cMCcOQ5557ju3t7bhLOTQ0eU3Z+fPneffddxVcM8YwDFZWVrhw4ULcpRwaCq8p6/V6pFKpuMuQCUilUvR6vbjLODQUXlPm+z7pdDruMmQCstmswmuKFF5TZpqmwmtGZTIZlpaW4i7j0NAF+yk7cuQI+iefXTq/06PJS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhdfMC+k3y3hpG8uysCybtFemOQindPw2RculPnj8VoM1F7u0n7uEdyjZu/v1K6TTFXxgUN/vfiSpdBeIWdevUyz3KbR92mkTGNKp5MkX6qS7ZZyJF+BR7+fAfPxWdqmF/6SNfk+6SqczOsQTMlJmiCavWTfwGdguXnovGCzcahu/VcQJmuQtj8bw3ubdsoNT7sKgScl1sB0b206Tr3UIABjSLns49ujxwlp39/EB7bJH2nFwHIdcYY1uANCm5ORp7E1IuTL1SgHPzeE4Ocrt0cEH9TzpcgcI6NbypB0bx7ZxckWa/Sd8j34V163i730edKnlczi2hZ0r0VSizSSF16zLFfCGaxQKNZodn2EIGCa2ZYLpUcj5NFp7/7t9Wh3wCjk6tQr9fJtBf8DAXyPnt+gGEDRLlHyPVn/AwK9h1ItUuzBslCl2XRp+n36/S9WsU6x2eGBxapjgt/G9Ou1OF79m06w1H5yWhk0qdZNad0B/MKBdNmh1fPZj2Olg1jr0B30a6Q7laptpLZJlehRes870aHRblO0+jbKHbVo4XpmGHwImXtGl32yNAsRv0g49CjkwbZNBu07LHxKaLpXmGp4Z0m11sQsFHGO077rvU8uFdNsdnGKBtMFovwWXsNPlN0OT5VJwR1OgYaexhgOG93/dsLBCn2arQz8Au1CnWdrfDUuMXJHCqEDcgovhd35bhySewuswsHIUaw3a/pBw2GHN7VP1irQCML0Cbr9JawD9dpswXyAHpCst6t6QejGNZeV2l4chwyDENI27uzYMA4OQIBjdGeku08QMhr+deAyDu882Hv4iYOapt8uY7Qp528TxyrQGIfg1cpaFZVnYhebuUvXRDNO8d/XMNDGD8LHbSzIpvGZc4Ldo9++LENPBq1TwjD7dAWB4FL0hzWaLVgvyhdzuhjZeeRR4w24Z6kWqXQPTNAiG96IgHPYZBAamCUFwX0QEAYFpPdUleDNdZK3ZpR8MaLg+pXKTIF2m3ffxfR+/nn/sfsMguBeaQUBgGk/7owA5wBReMy7o1ikWSjT7e8ES4DfqtEnjOgAGbsFlWC9TDz0KaYAhzYJLuT16jmE52Obutvkc/WYTPwSCDmU3z5oPubxLv7H7OAGtRgfDdff908ywW8Et1BnlrYljWxghhBiY5mjyun/ye/Q+mrSGACGdVgfS+69DDj79qsSMs0sNmmGFat6hNLpaj53LU23V8HYzwHCLeDTpeAVGV5csvHKeVimNXQIwcQprNHJg5uo0ugUK9hoBJrlynYZrYFKn0S1STDcIATNdplnLAe191WvkSpStInmnRggYlku1XsD6ozsIwXJzDEo50v0hgemx1vIeuUKVZNNNZ6fsYN6U1KeWLkGzSyWmEWWw5uL2qwzqbjwFjMnBPL+zSZOXMGhUaVglOjGurYJh8OgL+CK/Q9e8DrU+a65Fbs2gUi/+8aXZmPm1HG4DCvnckzcW2aVl45RpWTHbdH6nR5OXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJpPASkURSeE2Z6yb7/ark8XR+p0fhNWVBEOD7+7uVlyTD1tYWt27diruMQ0PhNWWZTIatra24y5AJ6PV6ZLPZuMs4NBReU5bNZvnhhx/iLkMm4OrVqwqvKdKbEcZgcXGRn3/+mYWFhbhLkTG5ffs2L7zwAr/88kvcpRwamrxisLGxwfLyctxlyBgtLy+zsbERdxmHisIrBqdPnyaVSvH+++/HXYqMwXvvvcfLL7/MqVOn4i7lUFF4xWR1dZW5uTlOnz5NGIZPfoIcOLdv38bzPJ599lk++OCDuMs5dHTNK2ZXrlzh9ddfZ2VlhVQqRTabJZPJxF2W/I6trS16vR5Xr17l4sWLbGxsaOKKicLrgLhw4QK9Xo9er8fS0hKdTifukuQhruty69YtstksL730Em+//XbcJR1qCi+ZKN0KTCZF17xEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4yVh9++23LC0tcenSpQcev3TpEktLS3zzzTcxVSazRm9GKGNnGAZzc3McPXqUGzdu8Pzzz7O9vc3Ozg6//vpr3OXJjNDkJWNXrVbZ2dnhxo0bANy4cYOdnR2q1WrMlcks0eQlE3H06NEH7oq0uLiouyTJWGnykok4d+7c3TuCLywscO7cuZgrklmjyUsmZm/60tQlk6DJSybm3LlzzM/Pa+qSidDkJROzs7PDW2+9xcWLF+8uIUXGReF1QJw/f55er4fv+5imqZvOHkCu6xIEAZlMhkwmwzvvvBN3SYealo0xu3z5MvPz8wwGA06ePMn6+jqbm5tEUaSPA/axubnJ+vo6r776Kj/99BOLi4t89dVXcbfQoaXJK0Znzpzh2rVrfPbZZ8zNzcVdjuzTnTt3WF5eJpVKsbq6Gnc5h44mr5icOXOGZ555hi+++ELBlVALCwt8+eWX3Llzh7Nnz8ZdzqGj8IrB5cuXuXbtGh9++GHcpcgYfPTRR3z//fdcuXIl7lIOFS0bYzA/P8/29rYmrhkShiHPPfcc29vbcZdyaGjymrLz58/z7rvvKrhmjGEYrKyscOHChbhLOTQUXlPW6/VIpVJxlyETkEql6PV6cZdxaCi8psz3fdLpdNxlyARks1mF1xQpvKbMNE2F14zKZDIsLS3FXcahoQv2U3bkyBH0Tz67dH6nR5OXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRFF4ikkgKL3lKAd1mmwEAbYqWS30A+BXS6Qr+H93NfrcX2aW7QMhT8mlUm+QLHjYe9X4OTNh3CqWrdDqjp4rshyYveYzdiWr48OcDGvkizf/fopQu0Bi0KTl5GoOHnj5oUnIdbMfGttPkax2Chw/hV3Hd6ijz/sj2IrsUXvIUbIr1Krljeep+k6L96K06tQr9fJtBf8DAXyPnt+g+Jo32u70cbgovmRjTNhm067T8IaHpUmmu4T1mfbjf7eVwU3jJxKQrLerekHoxjWXlKKx1H7sM3O/2crgpvOSPC0PCcD9PsPHKDdr+kGG3DPUi1e44t5fDTOElj2FhmUP8/iixhq0m3b3wMoAwIPjd0WhIs+BSbo82MCwHe28JGPi0mx2Gf3R7kUdQeMljpClVc3RLOVzPozLM4dpACJg58jmfUjpH7ZG/HmHhlfMMK2ls28Z2ivjuGpUcMGxTKdXp/tHtRR5BN52dMt2U9CF+hXQRGn6NWbiPuM7v9GjykliFwyGBYWLEXYgkjsJL4tMp4xTa2AUPJ+5aJHG0bJwyLStmm87v9GjyEpFEUniJSCIpvEQkkRReIpJICi8RSSSFl4gkksJLRBJJ4SUiiaTwEpFEUniJSCIpvEQkkRReIpJICq8pc1037hJkgnR+p0fhNWVBEOD7uj/0LNra2uLWrVtxl3FoKLymLJPJsLW1FXcZMgG9Xo9sNht3GYeGwmvKstksP/zwQ9xlyARcvXpV4TVFejPCGCwuLvLzzz+zsLAQdykyJrdv3+aFF17gl19+ibuUQ0OTVww2NjZYXl6OuwwZo+XlZTY2NuIu41BReMXg9OnTpFIp3n///bhLkTF47733ePnllzl16lTcpRwqCq+YrK6uMjc3x+nTpwn3dxtqOSBu376N53k8++yzfPDBB3GXc+jomlfMrly5wuuvv87KygqpVIpsNksmk4m7LPkdW1tb9Ho9rl69ysWLF9nY2NDEFROF1wFx4cIFer0evV6PpaUlOp1O3CXJQ1zX5datW2SzWV566SXefvvtuEs61BReMlG6FZhMiq55iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJHm4i4g6f7617/q/eYfwzRNjhw5EncZB5LrumxubsZdRmLpPez/JL1Huzwt9c6fo2WjiCSSwktEEknhJSKJpPASkURSeIlIIim89unbb79laWmJS5cuPfD4pUuXWFpa4ptvvompMjnovvnmG/XOGOlXJZ6CYRjMzc1x9OhRbty4wfPPP8/29jY7Ozv8+uuvcZcnB9ji4iLz8/O/6Z3//ve/bG9vx11eomjyegrVapWdnR1u3LgBwI0bN9jZ2aFarcZcmRx0//znPx/ZO//zP/8Tc2XJo8nrKR09epQwDO9+vri4+MDnIr9HvTMemrye0rlz51hYWABgYWGBc+fOxVyRJIV6Zzw0ef0Je6+geuWU/VLv/HmavP6Ef/zjH8zPz+uVU/ZNvfPnafL6E3Z2dnjrrbe4ePHi3WWAyB+h3vnzphZe58+fp9fr4fs+pmnqbWQOINd1CYKATCZDJpPhnXfeibskQL2TBHH0zsSXjZcvX2Z+fp7BYMDJkydZX19nc3OTKIr0ccA+Njc3WV9f59VXX+Wnn35icXGRr776atItot6ZgY84emeik9eZM2e4du0an332GXNzet/DpLlz5w7Ly8ukUilWV1enemz1TrJNo3cmNnmdOXOGI0eO8MUXX6j5EmphYYEvv/ySO3fuUKlUpnZc9U7yTaN3JhJely9f5tq1a/zrX/+axO5lyj766COuXr3KlStXJn4s9c5smWTvTGTZOD8/z/b2tl41Z0gYhjz33HMT//s79c7smVTv/J/qmP8g7/z585w4cYK//e1v49ytxGxubo4bN27w73//m7/85S8TOYZ6ZzZNqnfGvmzs9XqkUqlx71YOgFQqRa/Xm9j+1TuzaxK9M/bw8n2fdDo97t3KAZDNZicaXuqd2TWJ3hl7eJmmqQacUZlMhqWlpYntX70zuybRO2O/YK970c22SZ5f9c5sG/f51R9mi0giKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIok02+EVtsibLvXBgw8P6i5mvkkI0ClhHTmCYRgYhoFpp/FKa3SG9z0h6LJWyOFYFpZlYtk5CmtdAgDaFK3fHkMOsG4ZxzjCkSMPfxg45e6UiwnpN8t4aRvLsrAsm7RXpjkIARisudgl3SH8kaIxm8Aun97259FrSyejT/7z4MP/+eRktPTap9F2FEXR5kp0/MWz0dbeU65/F3268kp07MSb0dc3oyiKtqOv3zwenVj5Orq+vbvNj+vRG8ePR29+PXpg++bNaHs631HsJnl+4+idm+unoqVT69HNqR95148fR68cOxV9vLVXwfVo8+wr0dIrH0c/RlEUbd+Mbs5Ic437/M725PUUDCtHod5izWlTqfnAkP4gJO25WMbuNk6RRrfDmmsAbUpOnsYAIKBT83Bsm3QuT6VeJueU6QLDuotTXGOt6OG5aZx0kebutBb2GxRzDrbj4KTz1DqjmQ6/QjpXolZIY3t1NNxNQ0gzb5GvVHBtm1KHe5O37eA4OQr13am7UyZt29i2jW1bGEes0faE9JslXMfGcRycXJGGvztJ1V2cYoVSziZX8WHgM7BdvLS5e3wLt9rGbxVxgEE9T7q8O3kNmhRzNraTxi02WCtY5JvBbp+UqVcKeG4Ox8lRbu8tHYZ0annS9qgWt9igH/7O95k0Y43CKPmT156bn74WLZ38JLoeRdGPH5+Mjh0/Ff39k8+j7/7z8Gv019Gbx3aPsXU2evH4G9Hn16Mo2v4x+uS1Y9HiidG+r39yMlo8/kb06fUoiqLt6Lu/n4hOnP0uiqKtaPXF49Fr66Mit7dWo1eOvxl9vR1F0dZq9OLSiWjl8+tj/od5epM8v3H0zm8nr+3o8zcWo2MnP462tkefb64cj068+XV0PYqi6OZmtPLiiejv3z24n/+sn4qOv3J29JzdaWr3lEbXP30tOv7KavRjNOqDpeOv3f1adPPr6M3jx6IX31iNPt3cujvd393vxyej4yubURTdjD597Vj0yupWtB1F0c3Nv0cvLi5Gr326HUU/rkYvLp6IVjZH38X2529Ex05+HP0niqKbn74RHXvx79F3N6Moiq5Hn79xPHrl4x8f8X1O3rjP7+xPXmGXSs7avZ4w+shVuqPrXY9hmiZGEBAATrlNp+4RtmsU0xaGnaNQ6zB86DnDbpdBroBnAYZDseRhGve+bqQL5C0AA9uxCIYB9Nu0hi6lgn13m4LdodUFDMDIkfesMf1jyB9jYOfzpA0An1bHIF/2sABMl5Jn0Gn59zYfNChVA0r1KmkDht0W/VyR3VOKlS+S7rfvXUdNF8jvfg3To9FtUbb7NMoetmnheOW7k9o9Ph3fIp9PYwCmW6KYvq+5LJeCO5reDDuNNRwwJKTb6uAUy+RMAIt80WXY6uxO8fd/n8kz+7clNtJU2i2K9/3/HzbyuE+4LhsMh4SWy2474Hhl6l4ZCBl2m1RKefJ06Vbue04QjkJv79CWhXnfPg3T4Dd9EgwJghZFx773tTAkNwzBAkzzgQCU6TDNvTMXEAwHtPI2zb0vhiHkd5f2DGiUqgSlFuXdFAiGIcZ9fYBhYhohwe5TDMN8oC+wchRrOYo1IOjTrpcpeUXMfpN791IKCAKTu2VhYd3/mmbc11v3GolhENCtudhr9x4LLYe96u99n8kz++GFgWk+eKLDJ6bBgGaji5NfwwoHdNpDnHxu9MqLgZUrUi01SLf7hPfFkWEaBEFAyKh/wuGQgCdMTaaNaRWoD+q4D3+t/we/RZkgE9NyqDR9Ko+4K9ugXqIalGiV03c7wbRMwu5oajcBwiFBaNwLnvvaL/BbdA0Pz9l90HTwKhW8epnugPvCy8Q0dwPQAggYPjz6/4aBZZnkql06pYf7MEz8NdTZXzbuUzj0aZTyVIcFakUHGNCq5CnWOgzDvW061Bt9HNd5YJKy02msbovR9fYBzXqH8EnrU8clb3ZotHY7MehQK9bYu2YvcUuTd0Oajc7utDKkVSmy5ocwqO8uFys8uILzSPsNWrvpMGg28Z087iNex4JunWKhRLO/d8ID/EadNmlc5/4tHXJOn3Z79IoWdOo0+09qLoNc3mXQbODvXqTvN8qUGrPxqqjwAsL/93/J7f6el5Uu0AiLNDt1XBMwXGqtNZxumZxlYpomdq7CIN+gVXYe3FGuQi3fp+Q4pN0KQ8/DfuKSL025WYGaO/qpVa6Cn/N2r1FI/AzcWoPisELOtrFtl7VgNCn5zTqdoM9afu8njjaFZgB2iXrNpuE5OI6D17CoNUo4j9i7XWrQLEI972CaJqbpUGyaVFtreA/0jkWhVsOsu9hOjkLTIe8++XqCmV+jketSdGxs2yHfhLz3qEqSRzednaRuGads0epWHtm4SaSbzh4UAQ3PoV0a0Mwn46Kobjp7kA0beLZHvR8CAZ1GmzCdw37iE0WerFt2cErt0fJ10KTpO7hJ/VHhGByCC/ZTZBWoVdoUPZsaBoZToNF0f/sTRpGnkKus4RXKOFaIYVij5ewhfmXUslH2RctGeVpaNoqIoPASkYRSeIlIIim8RCSRFF4ikkgKLxFJJIWXiCSSwktEEknhJSKJpPASkURSeIlIIim8RCSRxh5ervubNzOWGTLJ86vemW3jPr9jD68gCPB9/8kbSuJsbW1x69atie1fvTO7JtE7Yw+vTCbD1tbWuHcrB0Cv1yObzU5s/+qd2TWJ3hl7eGWzWX744Ydx71YOgKtXr040vNQ7s2sSvTP2NyMEWFxc5Oeff2ZhYWHcu5aY3L59mxdeeIFffvllosdR78yeSfXORH7auLGxwfLy8iR2LTFZXl5mY2Nj4sdR78yeSfXORMLr9OnTpFIp3n///UnsXqbsvffe4+WXX+bUqVMTP5Z6Z7ZMsncm9nteq6urzM3Ncfr0acIn3nlVDqLbt2/jeR7PPvssH3zwwdSOq95Jvmn0zkSued3vypUrvP7666ysrJBKpchms2QymUkeUv6Era0ter0eV69e5eLFi2xsbExl4noU9U6yTLt3Jh5eey5cuECv16PX67G0tESn05nGYWUfXNfl1q1bZLNZXnrpJd5+++24SwLUO0kQR+9MLbxERMZJf9soIomk8BKRRFJ4iUgiKbxEJJEUXiKSSAovEUkkhZeIJJLCS0QSSeElIomk8BKRRFJ4iUgi/S8LddAQn3HvJQAAAABJRU5ErkJggg=="}}]); \ No newline at end of file diff --git a/assets/js/4e379c15.5f8157be.js b/assets/js/4e379c15.5f8157be.js new file mode 100644 index 00000000..44d861b3 --- /dev/null +++ b/assets/js/4e379c15.5f8157be.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[605],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>u});var a=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,s=e.mdxType,i=e.originalType,l=e.parentName,p=r(e,["components","mdxType","originalType","parentName"]),m=c(n),u=s,k=m["".concat(l,".").concat(u)]||m[u]||d[u]||i;return n?a.createElement(k,o(o({ref:t},p),{},{components:n})):a.createElement(k,o({ref:t},p))}));function u(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var i=n.length,o=new Array(i);o[0]=m;var r={};for(var l in t)hasOwnProperty.call(t,l)&&(r[l]=t[l]);r.originalType=e,r.mdxType="string"==typeof e?e:s,o[1]=r;for(var c=2;c{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>i,metadata:()=>o,toc:()=>r});var a=n(87462),s=(n(67294),n(3905));const i={},o={unversionedId:"dev-resources/sys/exchange-integration",id:"dev-resources/sys/exchange-integration",isDocsHomePage:!1,title:"SPT Exchange Integration",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/dev-resources/sys/exchange-integration.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/exchange-integration",permalink:"/docs/dev-resources/sys/exchange-integration",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"SPT Asset Index Technical Description",permalink:"/docs/dev-resources/sys/asset-index"},next:{title:"Testnet Setup",permalink:"/docs/dev-resources/sys/testnet"}},r=[{value:"Set up for Interacting with Syscoin Directly via RPC",id:"set-up-for-interacting-with-syscoin-directly-via-rpc",children:[]},{value:"Commonly Used RPC Functions for Exchange Integration",id:"commonly-used-rpc-functions-for-exchange-integration",children:[]},{value:"Setup for using Blockbook API and syscoinjs-lib",id:"setup-for-using-blockbook-api-and-syscoinjs-lib",children:[]}],l={toc:r};function c(e){let{components:t,...n}=e;return(0,s.kt)("wrapper",(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,s.kt)("div",{parentName:"div",className:"admonition-heading"},(0,s.kt)("h5",{parentName:"div"},(0,s.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,s.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,s.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,s.kt)("div",{parentName:"div",className:"admonition-content"},(0,s.kt)("p",{parentName:"div"},(0,s.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,s.kt)("br",{parentName:"p"}),"\n","Now ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,s.kt)("p",{parentName:"div"},"Examples are available at ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,s.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"This guide is a primer to help exchanges integrate Syscoin Platform Tokens (SPT's).")),(0,s.kt)("p",null,'The Syscoin platform provides a UTXO-based token issuance system embedded in the Syscoin blockchain. Transactions of SPT\'s consume network fees paid in SYS and can provide token recipients an accompanying default "pass-forward" amount of SYS dust to enable them to transact the SPT without having to acquire or own SYS beforehand.'),(0,s.kt)("p",null,"An SPT has several noteworthy properties. Most important is the ",(0,s.kt)("inlineCode",{parentName:"p"},"asset_guid"),', the deterministically-assigned unique identifier of the token on the Syscoin blockchain. Similar to Ethereum, anyone can create a token and make its symbol "AGX" but there can only ever be one official AGX token with the ',(0,s.kt)("inlineCode",{parentName:"p"},"asset_guid")," of 367794646. Several popular SPT's and their associated identifiers can be found in the table below."),(0,s.kt)("table",null,(0,s.kt)("thead",{parentName:"table"},(0,s.kt)("tr",{parentName:"thead"},(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT Symbol"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT Description"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT Asset Guid"),(0,s.kt)("th",{parentName:"tr",align:"left"},"Website"))),(0,s.kt)("tbody",{parentName:"table"},(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"AGX"),(0,s.kt)("td",{parentName:"tr",align:"left"},"AGX Silver Token"),(0,s.kt)("td",{parentName:"tr",align:"left"},"367794646"),(0,s.kt)("td",{parentName:"tr",align:"left"})),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"AUX"),(0,s.kt)("td",{parentName:"tr",align:"left"},"Official Interfix Gold backed Token"),(0,s.kt)("td",{parentName:"tr",align:"left"},"1358717298"),(0,s.kt)("td",{parentName:"tr",align:"left"})),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"BTZC"),(0,s.kt)("td",{parentName:"tr",align:"left"},"BeatzCoin SPT"),(0,s.kt)("td",{parentName:"tr",align:"left"},"315501466"),(0,s.kt)("td",{parentName:"tr",align:"left"})))),(0,s.kt)("p",null,"There are two paths for integrating SPT assets."),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},"Interact with a syscoin daemon (syscoind) instance directly via RPC (you can optionally use ",(0,s.kt)("a",{parentName:"li",href:"https://github.com/syscoin/syscoin-js"},"syscoin-js")," for this)"),(0,s.kt)("li",{parentName:"ul"},"Interact with Syscoin via a Web 3.0 approach by using ",(0,s.kt)("a",{parentName:"li",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib")," which interacts with a running ",(0,s.kt)("a",{parentName:"li",href:"https://github.com/syscoin/blockbook"},"Syscoin Blockbook")," instance or a gateway of load-balanced Blockbook instances.")),(0,s.kt)("h2",{id:"set-up-for-interacting-with-syscoin-directly-via-rpc"},"Set up for Interacting with Syscoin Directly via RPC"),(0,s.kt)("p",null,"This walk-through assumes you are using the OS console."),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"Ensure the following line is in your syscoin.conf (default path ",(0,s.kt)("inlineCode",{parentName:"li"},"~/.syscoin/syscoin.conf"),")")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"assetindex=1\n")),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"Launch syscoind")),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"reindexing-to-build-local-asset-index"},"\ud83d\udcd8Reindexing to build local asset index"),(0,s.kt)("p",{parentName:"blockquote"},"If you previously launched syscoind without ",(0,s.kt)("inlineCode",{parentName:"p"},"assetindex=1")," in syscoin.conf, use -reindex, e.g. ",(0,s.kt)("inlineCode",{parentName:"p"},"syscoind -reindex"))),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"$ syscoind\n")),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"Create a wallet")),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"note"},"\ud83d\udcd8Note"),(0,s.kt)("p",{parentName:"blockquote"},"We strongly suggest creating two separate wallets, one strictly for SYS, and the other for SPT's with a smaller amount of SYS for transaction fees. This eliminates confusion and headaches related to coin control with SPT's.")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli createwallet "walletname"\n')),(0,s.kt)("p",null,"From here on, all syscoin-cli calls will need to add the ",(0,s.kt)("inlineCode",{parentName:"p"},'-rpcwallet "walletname"')," argument.\nIf using http-rpc, the https url should be in the form of ",(0,s.kt)("inlineCode",{parentName:"p"},"http://[ip]:[port]/wallet/[walletname]")),(0,s.kt)("p",null,"You can also launch syscoind in a way that connects with a specific wallet by using the ",(0,s.kt)("inlineCode",{parentName:"p"},"-wallet")," argument with the path to the directory containing the wallet.dat file."),(0,s.kt)("h2",{id:"commonly-used-rpc-functions-for-exchange-integration"},"Commonly Used RPC Functions for Exchange Integration"),(0,s.kt)("p",null,"For RPC documentation, please see ",(0,s.kt)("a",{parentName:"p",href:"https://syscoincore.org/en/doc/4.2.0/"},"https://syscoincore.org/en/doc/4.2.0/")),(0,s.kt)("p",null,"You can also use use ",(0,s.kt)("inlineCode",{parentName:"p"},"help ")," for a full description of the RPC and its options and arguments"),(0,s.kt)("table",null,(0,s.kt)("thead",{parentName:"table"},(0,s.kt)("tr",{parentName:"thead"},(0,s.kt)("th",{parentName:"tr",align:"left"},"Function"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SYS"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT"))),(0,s.kt)("tbody",{parentName:"table"},(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Query address balances"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"addressbalance")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"assetallocationbalance"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Obtain the block height or other chain status info"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"getblockchaininfo")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"getblockchaininfo"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Obtain wallet transaction list"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"listtransactions")," or ",(0,s.kt)("inlineCode",{parentName:"td"},"listunspent")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"listtransactions")," or ",(0,s.kt)("inlineCode",{parentName:"td"},"listunspentasset"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Get transaction details"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"gettransaction")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"gettransaction"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Asset transfer"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"sendtoaddress")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"assetallocationsend"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Asset transfer (batch)"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"sendmany")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"assetallocationsendmany"))))),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Query asset balances"),"\n",(0,s.kt)("inlineCode",{parentName:"p"},'assetallocationbalance "[\\"
\\"]" ')),(0,s.kt)("p",null,"You can query the sum balance of multiple addresses by listing more than one address, e.g.:\n",(0,s.kt)("inlineCode",{parentName:"p"},'assetallocationbalance "[\\"
\\",\\"
\\"]" ')),(0,s.kt)("p",null,'Output:\n"amount": SYS gas balance supplied for this asset\n"asset_amount": SPT balance'),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationbalance 530240372620954 "[\\"tsys1qedy7ukgnj9e96axgarw79e2au98ff9g4ffh829\\"]" 10\n\n{\n "amount": 0.00001960,\n "asset_amount": 3.55000000\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Obtain the blockheight or other chain status info")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli getblockchaininfo\n\n{\n "chain": "test",\n "blocks": 575809,\n "headers": 575809,\n "bestblockhash": "0000006727f5114eee02624b08d3f1d0f62ff7850bf85c612400ce668b174908",\n "difficulty": 0.006962848657727248,\n "mediantime": 1616709431,\n "verificationprogress": 0.9999993714602142,\n "initialblockdownload": false,\n "chainwork": "0000000000000000000000000000000000000000000000000000064f2f44f6c8",\n "size_on_disk": 341575106,\n "pruned": false,\n "geth_sync_status": "waiting to sync...",\n "geth_total_blocks": 0,\n "geth_current_block": 0,\n "softforks": {\n "bip34": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "bip66": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "bip65": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "csv": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "segwit": {\n "type": "buried",\n "active": true,\n "height": 0\n },\n "testdummy": {\n "type": "bip9",\n "bip9": {\n "status": "active",\n "start_time": 0,\n "timeout": 999999999999,\n "since": 550368\n },\n "height": 550368,\n "active": true\n },\n "taproot": {\n "type": "bip9",\n "bip9": {\n "status": "active",\n "start_time": -1,\n "timeout": 9223372036854775807,\n "since": 0\n },\n "height": 0,\n "active": true\n }\n },\n "warnings": ""\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Obtain wallet transaction list for assets"),"\n",(0,s.kt)("inlineCode",{parentName:"p"},"listtransactions")," is general purpose. It covers all transaction types and its output is verbose.\n",(0,s.kt)("inlineCode",{parentName:"p"},"listunspentasset ")," is more specific."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli listunspentasset 530240372620954 10\n[\n {\n "txid": "ac74df7b065bf501db991153920db3462780c8d238ef6fc5562ee7e4b2db565d",\n "vout": 0,\n "address": "tsys1qqzrxzg8cmyrl8xss353zkvty5qwlfga4r9tq4r",\n "label": "Another address",\n "scriptPubKey": "001400866120f8d907f39a108d222b3164a01df4a3b5",\n "amount": 0.00500000,\n "asset_guid": "530240372620954",\n "asset_amount": 0.00000200,\n "confirmations": 9771,\n "spendable": true,\n "solvable": true,\n "desc": "wpkh([1712892e/0\'/0\'/1\']02aec158d644eb2744479c7a0410e30b91d6278a1091ff7a4cd7caf6c132b1b820)#u0azeyff",\n "safe": true\n }\n]\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Get transaction details")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"$ syscoin-cli gettransaction fa4ee19861d5f9c0aa46d20f332458e559921255cf98c0873afc2462849588ba\n")),(0,s.kt)("h2",{id:"setup-for-using-blockbook-api-and-syscoinjs-lib"},"Setup for using Blockbook API and syscoinjs-lib"),(0,s.kt)("p",null,"Syscoin Blockbook uses its own syscoind instance as the backend, and indexes the blockchain data and tracks XPUB-based account balances to serve the API."),(0,s.kt)("p",null,"Please follow the readme in ",(0,s.kt)("a",{parentName:"p",href:"https://www.github.com/syscoin/blockbook"},"https://www.github.com/syscoin/blockbook")," if you want to implement your own Blockbook server instance.\nsyscoinjs-lib is used to communicate with blockbook server and the documentation is located at ",(0,s.kt)("a",{parentName:"p",href:"https://www.github.com/syscoin/syscoinjs-lib"},"https://www.github.com/syscoin/syscoinjs-lib")),(0,s.kt)("p",null,"Examples for using syscoinjs-lib are located at ",(0,s.kt)("a",{parentName:"p",href:"https://www.github.com/syscoin/syscoinjs-lib-examples"},"https://www.github.com/syscoin/syscoinjs-lib-examples")),(0,s.kt)("p",null,"A public Blockbook server instance for Syscoin is located at ",(0,s.kt)("a",{parentName:"p",href:"https://sys1.bcfn.ca/"},"https://sys1.bcfn.ca")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/4e379c15.b183834d.js b/assets/js/4e379c15.b183834d.js deleted file mode 100644 index 41a8bf39..00000000 --- a/assets/js/4e379c15.b183834d.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[605],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>k});var a=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},p=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},d="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,s=e.mdxType,i=e.originalType,l=e.parentName,p=r(e,["components","mdxType","originalType","parentName"]),d=c(n),u=s,k=d["".concat(l,".").concat(u)]||d[u]||m[u]||i;return n?a.createElement(k,o(o({ref:t},p),{},{components:n})):a.createElement(k,o({ref:t},p))}));function k(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var i=n.length,o=new Array(i);o[0]=u;var r={};for(var l in t)hasOwnProperty.call(t,l)&&(r[l]=t[l]);r.originalType=e,r[d]="string"==typeof e?e:s,o[1]=r;for(var c=2;c{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>i,metadata:()=>o,toc:()=>r});var a=n(87462),s=(n(67294),n(3905));const i={},o={unversionedId:"dev-resources/sys/exchange-integration",id:"dev-resources/sys/exchange-integration",isDocsHomePage:!1,title:"SPT Exchange Integration",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/dev-resources/sys/exchange-integration.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/exchange-integration",permalink:"/docs/dev-resources/sys/exchange-integration",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"SPT Asset Index Technical Description",permalink:"/docs/dev-resources/sys/asset-index"},next:{title:"Testnet Setup",permalink:"/docs/dev-resources/sys/testnet"}},r=[{value:"Set up for Interacting with Syscoin Directly via RPC",id:"set-up-for-interacting-with-syscoin-directly-via-rpc",children:[]},{value:"Commonly Used RPC Functions for Exchange Integration",id:"commonly-used-rpc-functions-for-exchange-integration",children:[]},{value:"Setup for using Blockbook API and syscoinjs-lib",id:"setup-for-using-blockbook-api-and-syscoinjs-lib",children:[]}],l={toc:r},c="wrapper";function p(e){let{components:t,...n}=e;return(0,s.kt)(c,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,s.kt)("div",{parentName:"div",className:"admonition-heading"},(0,s.kt)("h5",{parentName:"div"},(0,s.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,s.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,s.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,s.kt)("div",{parentName:"div",className:"admonition-content"},(0,s.kt)("p",{parentName:"div"},(0,s.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,s.kt)("br",{parentName:"p"}),"\n","Now ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,s.kt)("p",{parentName:"div"},"Examples are available at ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,s.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"This guide is a primer to help exchanges integrate Syscoin Platform Tokens (SPT's).")),(0,s.kt)("p",null,'The Syscoin platform provides a UTXO-based token issuance system embedded in the Syscoin blockchain. Transactions of SPT\'s consume network fees paid in SYS and can provide token recipients an accompanying default "pass-forward" amount of SYS dust to enable them to transact the SPT without having to acquire or own SYS beforehand.'),(0,s.kt)("p",null,"An SPT has several noteworthy properties. Most important is the ",(0,s.kt)("inlineCode",{parentName:"p"},"asset_guid"),', the deterministically-assigned unique identifier of the token on the Syscoin blockchain. Similar to Ethereum, anyone can create a token and make its symbol "AGX" but there can only ever be one official AGX token with the ',(0,s.kt)("inlineCode",{parentName:"p"},"asset_guid")," of 367794646. Several popular SPT's and their associated identifiers can be found in the table below."),(0,s.kt)("table",null,(0,s.kt)("thead",{parentName:"table"},(0,s.kt)("tr",{parentName:"thead"},(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT Symbol"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT Description"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT Asset Guid"),(0,s.kt)("th",{parentName:"tr",align:"left"},"Website"))),(0,s.kt)("tbody",{parentName:"table"},(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"AGX"),(0,s.kt)("td",{parentName:"tr",align:"left"},"AGX Silver Token"),(0,s.kt)("td",{parentName:"tr",align:"left"},"367794646"),(0,s.kt)("td",{parentName:"tr",align:"left"})),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"AUX"),(0,s.kt)("td",{parentName:"tr",align:"left"},"Official Interfix Gold backed Token"),(0,s.kt)("td",{parentName:"tr",align:"left"},"1358717298"),(0,s.kt)("td",{parentName:"tr",align:"left"})),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"BTZC"),(0,s.kt)("td",{parentName:"tr",align:"left"},"BeatzCoin SPT"),(0,s.kt)("td",{parentName:"tr",align:"left"},"315501466"),(0,s.kt)("td",{parentName:"tr",align:"left"})))),(0,s.kt)("p",null,"There are two paths for integrating SPT assets."),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},"Interact with a syscoin daemon (syscoind) instance directly via RPC (you can optionally use ",(0,s.kt)("a",{parentName:"li",href:"https://github.com/syscoin/syscoin-js"},"syscoin-js")," for this)"),(0,s.kt)("li",{parentName:"ul"},"Interact with Syscoin via a Web 3.0 approach by using ",(0,s.kt)("a",{parentName:"li",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib")," which interacts with a running ",(0,s.kt)("a",{parentName:"li",href:"https://github.com/syscoin/blockbook"},"Syscoin Blockbook")," instance or a gateway of load-balanced Blockbook instances.")),(0,s.kt)("h2",{id:"set-up-for-interacting-with-syscoin-directly-via-rpc"},"Set up for Interacting with Syscoin Directly via RPC"),(0,s.kt)("p",null,"This walk-through assumes you are using the OS console."),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"Ensure the following line is in your syscoin.conf (default path ",(0,s.kt)("inlineCode",{parentName:"li"},"~/.syscoin/syscoin.conf"),")")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"assetindex=1\n")),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"Launch syscoind")),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"reindexing-to-build-local-asset-index"},"\ud83d\udcd8Reindexing to build local asset index"),(0,s.kt)("p",{parentName:"blockquote"},"If you previously launched syscoind without ",(0,s.kt)("inlineCode",{parentName:"p"},"assetindex=1")," in syscoin.conf, use -reindex, e.g. ",(0,s.kt)("inlineCode",{parentName:"p"},"syscoind -reindex"))),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"$ syscoind\n")),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"Create a wallet")),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"note"},"\ud83d\udcd8Note"),(0,s.kt)("p",{parentName:"blockquote"},"We strongly suggest creating two separate wallets, one strictly for SYS, and the other for SPT's with a smaller amount of SYS for transaction fees. This eliminates confusion and headaches related to coin control with SPT's.")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli createwallet "walletname"\n')),(0,s.kt)("p",null,"From here on, all syscoin-cli calls will need to add the ",(0,s.kt)("inlineCode",{parentName:"p"},'-rpcwallet "walletname"')," argument.\nIf using http-rpc, the https url should be in the form of ",(0,s.kt)("inlineCode",{parentName:"p"},"http://[ip]:[port]/wallet/[walletname]")),(0,s.kt)("p",null,"You can also launch syscoind in a way that connects with a specific wallet by using the ",(0,s.kt)("inlineCode",{parentName:"p"},"-wallet")," argument with the path to the directory containing the wallet.dat file."),(0,s.kt)("h2",{id:"commonly-used-rpc-functions-for-exchange-integration"},"Commonly Used RPC Functions for Exchange Integration"),(0,s.kt)("p",null,"For RPC documentation, please see ",(0,s.kt)("a",{parentName:"p",href:"https://syscoincore.org/en/doc/4.2.0/"},"https://syscoincore.org/en/doc/4.2.0/")),(0,s.kt)("p",null,"You can also use use ",(0,s.kt)("inlineCode",{parentName:"p"},"help ")," for a full description of the RPC and its options and arguments"),(0,s.kt)("table",null,(0,s.kt)("thead",{parentName:"table"},(0,s.kt)("tr",{parentName:"thead"},(0,s.kt)("th",{parentName:"tr",align:"left"},"Function"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SYS"),(0,s.kt)("th",{parentName:"tr",align:"left"},"SPT"))),(0,s.kt)("tbody",{parentName:"table"},(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Query address balances"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"addressbalance")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"assetallocationbalance"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Obtain the block height or other chain status info"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"getblockchaininfo")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"getblockchaininfo"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Obtain wallet transaction list"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"listtransactions")," or ",(0,s.kt)("inlineCode",{parentName:"td"},"listunspent")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"listtransactions")," or ",(0,s.kt)("inlineCode",{parentName:"td"},"listunspentasset"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Get transaction details"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"gettransaction")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"gettransaction"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Asset transfer"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"sendtoaddress")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"assetallocationsend"))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Asset transfer (batch)"),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"sendmany")),(0,s.kt)("td",{parentName:"tr",align:"left"},(0,s.kt)("inlineCode",{parentName:"td"},"assetallocationsendmany"))))),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Query asset balances"),"\n",(0,s.kt)("inlineCode",{parentName:"p"},'assetallocationbalance "[\\"
\\"]" ')),(0,s.kt)("p",null,"You can query the sum balance of multiple addresses by listing more than one address, e.g.:\n",(0,s.kt)("inlineCode",{parentName:"p"},'assetallocationbalance "[\\"
\\",\\"
\\"]" ')),(0,s.kt)("p",null,'Output:\n"amount": SYS gas balance supplied for this asset\n"asset_amount": SPT balance'),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationbalance 530240372620954 "[\\"tsys1qedy7ukgnj9e96axgarw79e2au98ff9g4ffh829\\"]" 10\n\n{\n "amount": 0.00001960,\n "asset_amount": 3.55000000\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Obtain the blockheight or other chain status info")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli getblockchaininfo\n\n{\n "chain": "test",\n "blocks": 575809,\n "headers": 575809,\n "bestblockhash": "0000006727f5114eee02624b08d3f1d0f62ff7850bf85c612400ce668b174908",\n "difficulty": 0.006962848657727248,\n "mediantime": 1616709431,\n "verificationprogress": 0.9999993714602142,\n "initialblockdownload": false,\n "chainwork": "0000000000000000000000000000000000000000000000000000064f2f44f6c8",\n "size_on_disk": 341575106,\n "pruned": false,\n "geth_sync_status": "waiting to sync...",\n "geth_total_blocks": 0,\n "geth_current_block": 0,\n "softforks": {\n "bip34": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "bip66": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "bip65": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "csv": {\n "type": "buried",\n "active": true,\n "height": 1\n },\n "segwit": {\n "type": "buried",\n "active": true,\n "height": 0\n },\n "testdummy": {\n "type": "bip9",\n "bip9": {\n "status": "active",\n "start_time": 0,\n "timeout": 999999999999,\n "since": 550368\n },\n "height": 550368,\n "active": true\n },\n "taproot": {\n "type": "bip9",\n "bip9": {\n "status": "active",\n "start_time": -1,\n "timeout": 9223372036854775807,\n "since": 0\n },\n "height": 0,\n "active": true\n }\n },\n "warnings": ""\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Obtain wallet transaction list for assets"),"\n",(0,s.kt)("inlineCode",{parentName:"p"},"listtransactions")," is general purpose. It covers all transaction types and its output is verbose.\n",(0,s.kt)("inlineCode",{parentName:"p"},"listunspentasset ")," is more specific."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli listunspentasset 530240372620954 10\n[\n {\n "txid": "ac74df7b065bf501db991153920db3462780c8d238ef6fc5562ee7e4b2db565d",\n "vout": 0,\n "address": "tsys1qqzrxzg8cmyrl8xss353zkvty5qwlfga4r9tq4r",\n "label": "Another address",\n "scriptPubKey": "001400866120f8d907f39a108d222b3164a01df4a3b5",\n "amount": 0.00500000,\n "asset_guid": "530240372620954",\n "asset_amount": 0.00000200,\n "confirmations": 9771,\n "spendable": true,\n "solvable": true,\n "desc": "wpkh([1712892e/0\'/0\'/1\']02aec158d644eb2744479c7a0410e30b91d6278a1091ff7a4cd7caf6c132b1b820)#u0azeyff",\n "safe": true\n }\n]\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Get transaction details")),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"$ syscoin-cli gettransaction fa4ee19861d5f9c0aa46d20f332458e559921255cf98c0873afc2462849588ba\n")),(0,s.kt)("h2",{id:"setup-for-using-blockbook-api-and-syscoinjs-lib"},"Setup for using Blockbook API and syscoinjs-lib"),(0,s.kt)("p",null,"Syscoin Blockbook uses its own syscoind instance as the backend, and indexes the blockchain data and tracks XPUB-based account balances to serve the API."),(0,s.kt)("p",null,"Please follow the readme in ",(0,s.kt)("a",{parentName:"p",href:"https://www.github.com/syscoin/blockbook"},"https://www.github.com/syscoin/blockbook")," if you want to implement your own Blockbook server instance.\nsyscoinjs-lib is used to communicate with blockbook server and the documentation is located at ",(0,s.kt)("a",{parentName:"p",href:"https://www.github.com/syscoin/syscoinjs-lib"},"https://www.github.com/syscoin/syscoinjs-lib")),(0,s.kt)("p",null,"Examples for using syscoinjs-lib are located at ",(0,s.kt)("a",{parentName:"p",href:"https://www.github.com/syscoin/syscoinjs-lib-examples"},"https://www.github.com/syscoin/syscoinjs-lib-examples")),(0,s.kt)("p",null,"A public Blockbook server instance for Syscoin is located at ",(0,s.kt)("a",{parentName:"p",href:"https://sys1.bcfn.ca/"},"https://sys1.bcfn.ca")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/52386b31.9bf84b27.js b/assets/js/52386b31.9bf84b27.js new file mode 100644 index 00000000..ee4f739b --- /dev/null +++ b/assets/js/52386b31.9bf84b27.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3958],{3905:(e,t,n)=>{n.d(t,{Zo:()=>h,kt:()=>d});var o=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=o.createContext({}),l=function(e){var t=o.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},h=function(e){var t=l(e.components);return o.createElement(s.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},u=o.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,s=e.parentName,h=c(e,["components","mdxType","originalType","parentName"]),u=l(n),d=i,f=u["".concat(s,".").concat(d)]||u[d]||p[d]||r;return n?o.createElement(f,a(a({ref:t},h),{},{components:n})):o.createElement(f,a({ref:t},h))}));function d(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,a=new Array(r);a[0]=u;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c.mdxType="string"==typeof e?e:i,a[1]=c;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var o=n(87462),i=(n(67294),n(3905));const r={},a={unversionedId:"tech/bitcoin-tech",id:"tech/bitcoin-tech",isDocsHomePage:!1,title:"Bitcoin Technology",description:"Thanks to Syscoin's code base being around 90% in-line with Bitcoin's (and kept closely up-to-date), Syscoin can utilize even the most recent technologies that have been developed on Bitcoin. This applies to the Syscoin native chain, rather than the NEVM chain. You can read about two of these technologies below.",source:"@site/docs/tech/bitcoin-tech.mdx",sourceDirName:"tech",slug:"/tech/bitcoin-tech",permalink:"/docs/tech/bitcoin-tech",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"About Syscoin",permalink:"/docs/intro/syscoin-what"},next:{title:"Finality",permalink:"/docs/tech/finality"}},c=[{value:"Lightning Network",id:"lightning-network",children:[]},{value:"Taproot",id:"taproot",children:[]}],s={toc:c};function l(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,o.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Thanks to Syscoin's code base being around 90% in-line with Bitcoin's (and kept closely up-to-date), Syscoin can utilize even the most recent technologies that have been developed on Bitcoin. This applies to the Syscoin native chain, rather than the ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},"NEVM")," chain. You can read about two of these technologies below."),(0,i.kt)("h2",{id:"lightning-network"},"Lightning Network"),(0,i.kt)("p",null,"Lightning Network (LN) is an off-chain layer 2 technology that operates as a transaction layer on top of the Bitcoin blockchain. It was created in order to improve the scalability of Bitcoin without affecting its security and decentralization. LN enables cheaper and faster transactions, this is by creating payment channels between individuals that eventually form a web of interconnected channels where users can transact with each other with minimal fees. When a user enters or exits a channel is the only time they must pay a transaction cost directly to the miners of the blockchain, otherwise they pay extremely low fees for using LN. As mentioned above, this technology is able to be utilized by projects building on Syscoin as well."),(0,i.kt)("h2",{id:"taproot"},"Taproot"),(0,i.kt)("p",null,"Taproot is an upgrade to Bitcoin that brought several new features: Taproot, Tapscript and Schnorr signatures. The upgrade benefits Bitcoin in a number of ways. It improves Bitcoin's scripting language to make upgrades simpler. It also reduces the size of data required to be stored on-chain and through this lowers the transaction costs for users. It also improves the privacy of transactions. As this upgrade benefits Bitcoin, due to Syscoin maintaining around 90% of the codebase of Bitcoin these benefits are also brought to Syscoin on its base chain (not the ",(0,i.kt)("a",{parentName:"p",href:"nevm"},"NEVM")," chain)."),(0,i.kt)("p",null,"As more innovative technologies are developed for Bitcoin, Syscoin will be able to tap into these innovations and improve at the same time. Not only do these new developments apply to the SYS coin, but also to tokens operating on top of the base chain. This is another of the numerous benefits of building on top of the Syscoin technology stack."))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/52386b31.ce8b0551.js b/assets/js/52386b31.ce8b0551.js deleted file mode 100644 index 86273210..00000000 --- a/assets/js/52386b31.ce8b0551.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3958],{3905:(e,t,n)=>{n.d(t,{Zo:()=>h,kt:()=>f});var o=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var s=o.createContext({}),l=function(e){var t=o.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},h=function(e){var t=l(e.components);return o.createElement(s.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},d=o.forwardRef((function(e,t){var n=e.components,i=e.mdxType,r=e.originalType,s=e.parentName,h=c(e,["components","mdxType","originalType","parentName"]),p=l(n),d=i,f=p["".concat(s,".").concat(d)]||p[d]||u[d]||r;return n?o.createElement(f,a(a({ref:t},h),{},{components:n})):o.createElement(f,a({ref:t},h))}));function f(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var r=n.length,a=new Array(r);a[0]=d;var c={};for(var s in t)hasOwnProperty.call(t,s)&&(c[s]=t[s]);c.originalType=e,c[p]="string"==typeof e?e:i,a[1]=c;for(var l=2;l{n.r(t),n.d(t,{default:()=>h,frontMatter:()=>r,metadata:()=>a,toc:()=>c});var o=n(87462),i=(n(67294),n(3905));const r={},a={unversionedId:"tech/bitcoin-tech",id:"tech/bitcoin-tech",isDocsHomePage:!1,title:"Bitcoin Technology",description:"Thanks to Syscoin's code base being around 90% in-line with Bitcoin's (and kept closely up-to-date), Syscoin can utilize even the most recent technologies that have been developed on Bitcoin. This applies to the Syscoin native chain, rather than the NEVM chain. You can read about two of these technologies below.",source:"@site/docs/tech/bitcoin-tech.mdx",sourceDirName:"tech",slug:"/tech/bitcoin-tech",permalink:"/docs/tech/bitcoin-tech",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"About Syscoin",permalink:"/docs/intro/syscoin-what"},next:{title:"Finality",permalink:"/docs/tech/finality"}},c=[{value:"Lightning Network",id:"lightning-network",children:[]},{value:"Taproot",id:"taproot",children:[]}],s={toc:c},l="wrapper";function h(e){let{components:t,...n}=e;return(0,i.kt)(l,(0,o.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Thanks to Syscoin's code base being around 90% in-line with Bitcoin's (and kept closely up-to-date), Syscoin can utilize even the most recent technologies that have been developed on Bitcoin. This applies to the Syscoin native chain, rather than the ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},"NEVM")," chain. You can read about two of these technologies below."),(0,i.kt)("h2",{id:"lightning-network"},"Lightning Network"),(0,i.kt)("p",null,"Lightning Network (LN) is an off-chain layer 2 technology that operates as a transaction layer on top of the Bitcoin blockchain. It was created in order to improve the scalability of Bitcoin without affecting its security and decentralization. LN enables cheaper and faster transactions, this is by creating payment channels between individuals that eventually form a web of interconnected channels where users can transact with each other with minimal fees. When a user enters or exits a channel is the only time they must pay a transaction cost directly to the miners of the blockchain, otherwise they pay extremely low fees for using LN. As mentioned above, this technology is able to be utilized by projects building on Syscoin as well."),(0,i.kt)("h2",{id:"taproot"},"Taproot"),(0,i.kt)("p",null,"Taproot is an upgrade to Bitcoin that brought several new features: Taproot, Tapscript and Schnorr signatures. The upgrade benefits Bitcoin in a number of ways. It improves Bitcoin's scripting language to make upgrades simpler. It also reduces the size of data required to be stored on-chain and through this lowers the transaction costs for users. It also improves the privacy of transactions. As this upgrade benefits Bitcoin, due to Syscoin maintaining around 90% of the codebase of Bitcoin these benefits are also brought to Syscoin on its base chain (not the ",(0,i.kt)("a",{parentName:"p",href:"nevm"},"NEVM")," chain)."),(0,i.kt)("p",null,"As more innovative technologies are developed for Bitcoin, Syscoin will be able to tap into these innovations and improve at the same time. Not only do these new developments apply to the SYS coin, but also to tokens operating on top of the base chain. This is another of the numerous benefits of building on top of the Syscoin technology stack."))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5436.2187bfef.js b/assets/js/5436.2187bfef.js new file mode 100644 index 00000000..21f5c6e5 --- /dev/null +++ b/assets/js/5436.2187bfef.js @@ -0,0 +1,2 @@ +/*! For license information please see 5436.2187bfef.js.LICENSE.txt */ +(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5436],{3905:(t,e,r)=>{"use strict";r.d(e,{Zo:()=>c,kt:()=>d});var n=r(67294);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var u=n.createContext({}),l=function(t){var e=n.useContext(u),r=e;return t&&(r="function"==typeof t?t(e):s(s({},e),t)),r},c=function(t){var e=l(t.components);return n.createElement(u.Provider,{value:e},t.children)},h={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},f=n.forwardRef((function(t,e){var r=t.components,i=t.mdxType,o=t.originalType,u=t.parentName,c=a(t,["components","mdxType","originalType","parentName"]),f=l(r),d=i,p=f["".concat(u,".").concat(d)]||f[d]||h[d]||o;return r?n.createElement(p,s(s({ref:e},c),{},{components:r})):n.createElement(p,s({ref:e},c))}));function d(t,e){var r=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var o=r.length,s=new Array(o);s[0]=f;var a={};for(var u in e)hasOwnProperty.call(e,u)&&(a[u]=e[u]);a.originalType=t,a.mdxType="string"==typeof t?t:i,s[1]=a;for(var l=2;l255)return!1;return!0}function i(t,e){if(t.buffer&&ArrayBuffer.isView(t)&&"Uint8Array"===t.name)return e&&(t=t.slice?t.slice():Array.prototype.slice.call(t)),t;if(Array.isArray(t)){if(!n(t))throw new Error("Array contains invalid value: "+t);return new Uint8Array(t)}if(r(t.length)&&n(t))return new Uint8Array(t);throw new Error("unsupported array-like object")}function o(t){return new Uint8Array(t)}function s(t,e,r,n,i){null==n&&null==i||(t=t.slice?t.slice(n,i):Array.prototype.slice.call(t,n,i)),e.set(t,r)}var a,u={toBytes:function(t){var e=[],r=0;for(t=encodeURI(t);r191&&n<224?(e.push(String.fromCharCode((31&n)<<6|63&t[r+1])),r+=2):(e.push(String.fromCharCode((15&n)<<12|(63&t[r+1])<<6|63&t[r+2])),r+=3)}return e.join("")}},l=(a="0123456789abcdef",{toBytes:function(t){for(var e=[],r=0;r>4]+a[15&n])}return e.join("")}}),c={16:10,24:12,32:14},h=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],f=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],m=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],g=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],v=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],w=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],b=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],A=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],E=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],k=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],_=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],S=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function P(t){for(var e=[],r=0;r>2,this._Ke[r][e%4]=o[e],this._Kd[t-r][e%4]=o[e];for(var s,a=0,u=i;u>16&255]<<24^f[s>>8&255]<<16^f[255&s]<<8^f[s>>24&255]^h[a]<<24,a+=1,8!=i)for(e=1;e>8&255]<<8^f[s>>16&255]<<16^f[s>>24&255]<<24;for(e=i/2+1;e>2,d=u%4,this._Ke[l][d]=o[e],this._Kd[t-l][d]=o[e++],u++}for(var l=1;l>24&255]^k[s>>16&255]^_[s>>8&255]^S[255&s]},N.prototype.encrypt=function(t){if(16!=t.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var e=this._Ke.length-1,r=[0,0,0,0],n=P(t),i=0;i<4;i++)n[i]^=this._Ke[0][i];for(var s=1;s>24&255]^m[n[(i+1)%4]>>16&255]^g[n[(i+2)%4]>>8&255]^y[255&n[(i+3)%4]]^this._Ke[s][i];n=r.slice()}var a,u=o(16);for(i=0;i<4;i++)a=this._Ke[e][i],u[4*i]=255&(f[n[i]>>24&255]^a>>24),u[4*i+1]=255&(f[n[(i+1)%4]>>16&255]^a>>16),u[4*i+2]=255&(f[n[(i+2)%4]>>8&255]^a>>8),u[4*i+3]=255&(f[255&n[(i+3)%4]]^a);return u},N.prototype.decrypt=function(t){if(16!=t.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var e=this._Kd.length-1,r=[0,0,0,0],n=P(t),i=0;i<4;i++)n[i]^=this._Kd[0][i];for(var s=1;s>24&255]^w[n[(i+3)%4]>>16&255]^b[n[(i+2)%4]>>8&255]^A[255&n[(i+1)%4]]^this._Kd[s][i];n=r.slice()}var a,u=o(16);for(i=0;i<4;i++)a=this._Kd[e][i],u[4*i]=255&(d[n[i]>>24&255]^a>>24),u[4*i+1]=255&(d[n[(i+3)%4]>>16&255]^a>>16),u[4*i+2]=255&(d[n[(i+2)%4]>>8&255]^a>>8),u[4*i+3]=255&(d[255&n[(i+1)%4]]^a);return u};var M=function(t){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new N(t)};M.prototype.encrypt=function(t){if((t=i(t)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=o(t.length),r=o(16),n=0;n=0;--e)this._counter[e]=t%256,t>>=8},T.prototype.setBytes=function(t){if(16!=(t=i(t,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=t},T.prototype.increment=function(){for(var t=15;t>=0;t--){if(255!==this._counter[t]){this._counter[t]++;break}this._counter[t]=0}};var R=function(t,e){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",e instanceof T||(e=new T(e)),this._counter=e,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new N(t)};R.prototype.encrypt=function(t){for(var e=i(t,!0),r=0;r16)throw new Error("PKCS#7 padding byte out of range");for(var r=t.length-e,n=0;n{"use strict";for(var e="qpzry9x8gf2tvdw0s3jn54khce6mua7l",r={},n=0;n>25;return(33554431&t)<<5^996825010&-(e>>0&1)^642813549&-(e>>1&1)^513874426&-(e>>2&1)^1027748829&-(e>>3&1)^705979059&-(e>>4&1)}function s(t){for(var e=1,r=0;r126)return"Invalid prefix ("+t+")";e=o(e)^n>>5}for(e=o(e),r=0;re)return"Exceeds length limit";var n=t.toLowerCase(),i=t.toUpperCase();if(t!==n&&t!==i)return"Mixed-case string "+t;var a=(t=n).lastIndexOf("1");if(-1===a)return"No separator character for "+t;if(0===a)return"Missing prefix for "+t;var u=t.slice(0,a),l=t.slice(a+1);if(l.length<6)return"Data too short";var c=s(u);if("string"==typeof c)return c;for(var h=[],f=0;f=l.length||h.push(p)}return 1!==c?"Invalid checksum for "+t:{prefix:u,words:h}}function u(t,e,r,n){for(var i=0,o=0,s=(1<=r;)o-=r,a.push(i>>o&s);if(n)o>0&&a.push(i<=e)return"Excess padding";if(i<n)throw new TypeError("Exceeds length limit");var i=s(t=t.toLowerCase());if("string"==typeof i)throw new Error(i);for(var a=t+"1",u=0;u>5!=0)throw new Error("Non 5-bit word");i=o(i)^l,a+=e.charAt(l)}for(u=0;u<6;++u)i=o(i);for(i^=1,u=0;u<6;++u){a+=e.charAt(i>>5*(5-u)&31)}return a},toWordsUnsafe:function(t){var e=u(t,8,5,!0);if(Array.isArray(e))return e},toWords:function(t){var e=u(t,8,5,!0);if(Array.isArray(e))return e;throw new Error(e)},fromWordsUnsafe:function(t){var e=u(t,5,8,!1);if(Array.isArray(e))return e},fromWords:function(t){var e=u(t,5,8,!1);if(Array.isArray(e))return e;throw new Error(e)}}},13550:function(t,e,r){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(46601).Buffer}catch(M){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function u(t,e,r){var n=a(t,r);return r-1>=e&&(n|=a(t,r-1)<<4),n}function l(t,e,r,i){for(var o=0,s=0,a=Math.min(t.length,r),u=e;u=49?l-49+10:l>=17?l-17+10:l,n(l>=0&&s0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)s=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n=e;n-=2)i=u(t,e,n)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(t.length-e)%2==0?e+1:e;n=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,c=r;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(M){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,s=0;s>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),r=0!==o||s!==this.length-1?f[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=d[t],c=p[t];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(c).toString(t);r=(h=h.idivn(c)).isZero()?m+r:f[l-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],s=i*o,a=67108863&s,u=s/67108864|0;r.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,e.length-1),d=Math.max(0,l-t.length+1);d<=f;d++){var p=l-d|0;c+=(s=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&s}r.words[l]=0|h,u=0|c}return 0!==u?r.words[l]=0|u:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var s=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i>8&255),r>16&255),6===o?(r>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r=0&&(t[r--]=s>>8&255),r>=0&&(t[r--]=s>>16&255),6===o?(r>=0&&(t[r--]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,s=0;s>26,this.words[s]=67108863&e;for(;0!==o&&s>26,this.words[s]=67108863&e;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],y=8191&g,v=g>>>13,w=0|s[3],b=8191&w,A=w>>>13,E=0|s[4],k=8191&E,_=E>>>13,S=0|s[5],P=8191&S,N=S>>>13,M=0|s[6],x=8191&M,C=M>>>13,I=0|s[7],T=8191&I,R=I>>>13,B=0|s[8],O=8191&B,F=B>>>13,D=0|s[9],U=8191&D,L=D>>>13,G=0|a[0],j=8191&G,z=G>>>13,K=0|a[1],q=8191&K,H=K>>>13,J=0|a[2],V=8191&J,W=J>>>13,Q=0|a[3],Y=8191&Q,X=Q>>>13,Z=0|a[4],$=8191&Z,tt=Z>>>13,et=0|a[5],rt=8191&et,nt=et>>>13,it=0|a[6],ot=8191&it,st=it>>>13,at=0|a[7],ut=8191&at,lt=at>>>13,ct=0|a[8],ht=8191&ct,ft=ct>>>13,dt=0|a[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(l+(n=Math.imul(h,j))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,j)|0))<<13)|0;l=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,j),i=(i=Math.imul(p,z))+Math.imul(m,j)|0,o=Math.imul(m,z);var yt=(l+(n=n+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(f,q)|0))<<13)|0;l=((o=o+Math.imul(f,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,j),i=(i=Math.imul(y,z))+Math.imul(v,j)|0,o=Math.imul(v,z),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,H)|0;var vt=(l+(n=n+Math.imul(h,V)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(f,V)|0))<<13)|0;l=((o=o+Math.imul(f,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(b,j),i=(i=Math.imul(b,z))+Math.imul(A,j)|0,o=Math.imul(A,z),n=n+Math.imul(y,q)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,H)|0,n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,W)|0;var wt=(l+(n=n+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(f,Y)|0))<<13)|0;l=((o=o+Math.imul(f,X)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,j),i=(i=Math.imul(k,z))+Math.imul(_,j)|0,o=Math.imul(_,z),n=n+Math.imul(b,q)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(y,V)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var bt=(l+(n=n+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,$)|0))<<13)|0;l=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(P,j),i=(i=Math.imul(P,z))+Math.imul(N,j)|0,o=Math.imul(N,z),n=n+Math.imul(k,q)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(_,q)|0,o=o+Math.imul(_,H)|0,n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,Y)|0,o=o+Math.imul(v,X)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var At=(l+(n=n+Math.imul(h,rt)|0)|0)+((8191&(i=(i=i+Math.imul(h,nt)|0)+Math.imul(f,rt)|0))<<13)|0;l=((o=o+Math.imul(f,nt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(x,j),i=(i=Math.imul(x,z))+Math.imul(C,j)|0,o=Math.imul(C,z),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,H)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,H)|0,n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(_,V)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Et=(l+(n=n+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,st)|0)+Math.imul(f,ot)|0))<<13)|0;l=((o=o+Math.imul(f,st)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(T,j),i=(i=Math.imul(T,z))+Math.imul(R,j)|0,o=Math.imul(R,z),n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,H)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,H)|0,n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,W)|0,n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,X)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,X)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(v,rt)|0,o=o+Math.imul(v,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,st)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,st)|0;var kt=(l+(n=n+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,lt)|0)+Math.imul(f,ut)|0))<<13)|0;l=((o=o+Math.imul(f,lt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(O,j),i=(i=Math.imul(O,z))+Math.imul(F,j)|0,o=Math.imul(F,z),n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,H)|0)+Math.imul(R,q)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(x,V)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,W)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,X)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,st)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,st)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,lt)|0;var _t=(l+(n=n+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;l=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(U,j),i=(i=Math.imul(U,z))+Math.imul(L,j)|0,o=Math.imul(L,z),n=n+Math.imul(O,q)|0,i=(i=i+Math.imul(O,H)|0)+Math.imul(F,q)|0,o=o+Math.imul(F,H)|0,n=n+Math.imul(T,V)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,X)|0)+Math.imul(C,Y)|0,o=o+Math.imul(C,X)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,st)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,st)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,lt)|0,n=n+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var St=(l+(n=n+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;l=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(U,q),i=(i=Math.imul(U,H))+Math.imul(L,q)|0,o=Math.imul(L,H),n=n+Math.imul(O,V)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(F,V)|0,o=o+Math.imul(F,W)|0,n=n+Math.imul(T,Y)|0,i=(i=i+Math.imul(T,X)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,X)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(N,rt)|0,o=o+Math.imul(N,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,st)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,st)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,lt)|0,n=n+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,ft)|0;var Pt=(l+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;l=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(U,V),i=(i=Math.imul(U,W))+Math.imul(L,V)|0,o=Math.imul(L,W),n=n+Math.imul(O,Y)|0,i=(i=i+Math.imul(O,X)|0)+Math.imul(F,Y)|0,o=o+Math.imul(F,X)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(x,rt)|0,i=(i=i+Math.imul(x,nt)|0)+Math.imul(C,rt)|0,o=o+Math.imul(C,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,st)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,st)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,lt)|0,n=n+Math.imul(b,ht)|0,i=(i=i+Math.imul(b,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var Nt=(l+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;l=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(U,Y),i=(i=Math.imul(U,X))+Math.imul(L,Y)|0,o=Math.imul(L,X),n=n+Math.imul(O,$)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(F,$)|0,o=o+Math.imul(F,tt)|0,n=n+Math.imul(T,rt)|0,i=(i=i+Math.imul(T,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,st)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,st)|0,n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,lt)|0,n=n+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(_,ht)|0,o=o+Math.imul(_,ft)|0;var Mt=(l+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,mt)|0)+Math.imul(A,pt)|0))<<13)|0;l=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(U,$),i=(i=Math.imul(U,tt))+Math.imul(L,$)|0,o=Math.imul(L,tt),n=n+Math.imul(O,rt)|0,i=(i=i+Math.imul(O,nt)|0)+Math.imul(F,rt)|0,o=o+Math.imul(F,nt)|0,n=n+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,st)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,st)|0,n=n+Math.imul(x,ut)|0,i=(i=i+Math.imul(x,lt)|0)+Math.imul(C,ut)|0,o=o+Math.imul(C,lt)|0,n=n+Math.imul(P,ht)|0,i=(i=i+Math.imul(P,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var xt=(l+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,mt)|0)+Math.imul(_,pt)|0))<<13)|0;l=((o=o+Math.imul(_,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(U,rt),i=(i=Math.imul(U,nt))+Math.imul(L,rt)|0,o=Math.imul(L,nt),n=n+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,st)|0)+Math.imul(F,ot)|0,o=o+Math.imul(F,st)|0,n=n+Math.imul(T,ut)|0,i=(i=i+Math.imul(T,lt)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,lt)|0,n=n+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(C,ht)|0,o=o+Math.imul(C,ft)|0;var Ct=(l+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(N,pt)|0))<<13)|0;l=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(U,ot),i=(i=Math.imul(U,st))+Math.imul(L,ot)|0,o=Math.imul(L,st),n=n+Math.imul(O,ut)|0,i=(i=i+Math.imul(O,lt)|0)+Math.imul(F,ut)|0,o=o+Math.imul(F,lt)|0,n=n+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,ft)|0)+Math.imul(R,ht)|0,o=o+Math.imul(R,ft)|0;var It=(l+(n=n+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(C,pt)|0))<<13)|0;l=((o=o+Math.imul(C,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,ut),i=(i=Math.imul(U,lt))+Math.imul(L,ut)|0,o=Math.imul(L,lt),n=n+Math.imul(O,ht)|0,i=(i=i+Math.imul(O,ft)|0)+Math.imul(F,ht)|0,o=o+Math.imul(F,ft)|0;var Tt=(l+(n=n+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,mt)|0)+Math.imul(R,pt)|0))<<13)|0;l=((o=o+Math.imul(R,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(U,ht),i=(i=Math.imul(U,ft))+Math.imul(L,ht)|0,o=Math.imul(L,ft);var Rt=(l+(n=n+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,mt)|0)+Math.imul(F,pt)|0))<<13)|0;l=((o=o+Math.imul(F,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Bt=(l+(n=Math.imul(U,pt))|0)+((8191&(i=(i=Math.imul(U,mt))+Math.imul(L,pt)|0))<<13)|0;return l=((o=Math.imul(L,mt))+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=wt,u[4]=bt,u[5]=At,u[6]=Et,u[7]=kt,u[8]=_t,u[9]=St,u[10]=Pt,u[11]=Nt,u[12]=Mt,u[13]=xt,u[14]=Ct,u[15]=It,u[16]=Tt,u[17]=Rt,u[18]=Bt,0!==l&&(u[19]=l,r.length++),r};function y(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function v(t,e,r){return y(t,e,r)}function w(t,e){this.x=t,this.y=e}Math.imul||(g=m),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):r<63?m(this,t,e):r<1024?y(this,t,e):v(this,t,e)},w.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},w.prototype.permute=function(t,e,r,n,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*e;s>=26,r+=o/67108864|0,r+=s>>>26,this.words[i]=67108863&s}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(e=0;e>>26-r}s&&(this.words[e]=s,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,s=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,s=0|i.words[i.length-1];0!==(r=26-this._countBits(s))&&(i=i.ushln(r),n.iushln(r),s=0|i.words[i.length-1]);var a,u=n.length-i.length;if("mod"!==e){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;h--){var f=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);for(f=Math.min(f/s|0,67108863),n._ishlnsubmul(i,f,h);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);a&&(a.words[h]=f)}return a&&a._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(t)),{div:i,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,s,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++l;for(var c=r.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(a),s.isub(u)):(r.isub(e),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:r.iushln(l)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,s=new o(1),a=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var l=0,c=1;0==(e.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(e.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var h=0,f=1;0==(r.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(r.iushrn(h);h-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);e.cmp(r)>=0?(e.isub(r),s.isub(a)):(r.isub(e),a.isub(s))}return(i=0===e.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new P(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function A(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){A.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){A.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){A.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){A.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function P(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function N(t){P.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}A.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},A.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},A.prototype.split=function(t,e){t.iushrn(this.n,0,e)},A.prototype.imulK=function(t){return t.imul(this.k)},i(E,A),E.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=s}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(b[t])return b[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new k;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return b[t]=e,e},P.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},P.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},P.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},P.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},P.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},P.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},P.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},P.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},P.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},P.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},P.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},P.prototype.isqr=function(t){return this.imul(t,t.clone())},P.prototype.sqr=function(t){return this.mul(t,t)},P.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var h=this.pow(c,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=s;0!==d.cmp(a);){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();n(g=0;n--){for(var l=e.words[n],c=u-1;c>=0;c--){var h=l>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4===++a||0===n&&0===c)&&(i=this.mul(i,r[s]),a=0,s=0)):a=0}u=26}return i},P.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},P.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new N(t)},i(N,P),N.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},N.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},N.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},N.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},N.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=r.nmd(t),this)},68903:(t,e,r)=>{"use strict";r.r(e),r.d(e,{BaseContract:()=>Bn,BigNumber:()=>W,Contract:()=>On,ContractFactory:()=>Fn,FixedNumber:()=>Vn,Signer:()=>cr,VoidSigner:()=>hr,Wallet:()=>_o,Wordlist:()=>_i,constants:()=>i,errors:()=>g,ethers:()=>u,getDefaultProvider:()=>wu,logger:()=>Qu,providers:()=>o,utils:()=>a,version:()=>Wu,wordlists:()=>Mi});var n={};r.r(n),r.d(n,{decode:()=>Nt,encode:()=>_t});var i={};r.r(i),r.d(i,{AddressZero:()=>No,EtherSymbol:()=>xo,HashZero:()=>Mo,MaxInt256:()=>ge,MaxUint256:()=>pe,MinInt256:()=>me,NegativeOne:()=>le,One:()=>he,Two:()=>fe,WeiPerEther:()=>de,Zero:()=>ce});var o={};r.r(o),r.d(o,{AlchemyProvider:()=>Sa,AlchemyWebSocketProvider:()=>_a,AnkrProvider:()=>xa,BaseProvider:()=>$s,CloudflareProvider:()=>Ta,EtherscanProvider:()=>Ga,FallbackProvider:()=>ru,Formatter:()=>Ss,InfuraProvider:()=>au,InfuraWebSocketProvider:()=>su,IpcProvider:()=>nu,JsonRpcBatchProvider:()=>uu,JsonRpcProvider:()=>fa,JsonRpcSigner:()=>la,NodesmithProvider:()=>cu,PocketProvider:()=>du,Provider:()=>or,Resolver:()=>Ys,StaticJsonRpcProvider:()=>ba,UrlJsonRpcProvider:()=>Aa,Web3Provider:()=>yu,WebSocketProvider:()=>ya,getDefaultProvider:()=>wu,getNetwork:()=>Do,isCommunityResourcable:()=>Ps,isCommunityResource:()=>Ns,showThrottleMessage:()=>xs});var s={};r.r(s),r.d(s,{decode:()=>Uo,encode:()=>Lo});var a={};r.r(a),r.d(a,{AbiCoder:()=>Je,ConstructorFragment:()=>Oe,ErrorFragment:()=>Ue,EventFragment:()=>Ie,FormatTypes:()=>Pe,Fragment:()=>Ce,FunctionFragment:()=>Fe,HDNode:()=>Li,Indexed:()=>Ze,Interface:()=>er,LogDescription:()=>Qe,Logger:()=>v,ParamType:()=>Me,RLP:()=>n,SigningKey:()=>$r,SupportedAlgorithm:()=>gi,TransactionDescription:()=>Ye,TransactionTypes:()=>nn,UnicodeNormalizationForm:()=>Gt,Utf8ErrorFuncs:()=>Kt,Utf8ErrorReason:()=>jt,_TypedDataEncoder:()=>di,_fetchData:()=>vs,_toEscapedUtf8String:()=>Vt,accessListify:()=>dn,arrayify:()=>S,base58:()=>mi,base64:()=>s,checkProperties:()=>it,checkResultErrors:()=>dt,commify:()=>Ku,computeAddress:()=>ln,computeHmac:()=>Ai,computePublicKey:()=>en,concat:()=>P,deepCopy:()=>lt,defaultAbiCoder:()=>Ve,defaultPath:()=>Ui,defineReadOnly:()=>et,dnsEncode:()=>hs,entropyToMnemonic:()=>zi,fetchJson:()=>ws,formatBytes32String:()=>Lu,formatEther:()=>Ju,formatUnits:()=>qu,getAccountPath:()=>qi,getAddress:()=>Bt,getContractAddress:()=>Dt,getCreate2Address:()=>Ut,getIcapAddress:()=>Ft,getJsonWalletAddress:()=>wo,getStatic:()=>rt,hashMessage:()=>Yn,hexConcat:()=>B,hexDataLength:()=>T,hexDataSlice:()=>R,hexStripZeros:()=>F,hexValue:()=>O,hexZeroPad:()=>D,hexlify:()=>I,id:()=>Xt,isAddress:()=>Ot,isBytes:()=>_,isBytesLike:()=>E,isHexString:()=>x,isValidMnemonic:()=>Ki,isValidName:()=>ls,joinSignature:()=>L,keccak256:()=>wt,mnemonicToEntropy:()=>ji,mnemonicToSeed:()=>Gi,namehash:()=>cs,nameprep:()=>Uu,parseBytes32String:()=>Gu,parseEther:()=>Vu,parseTransaction:()=>wn,parseUnits:()=>Hu,poll:()=>bs,randomBytes:()=>Wi,recoverAddress:()=>cn,recoverPublicKey:()=>tn,resolveProperties:()=>nt,ripemd160:()=>vi,serializeTransaction:()=>yn,sha256:()=>wi,sha512:()=>bi,shallowCopy:()=>ot,shuffled:()=>ja,solidityKeccak256:()=>Pu,solidityPack:()=>Su,soliditySha256:()=>Nu,splitSignature:()=>U,stripZeros:()=>N,toUtf8Bytes:()=>Ht,toUtf8CodePoints:()=>Yt,toUtf8String:()=>Qt,verifyMessage:()=>So,verifyTypedData:()=>Po,zeroPad:()=>M});var u={};r.r(u),r.d(u,{BaseContract:()=>Bn,BigNumber:()=>W,Contract:()=>On,ContractFactory:()=>Fn,FixedNumber:()=>Vn,Signer:()=>cr,VoidSigner:()=>hr,Wallet:()=>_o,Wordlist:()=>_i,constants:()=>i,errors:()=>g,getDefaultProvider:()=>wu,logger:()=>Qu,providers:()=>o,utils:()=>a,version:()=>Wu,wordlists:()=>Mi});let l=!1,c=!1;const h={debug:1,default:2,info:2,warning:3,error:4,off:5};let f=h.default,d=null;const p=function(){try{const t=[];if(["NFD","NFC","NFKD","NFKC"].forEach((e=>{try{if("test"!=="test".normalize(e))throw new Error("bad normalize")}catch(r){t.push(e)}})),t.length)throw new Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();var m,g;!function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"}(m||(m={})),function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"}(g||(g={}));const y="0123456789abcdef";class v{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,e){const r=t.toLowerCase();null==h[r]&&this.throwArgumentError("invalid log level name","logLevel",t),f>h[r]||console.log.apply(console,e)}debug(...t){this._log(v.levels.DEBUG,t)}info(...t){this._log(v.levels.INFO,t)}warn(...t){this._log(v.levels.WARNING,t)}makeError(t,e,r){if(c)return this.makeError("censored error",e,{});e||(e=v.errors.UNKNOWN_ERROR),r||(r={});const n=[];Object.keys(r).forEach((t=>{const e=r[t];try{if(e instanceof Uint8Array){let r="";for(let t=0;t>4],r+=y[15&e[t]];n.push(t+"=Uint8Array(0x"+r+")")}else n.push(t+"="+JSON.stringify(e))}catch(s){n.push(t+"="+JSON.stringify(r[t].toString()))}})),n.push(`code=${e}`),n.push(`version=${this.version}`);const i=t;let o="";switch(e){case g.NUMERIC_FAULT:{o="NUMERIC_FAULT";const e=t;switch(e){case"overflow":case"underflow":case"division-by-zero":o+="-"+e;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result"}break}case g.CALL_EXCEPTION:case g.INSUFFICIENT_FUNDS:case g.MISSING_NEW:case g.NONCE_EXPIRED:case g.REPLACEMENT_UNDERPRICED:case g.TRANSACTION_REPLACED:case g.UNPREDICTABLE_GAS_LIMIT:o=e}o&&(t+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),n.length&&(t+=" ("+n.join(", ")+")");const s=new Error(t);return s.reason=i,s.code=e,Object.keys(r).forEach((function(t){s[t]=r[t]})),s}throwError(t,e,r){throw this.makeError(t,e,r)}throwArgumentError(t,e,r){return this.throwError(t,v.errors.INVALID_ARGUMENT,{argument:e,value:r})}assert(t,e,r,n){t||this.throwError(e,r,n)}assertArgument(t,e,r,n){t||this.throwArgumentError(e,r,n)}checkNormalize(t){null==t&&(t="platform missing String.prototype.normalize"),p&&this.throwError("platform missing String.prototype.normalize",v.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:p})}checkSafeUint53(t,e){"number"==typeof t&&(null==e&&(e="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(e,v.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(e,v.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,e,r){r=r?": "+r:"",te&&this.throwError("too many arguments"+r,v.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:e})}checkNew(t,e){t!==Object&&null!=t||this.throwError("missing new",v.errors.MISSING_NEW,{name:e.name})}checkAbstract(t,e){t===e?this.throwError("cannot instantiate abstract class "+JSON.stringify(e.name)+" directly; use a sub-class",v.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",v.errors.MISSING_NEW,{name:e.name})}static globalLogger(){return d||(d=new v("logger/5.7.0")),d}static setCensorship(t,e){if(!t&&e&&this.globalLogger().throwError("cannot permanently disable censorship",v.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),l){if(!t)return;this.globalLogger().throwError("error censorship permanent",v.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}c=!!t,l=!!e}static setLogLevel(t){const e=h[t.toLowerCase()];null!=e?f=e:v.globalLogger().warn("invalid log level - "+t)}static from(t){return new v(t)}}v.errors=g,v.levels=m;const w=new v("bytes/5.7.0");function b(t){return!!t.toHexString}function A(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return A(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function E(t){return x(t)&&!(t.length%2)||_(t)}function k(t){return"number"==typeof t&&t==t&&t%1==0}function _(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!k(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function S(t,e){if(e||(e={}),"number"==typeof t){w.checkSafeUint53(t,"invalid arrayify value");const e=[];for(;t;)e.unshift(255&t),t=parseInt(String(t/256));return 0===e.length&&e.push(0),A(new Uint8Array(e))}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),b(t)&&(t=t.toHexString()),x(t)){let r=t.substring(2);r.length%2&&("left"===e.hexPad?r="0"+r:"right"===e.hexPad?r+="0":w.throwArgumentError("hex data is odd-length","value",t));const n=[];for(let t=0;tS(t))),r=e.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(r);return e.reduce(((t,e)=>(n.set(e,t),t+e.length)),0),A(n)}function N(t){let e=S(t);if(0===e.length)return e;let r=0;for(;re&&w.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(e);return r.set(t,e-t.length),A(r)}function x(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))&&(!e||t.length===2+2*e)}const C="0123456789abcdef";function I(t,e){if(e||(e={}),"number"==typeof t){w.checkSafeUint53(t,"invalid hexlify value");let e="";for(;t;)e=C[15&t]+e,t=Math.floor(t/16);return e.length?(e.length%2&&(e="0"+e),"0x"+e):"0x00"}if("bigint"==typeof t)return(t=t.toString(16)).length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),b(t))return t.toHexString();if(x(t))return t.length%2&&("left"===e.hexPad?t="0x0"+t.substring(2):"right"===e.hexPad?t+="0":w.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(_(t)){let e="0x";for(let r=0;r>4]+C[15&n]}return e}return w.throwArgumentError("invalid hexlify value","value",t)}function T(t){if("string"!=typeof t)t=I(t);else if(!x(t)||t.length%2)return null;return(t.length-2)/2}function R(t,e,r){return"string"!=typeof t?t=I(t):(!x(t)||t.length%2)&&w.throwArgumentError("invalid hexData","value",t),e=2+2*e,null!=r?"0x"+t.substring(e,2+2*r):"0x"+t.substring(e)}function B(t){let e="0x";return t.forEach((t=>{e+=I(t).substring(2)})),e}function O(t){const e=F(I(t,{hexPad:"left"}));return"0x"===e?"0x0":e}function F(t){"string"!=typeof t&&(t=I(t)),x(t)||w.throwArgumentError("invalid hex string","value",t),t=t.substring(2);let e=0;for(;e2*e+2&&w.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function U(t){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(E(t)){let r=S(t);64===r.length?(e.v=27+(r[32]>>7),r[32]&=127,e.r=I(r.slice(0,32)),e.s=I(r.slice(32,64))):65===r.length?(e.r=I(r.slice(0,32)),e.s=I(r.slice(32,64)),e.v=r[64]):w.throwArgumentError("invalid signature string","signature",t),e.v<27&&(0===e.v||1===e.v?e.v+=27:w.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(r[32]|=128),e._vs=I(r.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,null!=e._vs){const r=M(S(e._vs),32);e._vs=I(r);const n=r[0]>=128?1:0;null==e.recoveryParam?e.recoveryParam=n:e.recoveryParam!==n&&w.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;const i=I(r);null==e.s?e.s=i:e.s!==i&&w.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==e.recoveryParam)null==e.v?w.throwArgumentError("signature missing v and recoveryParam","signature",t):0===e.v||1===e.v?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(null==e.v)e.v=27+e.recoveryParam;else{const r=0===e.v||1===e.v?e.v:1-e.v%2;e.recoveryParam!==r&&w.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=e.r&&x(e.r)?e.r=D(e.r,32):w.throwArgumentError("signature missing or invalid r","signature",t),null!=e.s&&x(e.s)?e.s=D(e.s,32):w.throwArgumentError("signature missing or invalid s","signature",t);const r=S(e.s);r[0]>=128&&w.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(r[0]|=128);const n=I(r);e._vs&&(x(e._vs)||w.throwArgumentError("signature invalid _vs","signature",t),e._vs=D(e._vs,32)),null==e._vs?e._vs=n:e._vs!==n&&w.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function L(t){return I(P([(t=U(t)).r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}var G=r(13550),j=r.n(G);const z="bignumber/5.7.0";var K=j().BN;const q=new v(z),H={},J=9007199254740991;let V=!1;class W{constructor(t,e){t!==H&&q.throwError("cannot call constructor directly; use BigNumber.from",v.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=e,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return Y(X(this).fromTwos(t))}toTwos(t){return Y(X(this).toTwos(t))}abs(){return"-"===this._hex[0]?W.from(this._hex.substring(1)):this}add(t){return Y(X(this).add(X(t)))}sub(t){return Y(X(this).sub(X(t)))}div(t){return W.from(t).isZero()&&Z("division-by-zero","div"),Y(X(this).div(X(t)))}mul(t){return Y(X(this).mul(X(t)))}mod(t){const e=X(t);return e.isNeg()&&Z("division-by-zero","mod"),Y(X(this).umod(e))}pow(t){const e=X(t);return e.isNeg()&&Z("negative-power","pow"),Y(X(this).pow(e))}and(t){const e=X(t);return(this.isNegative()||e.isNeg())&&Z("unbound-bitwise-result","and"),Y(X(this).and(e))}or(t){const e=X(t);return(this.isNegative()||e.isNeg())&&Z("unbound-bitwise-result","or"),Y(X(this).or(e))}xor(t){const e=X(t);return(this.isNegative()||e.isNeg())&&Z("unbound-bitwise-result","xor"),Y(X(this).xor(e))}mask(t){return(this.isNegative()||t<0)&&Z("negative-width","mask"),Y(X(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&Z("negative-width","shl"),Y(X(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&Z("negative-width","shr"),Y(X(this).shrn(t))}eq(t){return X(this).eq(X(t))}lt(t){return X(this).lt(X(t))}lte(t){return X(this).lte(X(t))}gt(t){return X(this).gt(X(t))}gte(t){return X(this).gte(X(t))}isNegative(){return"-"===this._hex[0]}isZero(){return X(this).isZero()}toNumber(){try{return X(this).toNumber()}catch(t){Z("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return q.throwError("this platform does not support BigInt",v.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?V||(V=!0,q.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?q.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",v.errors.UNEXPECTED_ARGUMENT,{}):q.throwError("BigNumber.toString does not accept parameters",v.errors.UNEXPECTED_ARGUMENT,{})),X(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof W)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new W(H,Q(t)):t.match(/^-?[0-9]+$/)?new W(H,Q(new K(t))):q.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&Z("underflow","BigNumber.from",t),(t>=J||t<=-J)&&Z("overflow","BigNumber.from",t),W.from(String(t));const e=t;if("bigint"==typeof e)return W.from(e.toString());if(_(e))return W.from(I(e));if(e)if(e.toHexString){const t=e.toHexString();if("string"==typeof t)return W.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&(x(t)||"-"===t[0]&&x(t.substring(1))))return W.from(t)}return q.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!(!t||!t._isBigNumber)}}function Q(t){if("string"!=typeof t)return Q(t.toString(16));if("-"===t[0])return"-"===(t=t.substring(1))[0]&&q.throwArgumentError("invalid hex","value",t),"0x00"===(t=Q(t))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function Y(t){return W.from(Q(t))}function X(t){const e=W.from(t).toHexString();return"-"===e[0]?new K("-"+e.substring(3),16):new K(e.substring(2),16)}function Z(t,e,r){const n={fault:t,operation:e};return null!=r&&(n.value=r),q.throwError(t,v.errors.NUMERIC_FAULT,n)}var $=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const tt=new v("properties/5.7.0");function et(t,e,r){Object.defineProperty(t,e,{enumerable:!0,value:r,writable:!1})}function rt(t,e){for(let r=0;r<32;r++){if(t[e])return t[e];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function nt(t){return $(this,void 0,void 0,(function*(){const e=Object.keys(t).map((e=>{const r=t[e];return Promise.resolve(r).then((t=>({key:e,value:t})))}));return(yield Promise.all(e)).reduce(((t,e)=>(t[e.key]=e.value,t)),{})}))}function it(t,e){t&&"object"==typeof t||tt.throwArgumentError("invalid object","object",t),Object.keys(t).forEach((r=>{e[r]||tt.throwArgumentError("invalid object key - "+r,"transaction:"+r,t)}))}function ot(t){const e={};for(const r in t)e[r]=t[r];return e}const st={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function at(t){if(null==t||st[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const r=Object.keys(t);for(let n=0;nlt(t))));if("object"==typeof t){const e={};for(const r in t){const n=t[r];void 0!==n&&et(e,r,lt(n))}return e}return tt.throwArgumentError("Cannot deepCopy "+typeof t,"object",t)}function lt(t){return ut(t)}class ct{constructor(t){for(const e in t)this[e]=lt(t[e])}}const ht="abi/5.7.0",ft=new v(ht);function dt(t){const e=[],r=function(t,n){if(Array.isArray(n))for(let o in n){const s=t.slice();s.push(o);try{r(s,n[o])}catch(i){e.push({path:s,error:i})}}};return r([],t),e}class pt{constructor(t,e,r,n){this.name=t,this.type=e,this.localName=r,this.dynamic=n}_throwError(t,e){ft.throwArgumentError(t,this.localName,e)}}class mt{constructor(t){et(this,"wordSize",t||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(t)}get data(){return B(this._data)}get length(){return this._dataLength}_writeData(t){return this._data.push(t),this._dataLength+=t.length,t.length}appendWriter(t){return this._writeData(P(t._data))}writeBytes(t){let e=S(t);const r=e.length%this.wordSize;return r&&(e=P([e,this._padding.slice(r)])),this._writeData(e)}_getValue(t){let e=S(W.from(t));return e.length>this.wordSize&&ft.throwError("value out-of-bounds",v.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:e.length}),e.length%this.wordSize&&(e=P([this._padding.slice(e.length%this.wordSize),e])),e}writeValue(t){return this._writeData(this._getValue(t))}writeUpdatableValue(){const t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,e=>{this._data[t]=this._getValue(e)}}}class gt{constructor(t,e,r,n){et(this,"_data",S(t)),et(this,"wordSize",e||32),et(this,"_coerceFunc",r),et(this,"allowLoose",n),this._offset=0}get data(){return I(this._data)}get consumed(){return this._offset}static coerce(t,e){let r=t.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(e=e.toNumber()),e}coerce(t,e){return this._coerceFunc?this._coerceFunc(t,e):gt.coerce(t,e)}_peekBytes(t,e,r){let n=Math.ceil(e/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+e<=this._data.length?n=e:ft.throwError("data out-of-bounds",v.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)}subReader(t){return new gt(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(t,e){let r=this._peekBytes(0,t,!!e);return this._offset+=r.length,r.slice(0,t)}readValue(){return W.from(this.readBytes(this.wordSize))}}var yt=r(91094),vt=r.n(yt);function wt(t){return"0x"+vt().keccak_256(S(t))}const bt=new v("rlp/5.7.0");function At(t){const e=[];for(;t;)e.unshift(255&t),t>>=8;return e}function Et(t,e,r){let n=0;for(let i=0;ie+1+n&&bt.throwError("child data too short",v.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:i}}function Pt(t,e){if(0===t.length&&bt.throwError("data too short",v.errors.BUFFER_OVERRUN,{}),t[e]>=248){const r=t[e]-247;e+1+r>t.length&&bt.throwError("data short segment too short",v.errors.BUFFER_OVERRUN,{});const n=Et(t,e+1,r);return e+1+r+n>t.length&&bt.throwError("data long segment too short",v.errors.BUFFER_OVERRUN,{}),St(t,e,e+1+r,r+n)}if(t[e]>=192){const r=t[e]-192;return e+1+r>t.length&&bt.throwError("data array too short",v.errors.BUFFER_OVERRUN,{}),St(t,e,e+1,r)}if(t[e]>=184){const r=t[e]-183;e+1+r>t.length&&bt.throwError("data array too short",v.errors.BUFFER_OVERRUN,{});const n=Et(t,e+1,r);e+1+r+n>t.length&&bt.throwError("data array too short",v.errors.BUFFER_OVERRUN,{});return{consumed:1+r+n,result:I(t.slice(e+1+r,e+1+r+n))}}if(t[e]>=128){const r=t[e]-128;e+1+r>t.length&&bt.throwError("data too short",v.errors.BUFFER_OVERRUN,{});return{consumed:1+r,result:I(t.slice(e+1,e+1+r))}}return{consumed:1,result:I(t[e])}}function Nt(t){const e=S(t),r=Pt(e,0);return r.consumed!==e.length&&bt.throwArgumentError("invalid rlp data","data",t),r.result}const Mt=new v("address/5.7.0");function xt(t){x(t,20)||Mt.throwArgumentError("invalid address","address",t);const e=(t=t.toLowerCase()).substring(2).split(""),r=new Uint8Array(40);for(let i=0;i<40;i++)r[i]=e[i].charCodeAt(0);const n=S(wt(r));for(let i=0;i<40;i+=2)n[i>>1]>>4>=8&&(e[i]=e[i].toUpperCase()),(15&n[i>>1])>=8&&(e[i+1]=e[i+1].toUpperCase());return"0x"+e.join("")}const Ct={};for(let Xu=0;Xu<10;Xu++)Ct[String(Xu)]=String(Xu);for(let Xu=0;Xu<26;Xu++)Ct[String.fromCharCode(65+Xu)]=String(10+Xu);const It=Math.floor((Tt=9007199254740991,Math.log10?Math.log10(Tt):Math.log(Tt)/Math.LN10));var Tt;function Rt(t){let e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((t=>Ct[t])).join("");for(;e.length>=It;){let t=e.substring(0,It);e=parseInt(t,10)%97+e.substring(t.length)}let r=String(98-parseInt(e,10)%97);for(;r.length<2;)r="0"+r;return r}function Bt(t){let e=null;if("string"!=typeof t&&Mt.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),e=xt(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&Mt.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==Rt(t)&&Mt.throwArgumentError("bad icap checksum","address",t),r=t.substring(4),e=new K(r,36).toString(16);e.length<40;)e="0"+e;e=xt("0x"+e)}else Mt.throwArgumentError("invalid address","address",t);var r;return e}function Ot(t){try{return Bt(t),!0}catch(e){}return!1}function Ft(t){let e=(r=Bt(t).substring(2),new K(r,16).toString(36)).toUpperCase();for(var r;e.length<30;)e="0"+e;return"XE"+Rt("XE00"+e)+e}function Dt(t){let e=null;try{e=Bt(t.from)}catch(r){Mt.throwArgumentError("missing from address","transaction",t)}return Bt(R(wt(_t([e,N(S(W.from(t.nonce).toHexString()))])),12))}function Ut(t,e,r){return 32!==T(e)&&Mt.throwArgumentError("salt must be 32 bytes","salt",e),32!==T(r)&&Mt.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),Bt(R(wt(P(["0xff",Bt(t),e,r])),12))}const Lt=new v("strings/5.7.0");var Gt,jt;function zt(t,e,r,n,i){if(t===jt.BAD_PREFIX||t===jt.UNEXPECTED_CONTINUE){let t=0;for(let n=e+1;n>6==2;n++)t++;return t}return t===jt.OVERRUN?r.length-e-1:0}!function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"}(Gt||(Gt={})),function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"}(jt||(jt={}));const Kt=Object.freeze({error:function(t,e,r,n,i){return Lt.throwArgumentError(`invalid codepoint at offset ${e}; ${t}`,"bytes",r)},ignore:zt,replace:function(t,e,r,n,i){return t===jt.OVERLONG?(n.push(i),0):(n.push(65533),zt(t,e,r))}});function qt(t,e){null==e&&(e=Kt.error),t=S(t);const r=[];let n=0;for(;n>7==0){r.push(i);continue}let o=null,s=null;if(192==(224&i))o=1,s=127;else if(224==(240&i))o=2,s=2047;else{if(240!=(248&i)){n+=e(128==(192&i)?jt.UNEXPECTED_CONTINUE:jt.BAD_PREFIX,n-1,t,r);continue}o=3,s=65535}if(n-1+o>=t.length){n+=e(jt.OVERRUN,n-1,t,r);continue}let a=i&(1<<8-o-1)-1;for(let u=0;u1114111?n+=e(jt.OUT_OF_RANGE,n-1-o,t,r,a):a>=55296&&a<=57343?n+=e(jt.UTF16_SURROGATE,n-1-o,t,r,a):a<=s?n+=e(jt.OVERLONG,n-1-o,t,r,a):r.push(a))}return r}function Ht(t,e=Gt.current){e!=Gt.current&&(Lt.checkNormalize(),t=t.normalize(e));let r=[];for(let n=0;n>6|192),r.push(63&e|128);else if(55296==(64512&e)){n++;const i=t.charCodeAt(n);if(n>=t.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&e)<<10)+(1023&i);r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(63&o|128)}else r.push(e>>12|224),r.push(e>>6&63|128),r.push(63&e|128)}return S(r)}function Jt(t){const e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function Vt(t,e){return'"'+qt(t,e).map((t=>{if(t<256){switch(t){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(t>=32&&t<127)return String.fromCharCode(t)}return t<=65535?Jt(t):Jt(55296+((t-=65536)>>10&1023))+Jt(56320+(1023&t))})).join("")+'"'}function Wt(t){return t.map((t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t))))).join("")}function Qt(t,e){return Wt(qt(t,e))}function Yt(t,e=Gt.current){return qt(Ht(t,e))}function Xt(t){return wt(Ht(t))}class Zt extends pt{constructor(t){super("address","address",t,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(t,e){try{e=Bt(e)}catch(r){this._throwError(r.message,e)}return t.writeValue(e)}decode(t){return Bt(D(t.readValue().toHexString(),20))}}class $t extends pt{constructor(t){super(t.name,t.type,void 0,t.dynamic),this.coder=t}defaultValue(){return this.coder.defaultValue()}encode(t,e){return this.coder.encode(t,e)}decode(t){return this.coder.decode(t)}}const te=new v(ht);function ee(t,e,r){let n=null;if(Array.isArray(r))n=r;else if(r&&"object"==typeof r){let t={};n=e.map((e=>{const n=e.localName;return n||te.throwError("cannot encode object for signature with missing names",v.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),t[n]&&te.throwError("cannot encode object for signature with duplicate names",v.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),t[n]=!0,r[n]}))}else te.throwArgumentError("invalid tuple value","tuple",r);e.length!==n.length&&te.throwArgumentError("types/value length mismatch","tuple",r);let i=new mt(t.wordSize),o=new mt(t.wordSize),s=[];e.forEach(((t,e)=>{let r=n[e];if(t.dynamic){let e=o.length;t.encode(o,r);let n=i.writeUpdatableValue();s.push((t=>{n(t+e)}))}else t.encode(i,r)})),s.forEach((t=>{t(i.length)}));let a=t.appendWriter(i);return a+=t.appendWriter(o),a}function re(t,e){let r=[],n=t.subReader(0);e.forEach((e=>{let i=null;if(e.dynamic){let r=t.readValue(),s=n.subReader(r.toNumber());try{i=e.decode(s)}catch(o){if(o.code===v.errors.BUFFER_OVERRUN)throw o;i=o,i.baseType=e.name,i.name=e.localName,i.type=e.type}}else try{i=e.decode(t)}catch(o){if(o.code===v.errors.BUFFER_OVERRUN)throw o;i=o,i.baseType=e.name,i.name=e.localName,i.type=e.type}null!=i&&r.push(i)}));const i=e.reduce(((t,e)=>{const r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});e.forEach(((t,e)=>{let n=t.localName;if(!n||1!==i[n])return;if("length"===n&&(n="_length"),null!=r[n])return;const o=r[e];o instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:()=>{throw o}}):r[n]=o}));for(let o=0;o{throw t}})}return Object.freeze(r)}class ne extends pt{constructor(t,e,r){super("array",t.type+"["+(e>=0?e:"")+"]",r,-1===e||t.dynamic),this.coder=t,this.length=e}defaultValue(){const t=this.coder.defaultValue(),e=[];for(let r=0;rt._data.length&&te.throwError("insufficient data length",v.errors.BUFFER_OVERRUN,{length:t._data.length,count:e}));let r=[];for(let n=0;n{t.dynamic&&(r=!0),n.push(t.type)}));super("tuple","tuple("+n.join(",")+")",e,r),this.coders=t}defaultValue(){const t=[];this.coders.forEach((e=>{t.push(e.defaultValue())}));const e=this.coders.reduce(((t,e)=>{const r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});return this.coders.forEach(((r,n)=>{let i=r.localName;i&&1===e[i]&&("length"===i&&(i="_length"),null==t[i]&&(t[i]=t[n]))})),Object.freeze(t)}encode(t,e){return ee(t,this.coders,e)}decode(t){return t.coerce(this.name,re(t,this.coders))}}const be=new v(ht),Ae={};let Ee={calldata:!0,memory:!0,storage:!0},ke={calldata:!0,memory:!0};function _e(t,e){if("bytes"===t||"string"===t){if(Ee[e])return!0}else if("address"===t){if("payable"===e)return!0}else if((t.indexOf("[")>=0||"tuple"===t)&&ke[e])return!0;return(Ee[e]||"payable"===e)&&be.throwArgumentError("invalid modifier","name",e),!1}function Se(t,e){for(let r in e)et(t,r,e[r])}const Pe=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),Ne=new RegExp(/^(.*)\[([0-9]*)\]$/);class Me{constructor(t,e){t!==Ae&&be.throwError("use fromString",v.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),Se(this,e);let r=this.type.match(Ne);Se(this,r?{arrayLength:parseInt(r[2]||"-1"),arrayChildren:Me.fromObject({type:r[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json){let e={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(e.indexed=this.indexed),this.components&&(e.components=this.components.map((e=>JSON.parse(e.format(t))))),JSON.stringify(e)}let e="";return"array"===this.baseType?(e+=this.arrayChildren.format(t),e+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(t!==Pe.sighash&&(e+=this.type),e+="("+this.components.map((e=>e.format(t))).join(t===Pe.full?", ":",")+")"):e+=this.type,t!==Pe.sighash&&(!0===this.indexed&&(e+=" indexed"),t===Pe.full&&this.name&&(e+=" "+this.name)),e}static from(t,e){return"string"==typeof t?Me.fromString(t,e):Me.fromObject(t)}static fromObject(t){return Me.isParamType(t)?t:new Me(Ae,{name:t.name||null,type:Le(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(Me.fromObject):null})}static fromString(t,e){return r=function(t,e){let r=t;function n(e){be.throwArgumentError(`unexpected character at position ${e}`,"param",t)}function i(t){let r={type:"",name:"",parent:t,state:{allowType:!0}};return e&&(r.indexed=!1),r}t=t.replace(/\s/g," ");let o={type:"",name:"",state:{allowType:!0}},s=o;for(let a=0;aMe.fromString(t,e)))}class Ce{constructor(t,e){t!==Ae&&be.throwError("use a static from method",v.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),Se(this,e),this._isFragment=!0,Object.freeze(this)}static from(t){return Ce.isFragment(t)?t:"string"==typeof t?Ce.fromString(t):Ce.fromObject(t)}static fromObject(t){if(Ce.isFragment(t))return t;switch(t.type){case"function":return Fe.fromObject(t);case"event":return Ie.fromObject(t);case"constructor":return Oe.fromObject(t);case"error":return Ue.fromObject(t);case"fallback":case"receive":return null}return be.throwArgumentError("invalid fragment object","value",t)}static fromString(t){return"event"===(t=(t=(t=t.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?Ie.fromString(t.substring(5).trim()):"function"===t.split(" ")[0]?Fe.fromString(t.substring(8).trim()):"constructor"===t.split("(")[0].trim()?Oe.fromString(t.trim()):"error"===t.split(" ")[0]?Ue.fromString(t.substring(5).trim()):be.throwArgumentError("unsupported fragment","value",t)}static isFragment(t){return!(!t||!t._isFragment)}}class Ie extends Ce{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Pe.sighash&&(e+="event "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ",t!==Pe.sighash&&this.anonymous&&(e+="anonymous "),e.trim()}static from(t){return"string"==typeof t?Ie.fromString(t):Ie.fromObject(t)}static fromObject(t){if(Ie.isEventFragment(t))return t;"event"!==t.type&&be.throwArgumentError("invalid event object","value",t);const e={name:je(t.name),anonymous:t.anonymous,inputs:t.inputs?t.inputs.map(Me.fromObject):[],type:"event"};return new Ie(Ae,e)}static fromString(t){let e=t.match(ze);e||be.throwArgumentError("invalid event string","value",t);let r=!1;return e[3].split(" ").forEach((t=>{switch(t.trim()){case"anonymous":r=!0;break;case"":break;default:be.warn("unknown modifier: "+t)}})),Ie.fromObject({name:e[1].trim(),anonymous:r,inputs:xe(e[2],!0),type:"event"})}static isEventFragment(t){return t&&t._isFragment&&"event"===t.type}}function Te(t,e){e.gas=null;let r=t.split("@");return 1!==r.length?(r.length>2&&be.throwArgumentError("invalid human-readable ABI signature","value",t),r[1].match(/^[0-9]+$/)||be.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=W.from(r[1]),r[0]):t}function Re(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach((t=>{switch(t.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+t)}}))}function Be(t){let e={constant:!1,payable:!0,stateMutability:"payable"};return null!=t.stateMutability?(e.stateMutability=t.stateMutability,e.constant="view"===e.stateMutability||"pure"===e.stateMutability,null!=t.constant&&!!t.constant!==e.constant&&be.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable="payable"===e.stateMutability,null!=t.payable&&!!t.payable!==e.payable&&be.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):null!=t.payable?(e.payable=!!t.payable,null!=t.constant||e.payable||"constructor"===t.type||be.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&be.throwArgumentError("cannot have constant payable function","value",t)):null!=t.constant?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):"constructor"!==t.type&&be.throwArgumentError("unable to determine stateMutability","value",t),e}class Oe extends Ce{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});t===Pe.sighash&&be.throwError("cannot format a constructor for sighash",v.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let e="constructor("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "),e.trim()}static from(t){return"string"==typeof t?Oe.fromString(t):Oe.fromObject(t)}static fromObject(t){if(Oe.isConstructorFragment(t))return t;"constructor"!==t.type&&be.throwArgumentError("invalid constructor object","value",t);let e=Be(t);e.constant&&be.throwArgumentError("constructor cannot be constant","value",t);const r={name:null,type:t.type,inputs:t.inputs?t.inputs.map(Me.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?W.from(t.gas):null};return new Oe(Ae,r)}static fromString(t){let e={type:"constructor"},r=(t=Te(t,e)).match(ze);return r&&"constructor"===r[1].trim()||be.throwArgumentError("invalid constructor string","value",t),e.inputs=xe(r[2].trim(),!1),Re(r[3].trim(),e),Oe.fromObject(e)}static isConstructorFragment(t){return t&&t._isFragment&&"constructor"===t.type}}class Fe extends Oe{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t)))),outputs:this.outputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Pe.sighash&&(e+="function "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ",t!==Pe.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "):this.constant&&(e+="view "),this.outputs&&this.outputs.length&&(e+="returns ("+this.outputs.map((e=>e.format(t))).join(", ")+") "),null!=this.gas&&(e+="@"+this.gas.toString()+" ")),e.trim()}static from(t){return"string"==typeof t?Fe.fromString(t):Fe.fromObject(t)}static fromObject(t){if(Fe.isFunctionFragment(t))return t;"function"!==t.type&&be.throwArgumentError("invalid function object","value",t);let e=Be(t);const r={type:t.type,name:je(t.name),constant:e.constant,inputs:t.inputs?t.inputs.map(Me.fromObject):[],outputs:t.outputs?t.outputs.map(Me.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?W.from(t.gas):null};return new Fe(Ae,r)}static fromString(t){let e={type:"function"},r=(t=Te(t,e)).split(" returns ");r.length>2&&be.throwArgumentError("invalid function string","value",t);let n=r[0].match(ze);if(n||be.throwArgumentError("invalid function signature","value",t),e.name=n[1].trim(),e.name&&je(e.name),e.inputs=xe(n[2],!1),Re(n[3].trim(),e),r.length>1){let n=r[1].match(ze);""==n[1].trim()&&""==n[3].trim()||be.throwArgumentError("unexpected tokens","value",t),e.outputs=xe(n[2],!1)}else e.outputs=[];return Fe.fromObject(e)}static isFunctionFragment(t){return t&&t._isFragment&&"function"===t.type}}function De(t){const e=t.format();return"Error(string)"!==e&&"Panic(uint256)"!==e||be.throwArgumentError(`cannot specify user defined ${e} error`,"fragment",t),t}class Ue extends Ce{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Pe.sighash&&(e+="error "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ",e.trim()}static from(t){return"string"==typeof t?Ue.fromString(t):Ue.fromObject(t)}static fromObject(t){if(Ue.isErrorFragment(t))return t;"error"!==t.type&&be.throwArgumentError("invalid error object","value",t);const e={type:t.type,name:je(t.name),inputs:t.inputs?t.inputs.map(Me.fromObject):[]};return De(new Ue(Ae,e))}static fromString(t){let e={type:"error"},r=t.match(ze);return r||be.throwArgumentError("invalid error signature","value",t),e.name=r[1].trim(),e.name&&je(e.name),e.inputs=xe(r[2],!1),De(Ue.fromObject(e))}static isErrorFragment(t){return t&&t._isFragment&&"error"===t.type}}function Le(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}const Ge=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function je(t){return t&&t.match(Ge)||be.throwArgumentError(`invalid identifier "${t}"`,"value",t),t}const ze=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");const Ke=new v(ht),qe=new RegExp(/^bytes([0-9]*)$/),He=new RegExp(/^(u?int)([0-9]*)$/);class Je{constructor(t){et(this,"coerceFunc",t||null)}_getCoder(t){switch(t.baseType){case"address":return new Zt(t.name);case"bool":return new ie(t.name);case"string":return new ve(t.name);case"bytes":return new se(t.name);case"array":return new ne(this._getCoder(t.arrayChildren),t.arrayLength,t.name);case"tuple":return new we((t.components||[]).map((t=>this._getCoder(t))),t.name);case"":return new ue(t.name)}let e=t.type.match(He);if(e){let r=parseInt(e[2]||"256");return(0===r||r>256||r%8!=0)&&Ke.throwArgumentError("invalid "+e[1]+" bit length","param",t),new ye(r/8,"int"===e[1],t.name)}if(e=t.type.match(qe),e){let r=parseInt(e[1]);return(0===r||r>32)&&Ke.throwArgumentError("invalid bytes length","param",t),new ae(r,t.name)}return Ke.throwArgumentError("invalid type","type",t.type)}_getWordSize(){return 32}_getReader(t,e){return new gt(t,this._getWordSize(),this.coerceFunc,e)}_getWriter(){return new mt(this._getWordSize())}getDefaultValue(t){const e=t.map((t=>this._getCoder(Me.from(t))));return new we(e,"_").defaultValue()}encode(t,e){t.length!==e.length&&Ke.throwError("types/values length mismatch",v.errors.INVALID_ARGUMENT,{count:{types:t.length,values:e.length},value:{types:t,values:e}});const r=t.map((t=>this._getCoder(Me.from(t)))),n=new we(r,"_"),i=this._getWriter();return n.encode(i,e),i.data}decode(t,e,r){const n=t.map((t=>this._getCoder(Me.from(t))));return new we(n,"_").decode(this._getReader(S(e),r))}}const Ve=new Je,We=new v(ht);class Qe extends ct{}class Ye extends ct{}class Xe extends ct{}class Ze extends ct{static isIndexed(t){return!(!t||!t._isIndexed)}}const $e={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function tr(t,e){const r=new Error(`deferred error during ABI decoding triggered accessing ${t}`);return r.error=e,r}class er{constructor(t){let e=[];e="string"==typeof t?JSON.parse(t):t,et(this,"fragments",e.map((t=>Ce.from(t))).filter((t=>null!=t))),et(this,"_abiCoder",rt(new.target,"getAbiCoder")()),et(this,"functions",{}),et(this,"errors",{}),et(this,"events",{}),et(this,"structs",{}),this.fragments.forEach((t=>{let e=null;switch(t.type){case"constructor":return this.deploy?void We.warn("duplicate definition - constructor"):void et(this,"deploy",t);case"function":e=this.functions;break;case"event":e=this.events;break;case"error":e=this.errors;break;default:return}let r=t.format();e[r]?We.warn("duplicate definition - "+r):e[r]=t})),this.deploy||et(this,"deploy",Oe.from({payable:!1,type:"constructor"})),et(this,"_isInterface",!0)}format(t){t||(t=Pe.full),t===Pe.sighash&&We.throwArgumentError("interface does not support formatting sighash","format",t);const e=this.fragments.map((e=>e.format(t)));return t===Pe.json?JSON.stringify(e.map((t=>JSON.parse(t)))):e}static getAbiCoder(){return Ve}static getAddress(t){return Bt(t)}static getSighash(t){return R(Xt(t.format()),0,4)}static getEventTopic(t){return Xt(t.format())}getFunction(t){if(x(t)){for(const e in this.functions)if(t===this.getSighash(e))return this.functions[e];We.throwArgumentError("no matching function","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.functions).filter((t=>t.split("(")[0]===e));return 0===r.length?We.throwArgumentError("no matching function","name",e):r.length>1&&We.throwArgumentError("multiple matching functions","name",e),this.functions[r[0]]}const e=this.functions[Fe.fromString(t).format()];return e||We.throwArgumentError("no matching function","signature",t),e}getEvent(t){if(x(t)){const e=t.toLowerCase();for(const t in this.events)if(e===this.getEventTopic(t))return this.events[t];We.throwArgumentError("no matching event","topichash",e)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.events).filter((t=>t.split("(")[0]===e));return 0===r.length?We.throwArgumentError("no matching event","name",e):r.length>1&&We.throwArgumentError("multiple matching events","name",e),this.events[r[0]]}const e=this.events[Ie.fromString(t).format()];return e||We.throwArgumentError("no matching event","signature",t),e}getError(t){if(x(t)){const e=rt(this.constructor,"getSighash");for(const r in this.errors){if(t===e(this.errors[r]))return this.errors[r]}We.throwArgumentError("no matching error","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.errors).filter((t=>t.split("(")[0]===e));return 0===r.length?We.throwArgumentError("no matching error","name",e):r.length>1&&We.throwArgumentError("multiple matching errors","name",e),this.errors[r[0]]}const e=this.errors[Fe.fromString(t).format()];return e||We.throwArgumentError("no matching error","signature",t),e}getSighash(t){if("string"==typeof t)try{t=this.getFunction(t)}catch(e){try{t=this.getError(t)}catch(r){throw e}}return rt(this.constructor,"getSighash")(t)}getEventTopic(t){return"string"==typeof t&&(t=this.getEvent(t)),rt(this.constructor,"getEventTopic")(t)}_decodeParams(t,e){return this._abiCoder.decode(t,e)}_encodeParams(t,e){return this._abiCoder.encode(t,e)}encodeDeploy(t){return this._encodeParams(this.deploy.inputs,t||[])}decodeErrorResult(t,e){"string"==typeof t&&(t=this.getError(t));const r=S(e);return I(r.slice(0,4))!==this.getSighash(t)&&We.throwArgumentError(`data signature does not match error ${t.name}.`,"data",I(r)),this._decodeParams(t.inputs,r.slice(4))}encodeErrorResult(t,e){return"string"==typeof t&&(t=this.getError(t)),I(P([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionData(t,e){"string"==typeof t&&(t=this.getFunction(t));const r=S(e);return I(r.slice(0,4))!==this.getSighash(t)&&We.throwArgumentError(`data signature does not match function ${t.name}.`,"data",I(r)),this._decodeParams(t.inputs,r.slice(4))}encodeFunctionData(t,e){return"string"==typeof t&&(t=this.getFunction(t)),I(P([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionResult(t,e){"string"==typeof t&&(t=this.getFunction(t));let r=S(e),n=null,i="",o=null,s=null,a=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(t.outputs,r)}catch(u){}break;case 4:{const t=I(r.slice(0,4)),e=$e[t];if(e)o=this._abiCoder.decode(e.inputs,r.slice(4)),s=e.name,a=e.signature,e.reason&&(n=o[0]),"Error"===s?i=`; VM Exception while processing transaction: reverted with reason string ${JSON.stringify(o[0])}`:"Panic"===s&&(i=`; VM Exception while processing transaction: reverted with panic code ${o[0]}`);else try{const e=this.getError(t);o=this._abiCoder.decode(e.inputs,r.slice(4)),s=e.name,a=e.format()}catch(u){}break}}return We.throwError("call revert exception"+i,v.errors.CALL_EXCEPTION,{method:t.format(),data:I(e),errorArgs:o,errorName:s,errorSignature:a,reason:n})}encodeFunctionResult(t,e){return"string"==typeof t&&(t=this.getFunction(t)),I(this._abiCoder.encode(t.outputs,e||[]))}encodeFilterTopics(t,e){"string"==typeof t&&(t=this.getEvent(t)),e.length>t.inputs.length&&We.throwError("too many arguments for "+t.format(),v.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:e});let r=[];t.anonymous||r.push(this.getEventTopic(t));const n=(t,e)=>"string"===t.type?Xt(e):"bytes"===t.type?wt(I(e)):("bool"===t.type&&"boolean"==typeof e&&(e=e?"0x01":"0x00"),t.type.match(/^u?int/)&&(e=W.from(e).toHexString()),"address"===t.type&&this._abiCoder.encode(["address"],[e]),D(I(e),32));for(e.forEach(((e,i)=>{let o=t.inputs[i];o.indexed?null==e?r.push(null):"array"===o.baseType||"tuple"===o.baseType?We.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,e):Array.isArray(e)?r.push(e.map((t=>n(o,t)))):r.push(n(o,e)):null!=e&&We.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,e)}));r.length&&null===r[r.length-1];)r.pop();return r}encodeEventLog(t,e){"string"==typeof t&&(t=this.getEvent(t));const r=[],n=[],i=[];return t.anonymous||r.push(this.getEventTopic(t)),e.length!==t.inputs.length&&We.throwArgumentError("event arguments/values mismatch","values",e),t.inputs.forEach(((t,o)=>{const s=e[o];if(t.indexed)if("string"===t.type)r.push(Xt(s));else if("bytes"===t.type)r.push(wt(s));else{if("tuple"===t.baseType||"array"===t.baseType)throw new Error("not implemented");r.push(this._abiCoder.encode([t.type],[s]))}else n.push(t),i.push(s)})),{data:this._abiCoder.encode(n,i),topics:r}}decodeEventLog(t,e,r){if("string"==typeof t&&(t=this.getEvent(t)),null!=r&&!t.anonymous){let e=this.getEventTopic(t);x(r[0],32)&&r[0].toLowerCase()===e||We.throwError("fragment/topic mismatch",v.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:e,value:r[0]}),r=r.slice(1)}let n=[],i=[],o=[];t.inputs.forEach(((t,e)=>{t.indexed?"string"===t.type||"bytes"===t.type||"tuple"===t.baseType||"array"===t.baseType?(n.push(Me.fromObject({type:"bytes32",name:t.name})),o.push(!0)):(n.push(t),o.push(!1)):(i.push(t),o.push(!1))}));let s=null!=r?this._abiCoder.decode(n,P(r)):null,a=this._abiCoder.decode(i,e,!0),u=[],l=0,c=0;t.inputs.forEach(((t,e)=>{if(t.indexed)if(null==s)u[e]=new Ze({_isIndexed:!0,hash:null});else if(o[e])u[e]=new Ze({_isIndexed:!0,hash:s[c++]});else try{u[e]=s[c++]}catch(r){u[e]=r}else try{u[e]=a[l++]}catch(r){u[e]=r}if(t.name&&null==u[t.name]){const r=u[e];r instanceof Error?Object.defineProperty(u,t.name,{enumerable:!0,get:()=>{throw tr(`property ${JSON.stringify(t.name)}`,r)}}):u[t.name]=r}}));for(let h=0;h{throw tr(`index ${h}`,t)}})}return Object.freeze(u)}parseTransaction(t){let e=this.getFunction(t.data.substring(0,10).toLowerCase());return e?new Ye({args:this._abiCoder.decode(e.inputs,"0x"+t.data.substring(10)),functionFragment:e,name:e.name,signature:e.format(),sighash:this.getSighash(e),value:W.from(t.value||"0")}):null}parseLog(t){let e=this.getEvent(t.topics[0]);return!e||e.anonymous?null:new Qe({eventFragment:e,name:e.name,signature:e.format(),topic:this.getEventTopic(e),args:this.decodeEventLog(e,t.data,t.topics)})}parseError(t){const e=I(t);let r=this.getError(e.substring(0,10).toLowerCase());return r?new Xe({args:this._abiCoder.decode(r.inputs,"0x"+e.substring(10)),errorFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r)}):null}static isInterface(t){return!(!t||!t._isInterface)}}var rr=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const nr=new v("abstract-provider/5.7.0");class ir extends ct{static isForkEvent(t){return!(!t||!t._isForkEvent)}}class or{constructor(){nr.checkAbstract(new.target,or),et(this,"_isProvider",!0)}getFeeData(){return rr(this,void 0,void 0,(function*(){const{block:t,gasPrice:e}=yield nt({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((t=>null))});let r=null,n=null,i=null;return t&&t.baseFeePerGas&&(r=t.baseFeePerGas,i=W.from("1500000000"),n=t.baseFeePerGas.mul(2).add(i)),{lastBaseFeePerGas:r,maxFeePerGas:n,maxPriorityFeePerGas:i,gasPrice:e}}))}addListener(t,e){return this.on(t,e)}removeListener(t,e){return this.off(t,e)}static isProvider(t){return!(!t||!t._isProvider)}}var sr=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ar=new v("abstract-signer/5.7.0"),ur=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],lr=[v.errors.INSUFFICIENT_FUNDS,v.errors.NONCE_EXPIRED,v.errors.REPLACEMENT_UNDERPRICED];class cr{constructor(){ar.checkAbstract(new.target,cr),et(this,"_isSigner",!0)}getBalance(t){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)}))}getTransactionCount(t){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)}))}estimateGas(t){return sr(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const e=yield nt(this.checkTransaction(t));return yield this.provider.estimateGas(e)}))}call(t,e){return sr(this,void 0,void 0,(function*(){this._checkProvider("call");const r=yield nt(this.checkTransaction(t));return yield this.provider.call(r,e)}))}sendTransaction(t){return sr(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const e=yield this.populateTransaction(t),r=yield this.signTransaction(e);return yield this.provider.sendTransaction(r)}))}getChainId(){return sr(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(t){return sr(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)}))}checkTransaction(t){for(const r in t)-1===ur.indexOf(r)&&ar.throwArgumentError("invalid transaction key: "+r,"transaction",t);const e=ot(t);return null==e.from?e.from=this.getAddress():e.from=Promise.all([Promise.resolve(e.from),this.getAddress()]).then((e=>(e[0].toLowerCase()!==e[1].toLowerCase()&&ar.throwArgumentError("from address mismatch","transaction",t),e[0]))),e}populateTransaction(t){return sr(this,void 0,void 0,(function*(){const e=yield nt(this.checkTransaction(t));null!=e.to&&(e.to=Promise.resolve(e.to).then((t=>sr(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.resolveName(t);return null==e&&ar.throwArgumentError("provided ENS name resolves to null","tx.to",t),e})))),e.to.catch((t=>{})));const r=null!=e.maxFeePerGas||null!=e.maxPriorityFeePerGas;if(null==e.gasPrice||2!==e.type&&!r?0!==e.type&&1!==e.type||!r||ar.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t):ar.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t),2!==e.type&&null!=e.type||null==e.maxFeePerGas||null==e.maxPriorityFeePerGas)if(0===e.type||1===e.type)null==e.gasPrice&&(e.gasPrice=this.getGasPrice());else{const t=yield this.getFeeData();if(null==e.type)if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas)if(e.type=2,null!=e.gasPrice){const t=e.gasPrice;delete e.gasPrice,e.maxFeePerGas=t,e.maxPriorityFeePerGas=t}else null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas);else null!=t.gasPrice?(r&&ar.throwError("network does not support EIP-1559",v.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==e.gasPrice&&(e.gasPrice=t.gasPrice),e.type=0):ar.throwError("failed to get consistent fee data",v.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===e.type&&(null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}else e.type=2;return null==e.nonce&&(e.nonce=this.getTransactionCount("pending")),null==e.gasLimit&&(e.gasLimit=this.estimateGas(e).catch((t=>{if(lr.indexOf(t.code)>=0)throw t;return ar.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:e})}))),null==e.chainId?e.chainId=this.getChainId():e.chainId=Promise.all([Promise.resolve(e.chainId),this.getChainId()]).then((e=>(0!==e[1]&&e[0]!==e[1]&&ar.throwArgumentError("chainId address mismatch","transaction",t),e[0]))),yield nt(e)}))}_checkProvider(t){this.provider||ar.throwError("missing provider",v.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!(!t||!t._isSigner)}}class hr extends cr{constructor(t,e){super(),et(this,"address",t),et(this,"provider",e||null)}getAddress(){return Promise.resolve(this.address)}_fail(t,e){return Promise.resolve().then((()=>{ar.throwError(t,v.errors.UNSUPPORTED_OPERATION,{operation:e})}))}signMessage(t){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(t){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(t,e,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(t){return new hr(this.address,t)}}var fr=r(33715),dr=r.n(fr);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;function pr(t,e,r){return r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},t(r,r.exports),r.exports}var mr=gr;function gr(t,e){if(!t)throw new Error(e||"Assertion failed")}gr.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)};var yr=pr((function(t,e){var r=e;function n(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",r=0;r>8,s=255&i;o?r.push(o,s):r.push(s)}return r},r.zero2=n,r.toHex=i,r.encode=function(t,e){return"hex"===e?i(t):t}})),vr=pr((function(t,e){var r=e;r.assert=mr,r.toArray=yr.toArray,r.zero2=yr.zero2,r.toHex=yr.toHex,r.encode=yr.encode,r.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(a)):a=0,n[s]=a,o.iushrn(1)}return n},r.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var s,a,u=t.andln(3)+i&3,l=e.andln(3)+o&3;3===u&&(u=-1),3===l&&(l=-1),s=0==(1&u)?0:3!==(n=t.andln(7)+i&7)&&5!==n||2!==l?u:-u,r[0].push(s),a=0==(1&l)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==u?l:-l,r[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},r.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new(j())(t,"hex","le")}})),wr=vr.getNAF,br=vr.getJSF,Ar=vr.assert;function Er(t,e){this.type=t,this.p=new(j())(e.p,16),this.red=e.prime?j().red(e.prime):j().mont(this.p),this.zero=new(j())(0).toRed(this.red),this.one=new(j())(1).toRed(this.red),this.two=new(j())(2).toRed(this.red),this.n=e.n&&new(j())(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var kr=Er;function _r(t,e){this.curve=t,this.type=e,this.precomputed=null}Er.prototype.point=function(){throw new Error("Not implemented")},Er.prototype.validate=function(){throw new Error("Not implemented")},Er.prototype._fixedNafMul=function(t,e){Ar(t.precomputed);var r=t._getDoubles(),n=wr(e,1,this._bitLength),i=(1<=o;u--)s=(s<<1)+n[u];a.push(s)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),h=i;h>0;h--){for(o=0;o=0;a--){for(var u=0;a>=0&&0===o[a];a--)u++;if(a>=0&&u++,s=s.dblp(u),a<0)break;var l=o[a];Ar(0!==l),s="affine"===t.type?l>0?s.mixedAdd(i[l-1>>1]):s.mixedAdd(i[-l-1>>1].neg()):l>0?s.add(i[l-1>>1]):s.add(i[-l-1>>1].neg())}return"affine"===t.type?s.toP():s},Er.prototype._wnafMulAdd=function(t,e,r,n,i){var o,s,a,u=this._wnafT1,l=this._wnafT2,c=this._wnafT3,h=0;for(o=0;o=1;o-=2){var d=o-1,p=o;if(1===u[d]&&1===u[p]){var m=[e[d],null,null,e[p]];0===e[d].y.cmp(e[p].y)?(m[1]=e[d].add(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg())):0===e[d].y.cmp(e[p].y.redNeg())?(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].add(e[p].neg())):(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=br(r[d],r[p]);for(h=Math.max(y[0].length,h),c[d]=new Array(h),c[p]=new Array(h),s=0;s=0;o--){for(var E=0;o>=0;){var k=!0;for(s=0;s=0&&E++,b=b.dblp(E),o<0)break;for(s=0;s0?a=l[s][_-1>>1]:_<0&&(a=l[s][-_-1>>1].neg()),b="affine"===a.type?b.mixedAdd(a):b.add(a))}}for(o=0;o=Math.ceil((t.bitLength()+1)/e.step)},_r.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=e,s=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:i},{a:o,b:s}]},Nr.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),u=i.mul(r.b),l=o.mul(n.b);return{k1:t.sub(s).sub(a),k2:u.add(l).neg()}},Nr.prototype.pointFromX=function(t,e){(t=new(j())(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(e&&!i||!e&&i)&&(n=n.redNeg()),this.point(t,n)},Nr.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},Nr.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},xr.prototype.isInfinity=function(){return this.inf},xr.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},xr.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},xr.prototype.getX=function(){return this.x.fromRed()},xr.prototype.getY=function(){return this.y.fromRed()},xr.prototype.mul=function(t){return t=new(j())(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},xr.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},xr.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},xr.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},xr.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},xr.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},Sr(Cr,kr.BasePoint),Nr.prototype.jpoint=function(t,e,r){return new Cr(this,t,e,r)},Cr.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},Cr.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},Cr.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),s=t.y.redMul(r.redMul(this.z)),a=n.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),h=n.redMul(l),f=u.redSqr().redIAdd(c).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(c)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(f,d,p)},Cr.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),c=r.redMul(u),h=a.redSqr().redIAdd(l).redISub(c).redISub(c),f=a.redMul(c.redISub(h)).redISub(i.redMul(l)),d=this.z.redMul(s);return this.curve.jpoint(h,f,d)},Cr.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},Cr.prototype.inspect=function(){return this.isInfinity()?"":""},Cr.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var Ir=pr((function(t,e){var r=e;r.base=kr,r.short=Mr,r.mont=null,r.edwards=null})),Tr=pr((function(t,e){var r,n=e,i=vr.assert;function o(t){"short"===t.type?this.curve=new Ir.short(t):"edwards"===t.type?this.curve=new Ir.edwards(t):this.curve=new Ir.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new o(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:dr().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:dr().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:dr().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:dr().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:dr().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:dr().sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:dr().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(a){r=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:dr().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function Rr(t){if(!(this instanceof Rr))return new Rr(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=yr.toArray(t.entropy,t.entropyEnc||"hex"),r=yr.toArray(t.nonce,t.nonceEnc||"hex"),n=yr.toArray(t.pers,t.persEnc||"hex");mr(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}var Br=Rr;Rr.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},Rr.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=yr.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"};var Ur=vr.assert;function Lr(t,e){if(t instanceof Lr)return t;this._importDER(t,e)||(Ur(t.r&&t.s,"Signature without r or s"),this.r=new(j())(t.r,16),this.s=new(j())(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var Gr=Lr;function jr(){this.place=0}function zr(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,s=e.place;o>>=0;return!(i<=127)&&(e.place=s,i)}function Kr(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}Lr.prototype._importDER=function(t,e){t=vr.toArray(t,e);var r=new jr;if(48!==t[r.place++])return!1;var n=zr(t,r);if(!1===n)return!1;if(n+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var i=zr(t,r);if(!1===i)return!1;var o=t.slice(r.place,i+r.place);if(r.place+=i,2!==t[r.place++])return!1;var s=zr(t,r);if(!1===s)return!1;if(t.length!==s+r.place)return!1;var a=t.slice(r.place,s+r.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}return this.r=new(j())(o),this.s=new(j())(a),this.recoveryParam=null,!0},Lr.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=Kr(e),r=Kr(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];qr(n,e.length),(n=n.concat(e)).push(2),qr(n,r.length);var i=n.concat(r),o=[48];return qr(o,i.length),o=o.concat(i),vr.encode(o,t)};var Hr=function(){throw new Error("unsupported")},Jr=vr.assert;function Vr(t){if(!(this instanceof Vr))return new Vr(t);"string"==typeof t&&(Jr(Object.prototype.hasOwnProperty.call(Tr,t),"Unknown curve "+t),t=Tr[t]),t instanceof Tr.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var Wr=Vr;Vr.prototype.keyPair=function(t){return new Dr(this,t)},Vr.prototype.keyFromPrivate=function(t,e){return Dr.fromPrivate(this,t,e)},Vr.prototype.keyFromPublic=function(t,e){return Dr.fromPublic(this,t,e)},Vr.prototype.genKeyPair=function(t){t||(t={});for(var e=new Br({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||Hr(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new(j())(2));;){var i=new(j())(e.generate(r));if(!(i.cmp(n)>0))return i.iaddn(1),this.keyFromPrivate(i)}},Vr.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},Vr.prototype.sign=function(t,e,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new(j())(t,16));for(var i=this.n.byteLength(),o=e.getPrivate().toArray("be",i),s=t.toArray("be",i),a=new Br({hash:this.hash,entropy:o,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),u=this.n.sub(new(j())(1)),l=0;;l++){var c=n.k?n.k(l):new(j())(a.generate(this.n.byteLength()));if(!((c=this._truncateToN(c,!0)).cmpn(1)<=0||c.cmp(u)>=0)){var h=this.g.mul(c);if(!h.isInfinity()){var f=h.getX(),d=f.umod(this.n);if(0!==d.cmpn(0)){var p=c.invm(this.n).mul(d.mul(e.getPrivate()).iadd(t));if(0!==(p=p.umod(this.n)).cmpn(0)){var m=(h.getY().isOdd()?1:0)|(0!==f.cmp(d)?2:0);return n.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),m^=1),new Gr({r:d,s:p,recoveryParam:m})}}}}}},Vr.prototype.verify=function(t,e,r,n){t=this._truncateToN(new(j())(t,16)),r=this.keyFromPublic(r,n);var i=(e=new Gr(e,"hex")).r,o=e.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,a=o.invm(this.n),u=a.mul(t).umod(this.n),l=a.mul(i).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),l)).isInfinity()&&s.eqXToP(i):!(s=this.g.mulAdd(u,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(i)},Vr.prototype.recoverPubKey=function(t,e,r,n){Jr((3&r)===r,"The recovery param is more than two bits"),e=new Gr(e,n);var i=this.n,o=new(j())(t),s=e.r,a=e.s,u=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var c=e.r.invm(i),h=i.sub(o).mul(c).umod(i),f=a.mul(c).umod(i);return this.g.mulAdd(h,s,f)},Vr.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new Gr(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var Qr=pr((function(t,e){var r=e;r.version="6.5.4",r.utils=vr,r.rand=function(){throw new Error("unsupported")},r.curve=Ir,r.curves=Tr,r.ec=Wr,r.eddsa=null})).ec;const Yr=new v("signing-key/5.7.0");let Xr=null;function Zr(){return Xr||(Xr=new Qr("secp256k1")),Xr}class $r{constructor(t){et(this,"curve","secp256k1"),et(this,"privateKey",I(t)),32!==T(this.privateKey)&&Yr.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const e=Zr().keyFromPrivate(S(this.privateKey));et(this,"publicKey","0x"+e.getPublic(!1,"hex")),et(this,"compressedPublicKey","0x"+e.getPublic(!0,"hex")),et(this,"_isSigningKey",!0)}_addPoint(t){const e=Zr().keyFromPublic(S(this.publicKey)),r=Zr().keyFromPublic(S(t));return"0x"+e.pub.add(r.pub).encodeCompressed("hex")}signDigest(t){const e=Zr().keyFromPrivate(S(this.privateKey)),r=S(t);32!==r.length&&Yr.throwArgumentError("bad digest length","digest",t);const n=e.sign(r,{canonical:!0});return U({recoveryParam:n.recoveryParam,r:D("0x"+n.r.toString(16),32),s:D("0x"+n.s.toString(16),32)})}computeSharedSecret(t){const e=Zr().keyFromPrivate(S(this.privateKey)),r=Zr().keyFromPublic(S(en(t)));return D("0x"+e.derive(r.getPublic()).toString(16),32)}static isSigningKey(t){return!(!t||!t._isSigningKey)}}function tn(t,e){const r=U(e),n={r:S(r.r),s:S(r.s)};return"0x"+Zr().recoverPubKey(S(t),n,r.recoveryParam).encode("hex",!1)}function en(t,e){const r=S(t);if(32===r.length){const t=new $r(r);return e?"0x"+Zr().keyFromPrivate(r).getPublic(!0,"hex"):t.publicKey}return 33===r.length?e?I(r):"0x"+Zr().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?e?"0x"+Zr().keyFromPublic(r).getPublic(!0,"hex"):I(r):Yr.throwArgumentError("invalid public or private key","key","[REDACTED]")}const rn=new v("transactions/5.7.0");var nn;function on(t){return"0x"===t?null:Bt(t)}function sn(t){return"0x"===t?ce:W.from(t)}!function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"}(nn||(nn={}));const an=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],un={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function ln(t){return Bt(R(wt(R(en(t),1)),12))}function cn(t,e){return ln(tn(S(t),e))}function hn(t,e){const r=N(W.from(t).toHexString());return r.length>32&&rn.throwArgumentError("invalid length for "+e,"transaction:"+e,t),r}function fn(t,e){return{address:Bt(t),storageKeys:(e||[]).map(((e,r)=>(32!==T(e)&&rn.throwArgumentError("invalid access list storageKey",`accessList[${t}:${r}]`,e),e.toLowerCase())))}}function dn(t){if(Array.isArray(t))return t.map(((t,e)=>Array.isArray(t)?(t.length>2&&rn.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${e}]`,t),fn(t[0],t[1])):fn(t.address,t.storageKeys)));const e=Object.keys(t).map((e=>{const r=t[e].reduce(((t,e)=>(t[e]=!0,t)),{});return fn(e,Object.keys(r).sort())}));return e.sort(((t,e)=>t.address.localeCompare(e.address))),e}function pn(t){return dn(t).map((t=>[t.address,t.storageKeys]))}function mn(t,e){if(null!=t.gasPrice){const e=W.from(t.gasPrice),r=W.from(t.maxFeePerGas||0);e.eq(r)||rn.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:e,maxFeePerGas:r})}const r=[hn(t.chainId||0,"chainId"),hn(t.nonce||0,"nonce"),hn(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),hn(t.maxFeePerGas||0,"maxFeePerGas"),hn(t.gasLimit||0,"gasLimit"),null!=t.to?Bt(t.to):"0x",hn(t.value||0,"value"),t.data||"0x",pn(t.accessList||[])];if(e){const t=U(e);r.push(hn(t.recoveryParam,"recoveryParam")),r.push(N(t.r)),r.push(N(t.s))}return B(["0x02",_t(r)])}function gn(t,e){const r=[hn(t.chainId||0,"chainId"),hn(t.nonce||0,"nonce"),hn(t.gasPrice||0,"gasPrice"),hn(t.gasLimit||0,"gasLimit"),null!=t.to?Bt(t.to):"0x",hn(t.value||0,"value"),t.data||"0x",pn(t.accessList||[])];if(e){const t=U(e);r.push(hn(t.recoveryParam,"recoveryParam")),r.push(N(t.r)),r.push(N(t.s))}return B(["0x01",_t(r)])}function yn(t,e){if(null==t.type||0===t.type)return null!=t.accessList&&rn.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),function(t,e){it(t,un);const r=[];an.forEach((function(e){let n=t[e.name]||[];const i={};e.numeric&&(i.hexPad="left"),n=S(I(n,i)),e.length&&n.length!==e.length&&n.length>0&&rn.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n),e.maxLength&&(n=N(n),n.length>e.maxLength&&rn.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n)),r.push(I(n))}));let n=0;if(null!=t.chainId?(n=t.chainId,"number"!=typeof n&&rn.throwArgumentError("invalid transaction.chainId","transaction",t)):e&&!E(e)&&e.v>28&&(n=Math.floor((e.v-35)/2)),0!==n&&(r.push(I(n)),r.push("0x"),r.push("0x")),!e)return _t(r);const i=U(e);let o=27+i.recoveryParam;return 0!==n?(r.pop(),r.pop(),r.pop(),o+=2*n+8,i.v>28&&i.v!==o&&rn.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):i.v!==o&&rn.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),r.push(I(o)),r.push(N(S(i.r))),r.push(N(S(i.s))),_t(r)}(t,e);switch(t.type){case 1:return gn(t,e);case 2:return mn(t,e)}return rn.throwError(`unsupported transaction type: ${t.type}`,v.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}function vn(t,e,r){try{const r=sn(e[0]).toNumber();if(0!==r&&1!==r)throw new Error("bad recid");t.v=r}catch(n){rn.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=D(e[1],32),t.s=D(e[2],32);try{const e=wt(r(t));t.from=cn(e,{r:t.r,s:t.s,recoveryParam:t.v})}catch(n){}}function wn(t){const e=S(t);if(e[0]>127)return function(t){const e=Nt(t);9!==e.length&&6!==e.length&&rn.throwArgumentError("invalid raw transaction","rawTransaction",t);const r={nonce:sn(e[0]).toNumber(),gasPrice:sn(e[1]),gasLimit:sn(e[2]),to:on(e[3]),value:sn(e[4]),data:e[5],chainId:0};if(6===e.length)return r;try{r.v=W.from(e[6]).toNumber()}catch(n){return r}if(r.r=D(e[7],32),r.s=D(e[8],32),W.from(r.r).isZero()&&W.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);let i=r.v-27;const o=e.slice(0,6);0!==r.chainId&&(o.push(I(r.chainId)),o.push("0x"),o.push("0x"),i-=2*r.chainId+8);const s=wt(_t(o));try{r.from=cn(s,{r:I(r.r),s:I(r.s),recoveryParam:i})}catch(n){}r.hash=wt(t)}return r.type=null,r}(e);switch(e[0]){case 1:return function(t){const e=Nt(t.slice(1));8!==e.length&&11!==e.length&&rn.throwArgumentError("invalid component count for transaction type: 1","payload",I(t));const r={type:1,chainId:sn(e[0]).toNumber(),nonce:sn(e[1]).toNumber(),gasPrice:sn(e[2]),gasLimit:sn(e[3]),to:on(e[4]),value:sn(e[5]),data:e[6],accessList:dn(e[7])};return 8===e.length||(r.hash=wt(t),vn(r,e.slice(8),gn)),r}(e);case 2:return function(t){const e=Nt(t.slice(1));9!==e.length&&12!==e.length&&rn.throwArgumentError("invalid component count for transaction type: 2","payload",I(t));const r=sn(e[2]),n=sn(e[3]),i={type:2,chainId:sn(e[0]).toNumber(),nonce:sn(e[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:n,gasPrice:null,gasLimit:sn(e[4]),to:on(e[5]),value:sn(e[6]),data:e[7],accessList:dn(e[8])};return 9===e.length||(i.hash=wt(t),vn(i,e.slice(9),mn)),i}(e)}return rn.throwError(`unsupported transaction type: ${e[0]}`,v.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}var bn=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const An=new v("contracts/5.7.0"),En={chainId:!0,data:!0,from:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0,customData:!0,ccipReadEnabled:!0};function kn(t,e){return bn(this,void 0,void 0,(function*(){const r=yield e;"string"!=typeof r&&An.throwArgumentError("invalid address or ENS name","name",r);try{return Bt(r)}catch(i){}t||An.throwError("a provider or signer is needed to resolve ENS names",v.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const n=yield t.resolveName(r);return null==n&&An.throwArgumentError("resolver or addr is not configured for ENS name","name",r),n}))}function _n(t,e,r){return bn(this,void 0,void 0,(function*(){return Array.isArray(r)?yield Promise.all(r.map(((r,n)=>_n(t,Array.isArray(e)?e[n]:e[r.name],r)))):"address"===r.type?yield kn(t,e):"tuple"===r.type?yield _n(t,e,r.components):"array"===r.baseType?Array.isArray(e)?yield Promise.all(e.map((e=>_n(t,e,r.arrayChildren)))):Promise.reject(An.makeError("invalid value for array",v.errors.INVALID_ARGUMENT,{argument:"value",value:e})):e}))}function Sn(t,e,r){return bn(this,void 0,void 0,(function*(){let n={};r.length===e.inputs.length+1&&"object"==typeof r[r.length-1]&&(n=ot(r.pop())),An.checkArgumentCount(r.length,e.inputs.length,"passed to contract"),t.signer?n.from?n.from=nt({override:kn(t.signer,n.from),signer:t.signer.getAddress()}).then((t=>bn(this,void 0,void 0,(function*(){return Bt(t.signer)!==t.override&&An.throwError("Contract with a Signer cannot override from",v.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),t.override})))):n.from=t.signer.getAddress():n.from&&(n.from=kn(t.provider,n.from));const i=yield nt({args:_n(t.signer||t.provider,r,e.inputs),address:t.resolvedAddress,overrides:nt(n)||{}}),o=t.interface.encodeFunctionData(e,i.args),s={data:o,to:i.address},a=i.overrides;if(null!=a.nonce&&(s.nonce=W.from(a.nonce).toNumber()),null!=a.gasLimit&&(s.gasLimit=W.from(a.gasLimit)),null!=a.gasPrice&&(s.gasPrice=W.from(a.gasPrice)),null!=a.maxFeePerGas&&(s.maxFeePerGas=W.from(a.maxFeePerGas)),null!=a.maxPriorityFeePerGas&&(s.maxPriorityFeePerGas=W.from(a.maxPriorityFeePerGas)),null!=a.from&&(s.from=a.from),null!=a.type&&(s.type=a.type),null!=a.accessList&&(s.accessList=dn(a.accessList)),null==s.gasLimit&&null!=e.gas){let t=21e3;const r=S(o);for(let e=0;enull!=n[t]));return u.length&&An.throwError(`cannot override ${u.map((t=>JSON.stringify(t))).join(",")}`,v.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:u}),s}))}function Pn(t,e){const r=e.wait.bind(e);e.wait=e=>r(e).then((e=>(e.events=e.logs.map((r=>{let n=lt(r),i=null;try{i=t.interface.parseLog(r)}catch(o){}return i&&(n.args=i.args,n.decode=(e,r)=>t.interface.decodeEventLog(i.eventFragment,e,r),n.event=i.name,n.eventSignature=i.signature),n.removeListener=()=>t.provider,n.getBlock=()=>t.provider.getBlock(e.blockHash),n.getTransaction=()=>t.provider.getTransaction(e.transactionHash),n.getTransactionReceipt=()=>Promise.resolve(e),n})),e)))}function Nn(t,e,r){const n=t.signer||t.provider;return function(...i){return bn(this,void 0,void 0,(function*(){let o;if(i.length===e.inputs.length+1&&"object"==typeof i[i.length-1]){const t=ot(i.pop());null!=t.blockTag&&(o=yield t.blockTag),delete t.blockTag,i.push(t)}null!=t.deployTransaction&&(yield t._deployed(o));const s=yield Sn(t,e,i),a=yield n.call(s,o);try{let n=t.interface.decodeFunctionResult(e,a);return r&&1===e.outputs.length&&(n=n[0]),n}catch(u){throw u.code===v.errors.CALL_EXCEPTION&&(u.address=t.address,u.args=i,u.transaction=s),u}}))}}function Mn(t,e,r){return e.constant?Nn(t,e,r):function(t,e){return function(...r){return bn(this,void 0,void 0,(function*(){t.signer||An.throwError("sending a transaction requires a signer",v.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null!=t.deployTransaction&&(yield t._deployed());const n=yield Sn(t,e,r),i=yield t.signer.sendTransaction(n);return Pn(t,i),i}))}}(t,e)}function xn(t){return!t.address||null!=t.topics&&0!==t.topics.length?(t.address||"*")+"@"+(t.topics?t.topics.map((t=>Array.isArray(t)?t.join("|"):t)).join(":"):""):"*"}class Cn{constructor(t,e){et(this,"tag",t),et(this,"filter",e),this._listeners=[]}addListener(t,e){this._listeners.push({listener:t,once:e})}removeListener(t){let e=!1;this._listeners=this._listeners.filter((r=>!(!e&&r.listener===t)||(e=!0,!1)))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map((t=>t.listener))}listenerCount(){return this._listeners.length}run(t){const e=this.listenerCount();return this._listeners=this._listeners.filter((e=>{const r=t.slice();return setTimeout((()=>{e.listener.apply(this,r)}),0),!e.once})),e}prepareEvent(t){}getEmit(t){return[t]}}class In extends Cn{constructor(){super("error",null)}}class Tn extends Cn{constructor(t,e,r,n){const i={address:t};let o=e.getEventTopic(r);n?(o!==n[0]&&An.throwArgumentError("topic mismatch","topics",n),i.topics=n.slice()):i.topics=[o],super(xn(i),i),et(this,"address",t),et(this,"interface",e),et(this,"fragment",r)}prepareEvent(t){super.prepareEvent(t),t.event=this.fragment.name,t.eventSignature=this.fragment.format(),t.decode=(t,e)=>this.interface.decodeEventLog(this.fragment,t,e);try{t.args=this.interface.decodeEventLog(this.fragment,t.data,t.topics)}catch(e){t.args=null,t.decodeError=e}}getEmit(t){const e=dt(t.args);if(e.length)throw e[0].error;const r=(t.args||[]).slice();return r.push(t),r}}class Rn extends Cn{constructor(t,e){super("*",{address:t}),et(this,"address",t),et(this,"interface",e)}prepareEvent(t){super.prepareEvent(t);try{const e=this.interface.parseLog(t);t.event=e.name,t.eventSignature=e.signature,t.decode=(t,r)=>this.interface.decodeEventLog(e.eventFragment,t,r),t.args=e.args}catch(e){}}}class Bn{constructor(t,e,r){et(this,"interface",rt(new.target,"getInterface")(e)),null==r?(et(this,"provider",null),et(this,"signer",null)):cr.isSigner(r)?(et(this,"provider",r.provider||null),et(this,"signer",r)):or.isProvider(r)?(et(this,"provider",r),et(this,"signer",null)):An.throwArgumentError("invalid signer or provider","signerOrProvider",r),et(this,"callStatic",{}),et(this,"estimateGas",{}),et(this,"functions",{}),et(this,"populateTransaction",{}),et(this,"filters",{});{const t={};Object.keys(this.interface.events).forEach((e=>{const r=this.interface.events[e];et(this.filters,e,((...t)=>({address:this.address,topics:this.interface.encodeFilterTopics(r,t)}))),t[r.name]||(t[r.name]=[]),t[r.name].push(e)})),Object.keys(t).forEach((e=>{const r=t[e];1===r.length?et(this.filters,e,this.filters[r[0]]):An.warn(`Duplicate definition of ${e} (${r.join(", ")})`)}))}if(et(this,"_runningEvents",{}),et(this,"_wrappedEmits",{}),null==t&&An.throwArgumentError("invalid contract address or ENS name","addressOrName",t),et(this,"address",t),this.provider)et(this,"resolvedAddress",kn(this.provider,t));else try{et(this,"resolvedAddress",Promise.resolve(Bt(t)))}catch(o){An.throwError("provider is required to use ENS name as contract address",v.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch((t=>{}));const n={},i={};Object.keys(this.interface.functions).forEach((t=>{const e=this.interface.functions[t];if(i[t])An.warn(`Duplicate ABI entry for ${JSON.stringify(t)}`);else{i[t]=!0;{const r=e.name;n[`%${r}`]||(n[`%${r}`]=[]),n[`%${r}`].push(t)}null==this[t]&&et(this,t,Mn(this,e,!0)),null==this.functions[t]&&et(this.functions,t,Mn(this,e,!1)),null==this.callStatic[t]&&et(this.callStatic,t,Nn(this,e,!0)),null==this.populateTransaction[t]&&et(this.populateTransaction,t,function(t,e){return function(...r){return Sn(t,e,r)}}(this,e)),null==this.estimateGas[t]&&et(this.estimateGas,t,function(t,e){const r=t.signer||t.provider;return function(...n){return bn(this,void 0,void 0,(function*(){r||An.throwError("estimate require a provider or signer",v.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"});const i=yield Sn(t,e,n);return yield r.estimateGas(i)}))}}(this,e))}})),Object.keys(n).forEach((t=>{const e=n[t];if(e.length>1)return;t=t.substring(1);const r=e[0];try{null==this[t]&&et(this,t,this[r])}catch(i){}null==this.functions[t]&&et(this.functions,t,this.functions[r]),null==this.callStatic[t]&&et(this.callStatic,t,this.callStatic[r]),null==this.populateTransaction[t]&&et(this.populateTransaction,t,this.populateTransaction[r]),null==this.estimateGas[t]&&et(this.estimateGas,t,this.estimateGas[r])}))}static getContractAddress(t){return Dt(t)}static getInterface(t){return er.isInterface(t)?t:new er(t)}deployed(){return this._deployed()}_deployed(t){return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((()=>this)):this._deployedPromise=this.provider.getCode(this.address,t).then((t=>("0x"===t&&An.throwError("contract not deployed",v.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this)))),this._deployedPromise}fallback(t){this.signer||An.throwError("sending a transactions require a signer",v.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const e=ot(t||{});return["from","to"].forEach((function(t){null!=e[t]&&An.throwError("cannot override "+t,v.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.to=this.resolvedAddress,this.deployed().then((()=>this.signer.sendTransaction(e)))}connect(t){"string"==typeof t&&(t=new hr(t,this.provider));const e=new this.constructor(this.address,this.interface,t);return this.deployTransaction&&et(e,"deployTransaction",this.deployTransaction),e}attach(t){return new this.constructor(t,this.interface,this.signer||this.provider)}static isIndexed(t){return Ze.isIndexed(t)}_normalizeRunningEvent(t){return this._runningEvents[t.tag]?this._runningEvents[t.tag]:t}_getRunningEvent(t){if("string"==typeof t){if("error"===t)return this._normalizeRunningEvent(new In);if("event"===t)return this._normalizeRunningEvent(new Cn("event",null));if("*"===t)return this._normalizeRunningEvent(new Rn(this.address,this.interface));const e=this.interface.getEvent(t);return this._normalizeRunningEvent(new Tn(this.address,this.interface,e))}if(t.topics&&t.topics.length>0){try{const e=t.topics[0];if("string"!=typeof e)throw new Error("invalid topic");const r=this.interface.getEvent(e);return this._normalizeRunningEvent(new Tn(this.address,this.interface,r,t.topics))}catch(e){}const r={address:this.address,topics:t.topics};return this._normalizeRunningEvent(new Cn(xn(r),r))}return this._normalizeRunningEvent(new Rn(this.address,this.interface))}_checkRunningEvents(t){if(0===t.listenerCount()){delete this._runningEvents[t.tag];const e=this._wrappedEmits[t.tag];e&&t.filter&&(this.provider.off(t.filter,e),delete this._wrappedEmits[t.tag])}}_wrapEvent(t,e,r){const n=lt(e);return n.removeListener=()=>{r&&(t.removeListener(r),this._checkRunningEvents(t))},n.getBlock=()=>this.provider.getBlock(e.blockHash),n.getTransaction=()=>this.provider.getTransaction(e.transactionHash),n.getTransactionReceipt=()=>this.provider.getTransactionReceipt(e.transactionHash),t.prepareEvent(n),n}_addEventListener(t,e,r){if(this.provider||An.throwError("events require a provider or a signer with a provider",v.errors.UNSUPPORTED_OPERATION,{operation:"once"}),t.addListener(e,r),this._runningEvents[t.tag]=t,!this._wrappedEmits[t.tag]){const r=r=>{let n=this._wrapEvent(t,r,e);if(null==n.decodeError)try{const e=t.getEmit(n);this.emit(t.filter,...e)}catch(i){n.decodeError=i.error}null!=t.filter&&this.emit("event",n),null!=n.decodeError&&this.emit("error",n.decodeError,n)};this._wrappedEmits[t.tag]=r,null!=t.filter&&this.provider.on(t.filter,r)}}queryFilter(t,e,r){const n=this._getRunningEvent(t),i=ot(n.filter);return"string"==typeof e&&x(e,32)?(null!=r&&An.throwArgumentError("cannot specify toBlock with blockhash","toBlock",r),i.blockHash=e):(i.fromBlock=null!=e?e:0,i.toBlock=null!=r?r:"latest"),this.provider.getLogs(i).then((t=>t.map((t=>this._wrapEvent(n,t,null)))))}on(t,e){return this._addEventListener(this._getRunningEvent(t),e,!1),this}once(t,e){return this._addEventListener(this._getRunningEvent(t),e,!0),this}emit(t,...e){if(!this.provider)return!1;const r=this._getRunningEvent(t),n=r.run(e)>0;return this._checkRunningEvents(r),n}listenerCount(t){return this.provider?null==t?Object.keys(this._runningEvents).reduce(((t,e)=>t+this._runningEvents[e].listenerCount()),0):this._getRunningEvent(t).listenerCount():0}listeners(t){if(!this.provider)return[];if(null==t){const t=[];for(let e in this._runningEvents)this._runningEvents[e].listeners().forEach((e=>{t.push(e)}));return t}return this._getRunningEvent(t).listeners()}removeAllListeners(t){if(!this.provider)return this;if(null==t){for(const t in this._runningEvents){const e=this._runningEvents[t];e.removeAllListeners(),this._checkRunningEvents(e)}return this}const e=this._getRunningEvent(t);return e.removeAllListeners(),this._checkRunningEvents(e),this}off(t,e){if(!this.provider)return this;const r=this._getRunningEvent(t);return r.removeListener(e),this._checkRunningEvents(r),this}removeListener(t,e){return this.off(t,e)}}class On extends Bn{}class Fn{constructor(t,e,r){let n=null;n="string"==typeof e?e:_(e)?I(e):e&&"string"==typeof e.object?e.object:"!","0x"!==n.substring(0,2)&&(n="0x"+n),(!x(n)||n.length%2)&&An.throwArgumentError("invalid bytecode","bytecode",e),r&&!cr.isSigner(r)&&An.throwArgumentError("invalid signer","signer",r),et(this,"bytecode",n),et(this,"interface",rt(new.target,"getInterface")(t)),et(this,"signer",r||null)}getDeployTransaction(...t){let e={};if(t.length===this.interface.deploy.inputs.length+1&&"object"==typeof t[t.length-1]){e=ot(t.pop());for(const t in e)if(!En[t])throw new Error("unknown transaction override "+t)}if(["data","from","to"].forEach((t=>{null!=e[t]&&An.throwError("cannot override "+t,v.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.value){W.from(e.value).isZero()||this.interface.deploy.payable||An.throwError("non-payable constructor cannot override value",v.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:e.value})}return An.checkArgumentCount(t.length,this.interface.deploy.inputs.length," in Contract constructor"),e.data=I(P([this.bytecode,this.interface.encodeDeploy(t)])),e}deploy(...t){return bn(this,void 0,void 0,(function*(){let e={};t.length===this.interface.deploy.inputs.length+1&&(e=t.pop()),An.checkArgumentCount(t.length,this.interface.deploy.inputs.length," in Contract constructor");const r=yield _n(this.signer,t,this.interface.deploy.inputs);r.push(e);const n=this.getDeployTransaction(...r),i=yield this.signer.sendTransaction(n),o=rt(this.constructor,"getContractAddress")(i),s=rt(this.constructor,"getContract")(o,this.interface,this.signer);return Pn(s,i),et(s,"deployTransaction",i),s}))}attach(t){return this.constructor.getContract(t,this.interface,this.signer)}connect(t){return new this.constructor(this.interface,this.bytecode,t)}static fromSolidity(t,e){null==t&&An.throwError("missing compiler output",v.errors.MISSING_ARGUMENT,{argument:"compilerOutput"}),"string"==typeof t&&(t=JSON.parse(t));const r=t.abi;let n=null;return t.bytecode?n=t.bytecode:t.evm&&t.evm.bytecode&&(n=t.evm.bytecode),new this(r,n,e)}static getInterface(t){return On.getInterface(t)}static getContractAddress(t){return Dt(t)}static getContract(t,e,r){return new On(t,e,r)}}const Dn=new v(z),Un={},Ln=W.from(0),Gn=W.from(-1);function jn(t,e,r,n){const i={fault:e,operation:r};return void 0!==n&&(i.value=n),Dn.throwError(t,v.errors.NUMERIC_FAULT,i)}let zn="0";for(;zn.length<256;)zn+=zn;function Kn(t){if("number"!=typeof t)try{t=W.from(t).toNumber()}catch(e){}return"number"==typeof t&&t>=0&&t<=256&&!(t%1)?"1"+zn.substring(0,t):Dn.throwArgumentError("invalid decimal size","decimals",t)}function qn(t,e){null==e&&(e=0);const r=Kn(e),n=(t=W.from(t)).lt(Ln);n&&(t=t.mul(Gn));let i=t.mod(r).toString();for(;i.length2&&Dn.throwArgumentError("too many decimal points","value",t);let o=i[0],s=i[1];for(o||(o="0"),s||(s="0");"0"===s[s.length-1];)s=s.substring(0,s.length-1);for(s.length>r.length-1&&jn("fractional component exceeds decimals","underflow","parseFixed"),""===s&&(s="0");s.lengthnull==t[e]?n:(typeof t[e]!==r&&Dn.throwArgumentError("invalid fixed format ("+e+" not "+r+")","format."+e,t[e]),t[e]);e=i("signed","boolean",e),r=i("width","number",r),n=i("decimals","number",n)}return r%8&&Dn.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",r),n>80&&Dn.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new Jn(Un,e,r,n)}}class Vn{constructor(t,e,r,n){t!==Un&&Dn.throwError("cannot use FixedNumber constructor; use FixedNumber.from",v.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=e,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(t){this.format.name!==t.format.name&&Dn.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}addUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.add(r),this.format.decimals,this.format)}subUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.sub(r),this.format.decimals,this.format)}mulUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.mul(r).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.mul(this.format._multiplier).div(r),this.format.decimals,this.format)}floor(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=Vn.from(t[0],this.format);const r=!t[1].match(/^(0*)$/);return this.isNegative()&&r&&(e=e.subUnsafe(Wn.toFormat(e.format))),e}ceiling(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=Vn.from(t[0],this.format);const r=!t[1].match(/^(0*)$/);return!this.isNegative()&&r&&(e=e.addUnsafe(Wn.toFormat(e.format))),e}round(t){null==t&&(t=0);const e=this.toString().split(".");if(1===e.length&&e.push("0"),(t<0||t>80||t%1)&&Dn.throwArgumentError("invalid decimal count","decimals",t),e[1].length<=t)return this;const r=Vn.from("1"+zn.substring(0,t),this.format),n=Qn.toFormat(this.format);return this.mulUnsafe(r).addUnsafe(n).floor().divUnsafe(r)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(t){if(null==t)return this._hex;t%8&&Dn.throwArgumentError("invalid byte width","width",t);return D(W.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString(),t/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return Vn.fromString(this._value,t)}static fromValue(t,e,r){return null!=r||null==e||function(t){return null!=t&&(W.isBigNumber(t)||"number"==typeof t&&t%1==0||"string"==typeof t&&!!t.match(/^-?[0-9]+$/)||x(t)||"bigint"==typeof t||_(t))}(e)||(r=e,e=null),null==e&&(e=0),null==r&&(r="fixed"),Vn.fromString(qn(t,e),Jn.from(r))}static fromString(t,e){null==e&&(e="fixed");const r=Jn.from(e),n=Hn(t,r.decimals);!r.signed&&n.lt(Ln)&&jn("unsigned value cannot be negative","overflow","value",t);let i=null;r.signed?i=n.toTwos(r.width).toHexString():(i=n.toHexString(),i=D(i,r.width/8));const o=qn(n,r.decimals);return new Vn(Un,i,o,r)}static fromBytes(t,e){null==e&&(e="fixed");const r=Jn.from(e);if(S(t).length>r.width/8)throw new Error("overflow");let n=W.from(t);r.signed&&(n=n.fromTwos(r.width));const i=n.toTwos((r.signed?0:1)+r.width).toHexString(),o=qn(n,r.decimals);return new Vn(Un,i,o,r)}static from(t,e){if("string"==typeof t)return Vn.fromString(t,e);if(_(t))return Vn.fromBytes(t,e);try{return Vn.fromValue(t,0,e)}catch(r){if(r.code!==v.errors.INVALID_ARGUMENT)throw r}return Dn.throwArgumentError("invalid FixedNumber value","value",t)}static isFixedNumber(t){return!(!t||!t._isFixedNumber)}}const Wn=Vn.from(1),Qn=Vn.from("0.5");function Yn(t){return"string"==typeof t&&(t=Ht(t)),wt(P([Ht("\x19Ethereum Signed Message:\n"),Ht(String(t.length)),t]))}const Xn="hash/5.7.0";var Zn=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const $n=new v(Xn),ti=new Uint8Array(32);ti.fill(0);const ei=W.from(-1),ri=W.from(0),ni=W.from(1),ii=W.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const oi=D(ni.toHexString(),32),si=D(ri.toHexString(),32),ai={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},ui=["name","version","chainId","verifyingContract","salt"];function li(t){return function(e){return"string"!=typeof e&&$n.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const ci={name:li("name"),version:li("version"),chainId:function(t){try{return W.from(t).toString()}catch(e){}return $n.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return Bt(t).toLowerCase()}catch(e){}return $n.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{const e=S(t);if(32!==e.length)throw new Error("bad length");return I(e)}catch(e){}return $n.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function hi(t){{const e=t.match(/^(u?)int(\d*)$/);if(e){const r=""===e[1],n=parseInt(e[2]||"256");(n%8!=0||n>256||e[2]&&e[2]!==String(n))&&$n.throwArgumentError("invalid numeric width","type",t);const i=ii.mask(r?n-1:n),o=r?i.add(ni).mul(ei):ri;return function(e){const r=W.from(e);return(r.lt(o)||r.gt(i))&&$n.throwArgumentError(`value out-of-bounds for ${t}`,"value",e),D(r.toTwos(256).toHexString(),32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const r=parseInt(e[1]);return(0===r||r>32||e[1]!==String(r))&&$n.throwArgumentError("invalid bytes width","type",t),function(e){return S(e).length!==r&&$n.throwArgumentError(`invalid length for ${t}`,"value",e),function(t){const e=S(t),r=e.length%32;return r?B([e,ti.slice(r)]):I(e)}(e)}}}switch(t){case"address":return function(t){return D(Bt(t),32)};case"bool":return function(t){return t?oi:si};case"bytes":return function(t){return wt(t)};case"string":return function(t){return Xt(t)}}return null}function fi(t,e){return`${t}(${e.map((({name:t,type:e})=>e+" "+t)).join(",")})`}class di{constructor(t){et(this,"types",Object.freeze(lt(t))),et(this,"_encoderCache",{}),et(this,"_types",{});const e={},r={},n={};Object.keys(t).forEach((t=>{e[t]={},r[t]=[],n[t]={}}));for(const o in t){const n={};t[o].forEach((i=>{n[i.name]&&$n.throwArgumentError(`duplicate variable name ${JSON.stringify(i.name)} in ${JSON.stringify(o)}`,"types",t),n[i.name]=!0;const s=i.type.match(/^([^\x5b]*)(\x5b|$)/)[1];s===o&&$n.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",t);hi(s)||(r[s]||$n.throwArgumentError(`unknown type ${JSON.stringify(s)}`,"types",t),r[s].push(o),e[o][s]=!0)}))}const i=Object.keys(r).filter((t=>0===r[t].length));0===i.length?$n.throwArgumentError("missing primary type","types",t):i.length>1&&$n.throwArgumentError(`ambiguous primary types or unused types: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"types",t),et(this,"primaryType",i[0]),function i(o,s){s[o]&&$n.throwArgumentError(`circular type reference to ${JSON.stringify(o)}`,"types",t),s[o]=!0,Object.keys(e[o]).forEach((t=>{r[t]&&(i(t,s),Object.keys(s).forEach((e=>{n[e][t]=!0})))})),delete s[o]}(this.primaryType,{});for(const o in n){const e=Object.keys(n[o]);e.sort(),this._types[o]=fi(o,t[o])+e.map((e=>fi(e,t[e]))).join("")}}getEncoder(t){let e=this._encoderCache[t];return e||(e=this._encoderCache[t]=this._getEncoder(t)),e}_getEncoder(t){{const e=hi(t);if(e)return e}const e=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(e){const t=e[1],r=this.getEncoder(t),n=parseInt(e[3]);return e=>{n>=0&&e.length!==n&&$n.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);let i=e.map(r);return this._types[t]&&(i=i.map(wt)),wt(B(i))}}const r=this.types[t];if(r){const e=Xt(this._types[t]);return t=>{const n=r.map((({name:e,type:r})=>{const n=this.getEncoder(r)(t[e]);return this._types[r]?wt(n):n}));return n.unshift(e),B(n)}}return $n.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const e=this._types[t];return e||$n.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),e}encodeData(t,e){return this.getEncoder(t)(e)}hashStruct(t,e){return wt(this.encodeData(t,e))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,e,r){if(hi(t))return r(t,e);const n=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){const t=n[1],i=parseInt(n[3]);return i>=0&&e.length!==i&&$n.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e),e.map((e=>this._visit(t,e,r)))}const i=this.types[t];return i?i.reduce(((t,{name:n,type:i})=>(t[n]=this._visit(i,e[n],r),t)),{}):$n.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,e){return this._visit(this.primaryType,t,e)}static from(t){return new di(t)}static getPrimaryType(t){return di.from(t).primaryType}static hashStruct(t,e,r){return di.from(e).hashStruct(t,r)}static hashDomain(t){const e=[];for(const r in t){const n=ai[r];n||$n.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(r)}`,"domain",t),e.push({name:r,type:n})}return e.sort(((t,e)=>ui.indexOf(t.name)-ui.indexOf(e.name))),di.hashStruct("EIP712Domain",{EIP712Domain:e},t)}static encode(t,e,r){return B(["0x1901",di.hashDomain(t),di.from(e).hash(r)])}static hash(t,e,r){return wt(di.encode(t,e,r))}static resolveNames(t,e,r,n){return Zn(this,void 0,void 0,(function*(){t=ot(t);const i={};t.verifyingContract&&!x(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");const o=di.from(e);o.visit(r,((t,e)=>("address"!==t||x(e,20)||(i[e]="0x"),e)));for(const t in i)i[t]=yield n(t);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),r=o.visit(r,((t,e)=>"address"===t&&i[e]?i[e]:e)),{domain:t,value:r}}))}static getPayload(t,e,r){di.hashDomain(t);const n={},i=[];ui.forEach((e=>{const r=t[e];null!=r&&(n[e]=ci[e](r),i.push({name:e,type:ai[e]}))}));const o=di.from(e),s=ot(e);return s.EIP712Domain?$n.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",e):s.EIP712Domain=i,o.encode(r),{types:s,domain:n,primaryType:o.primaryType,message:o.visit(r,((t,e)=>{if(t.match(/^bytes(\d*)/))return I(S(e));if(t.match(/^u?int/))return W.from(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return"string"!=typeof e&&$n.throwArgumentError("invalid string","value",e),e}return $n.throwArgumentError("unsupported type","type",t)}))}}}class pi{constructor(t){et(this,"alphabet",t),et(this,"base",t.length),et(this,"_alphabetMap",{}),et(this,"_leader",t.charAt(0));for(let e=0;e0;)r.push(t%this.base),t=t/this.base|0}let n="";for(let i=0;0===e[i]&&i=0;--i)n+=this.alphabet[r[i]];return n}decode(t){if("string"!=typeof t)throw new TypeError("Expected String");let e=[];if(0===t.length)return new Uint8Array(e);e.push(0);for(let r=0;r>=8;for(;i>0;)e.push(255&i),i>>=8}for(let r=0;t[r]===this._leader&&r>24&255,u[e.length+1]=h>>16&255,u[e.length+2]=h>>8&255,u[e.length+3]=255&h;let f=S(Ai(i,t,u));o||(o=f.length,c=new Uint8Array(o),s=Math.ceil(n/o),l=n-(s-1)*o),c.set(f);for(let e=1;e=256)throw new Error("Depth too large!");return Oi(P([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",I(this.depth),this.parentFingerprint,D(I(this.index),4),this.chainCode,null!=this.privateKey?P(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new Li(Di,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(t){if(t>4294967295)throw new Error("invalid index - "+String(t));let e=this.path;e&&(e+="/"+(2147483647&t));const r=new Uint8Array(37);if(t&Ti){if(!this.privateKey)throw new Error("cannot derive child of neutered node");r.set(S(this.privateKey),1),e&&(e+="'")}else r.set(S(this.publicKey));for(let c=24;c>=0;c-=8)r[33+(c>>3)]=t>>24-c&255;const n=S(Ai(gi.sha512,this.chainCode,r)),i=n.slice(0,32),o=n.slice(32);let s=null,a=null;if(this.privateKey)s=Bi(W.from(i).add(this.privateKey).mod(Ci));else{a=new $r(I(i))._addPoint(this.publicKey)}let u=e;const l=this.mnemonic;return l&&(u=Object.freeze({phrase:l.phrase,path:e,locale:l.locale||"en"})),new Li(Di,s,a,this.fingerprint,Bi(o),t,this.depth+1,u)}derivePath(t){const e=t.split("/");if(0===e.length||"m"===e[0]&&0!==this.depth)throw new Error("invalid path - "+t);"m"===e[0]&&e.shift();let r=this;for(let n=0;n=Ti)throw new Error("invalid path index - "+t);r=r._derive(Ti+e)}else{if(!t.match(/^[0-9]+$/))throw new Error("invalid path component - "+t);{const e=parseInt(t);if(e>=Ti)throw new Error("invalid path index - "+t);r=r._derive(e)}}}return r}static _fromSeed(t,e){const r=S(t);if(r.length<16||r.length>64)throw new Error("invalid seed");const n=S(Ai(gi.sha512,Ii,r));return new Li(Di,Bi(n.slice(0,32)),null,"0x00000000",Bi(n.slice(32)),0,0,e)}static fromMnemonic(t,e,r){return t=zi(ji(t,r=Fi(r)),r),Li._fromSeed(Gi(t,e),{phrase:t,path:"m",locale:r.locale})}static fromSeed(t){return Li._fromSeed(t,null)}static fromExtendedKey(t){const e=mi.decode(t);82===e.length&&Oi(e.slice(0,78))===t||xi.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const r=e[4],n=I(e.slice(5,9)),i=parseInt(I(e.slice(9,13)).substring(2),16),o=I(e.slice(13,45)),s=e.slice(45,78);switch(I(e.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new Li(Di,null,I(s),n,o,i,r,null);case"0x0488ade4":case"0x04358394 ":if(0!==s[0])break;return new Li(Di,I(s.slice(1)),null,n,o,i,r,null)}return xi.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function Gi(t,e){e||(e="");const r=Ht("mnemonic"+e,Gt.NFKD);return Ei(Ht(t,Gt.NFKD),r,2048,64,"sha512")}function ji(t,e){e=Fi(e),xi.checkNormalize();const r=e.split(t);if(r.length%3!=0)throw new Error("invalid mnemonic");const n=S(new Uint8Array(Math.ceil(11*r.length/8)));let i=0;for(let a=0;a>3]|=1<<7-i%8),i++}const o=32*r.length/3,s=Ri(r.length/3);if((S(wi(n.slice(0,o/8)))[0]&s)!==(n[n.length-1]&s))throw new Error("invalid checksum");return I(n.slice(0,o/8))}function zi(t,e){if(e=Fi(e),(t=S(t)).length%4!=0||t.length<16||t.length>32)throw new Error("invalid entropy");const r=[0];let n=11;for(let s=0;s8?(r[r.length-1]<<=8,r[r.length-1]|=t[s],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=t[s]>>8-n,r.push(t[s]&(1<<8-n)-1),n+=3);const i=t.length/4,o=S(wi(t))[0]&Ri(i);return r[r.length-1]<<=i,r[r.length-1]|=o>>8-i,e.join(r.map((t=>e.getWord(t))))}function Ki(t,e){try{return ji(t,e),!0}catch(r){}return!1}function qi(t){return("number"!=typeof t||t<0||t>=Ti||t%1)&&xi.throwArgumentError("invalid account index","index",t),`m/44'/60'/${t}'/0/0`}const Hi=new v("random/5.7.0");const Ji=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw new Error("unable to locate global object")}();let Vi=Ji.crypto||Ji.msCrypto;function Wi(t){(t<=0||t>1024||t%1||t!=t)&&Hi.throwArgumentError("invalid length","length",t);const e=new Uint8Array(t);return Vi.getRandomValues(e),S(e)}Vi&&Vi.getRandomValues||(Hi.warn("WARNING: Missing strong random number source"),Vi={getRandomValues:function(t){return Hi.throwError("no secure random source avaialble",v.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});var Qi=r(78826),Yi=r.n(Qi),Xi=r(17635),Zi=r.n(Xi);function $i(t){return"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),S(t)}function to(t,e){for(t=String(t);t.lengthe)),et(this,"address",ln(this.publicKey)),this.address!==Bt(t.address)&&ko.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(t){const e=t.mnemonic;return e&&e.phrase}(t)){const e=t.mnemonic;et(this,"_mnemonic",(()=>({phrase:e.phrase,path:e.path||Ui,locale:e.locale||"en"})));const r=this.mnemonic;ln(Li.fromMnemonic(r.phrase,null,r.locale).derivePath(r.path).privateKey)!==this.address&&ko.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else et(this,"_mnemonic",(()=>null))}else{if($r.isSigningKey(t))"secp256k1"!==t.curve&&ko.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),et(this,"_signingKey",(()=>t));else{"string"==typeof t&&t.match(/^[0-9a-f]*$/i)&&64===t.length&&(t="0x"+t);const e=new $r(t);et(this,"_signingKey",(()=>e))}et(this,"_mnemonic",(()=>null)),et(this,"address",ln(this.publicKey))}var r;e&&!or.isProvider(e)&&ko.throwArgumentError("invalid provider","provider",e),et(this,"provider",e||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(t){return new _o(this,t)}signTransaction(t){return nt(t).then((e=>{null!=e.from&&(Bt(e.from)!==this.address&&ko.throwArgumentError("transaction from address mismatch","transaction.from",t.from),delete e.from);const r=this._signingKey().signDigest(wt(yn(e)));return yn(e,r)}))}signMessage(t){return Eo(this,void 0,void 0,(function*(){return L(this._signingKey().signDigest(Yn(t)))}))}_signTypedData(t,e,r){return Eo(this,void 0,void 0,(function*(){const n=yield di.resolveNames(t,e,r,(t=>(null==this.provider&&ko.throwError("cannot resolve ENS names without a provider",v.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:t}),this.provider.resolveName(t))));return L(this._signingKey().signDigest(di.hash(n.domain,e,n.value)))}))}encrypt(t,e,r){if("function"!=typeof e||r||(r=e,e={}),r&&"function"!=typeof r)throw new Error("invalid callback");return e||(e={}),function(t,e,r,n){try{if(Bt(t.address)!==ln(t.privateKey))throw new Error("address/privateKey mismatch");if(ao(t)){const e=t.mnemonic;if(Li.fromMnemonic(e.phrase,null,e.locale).derivePath(e.path||Ui).privateKey!=t.privateKey)throw new Error("mnemonic mismatch")}}catch(g){return Promise.reject(g)}"function"!=typeof r||n||(n=r,r={}),r||(r={});const i=S(t.privateKey),o=eo(e);let s=null,a=null,u=null;if(ao(t)){const e=t.mnemonic;s=S(ji(e.phrase,e.locale||"en")),a=e.path||Ui,u=e.locale||"en"}let l=r.client;l||(l="ethers.js");let c=null;c=r.salt?S(r.salt):Wi(32);let h=null;if(r.iv){if(h=S(r.iv),16!==h.length)throw new Error("invalid iv")}else h=Wi(16);let f=null;if(r.uuid){if(f=S(r.uuid),16!==f.length)throw new Error("invalid uuid")}else f=Wi(16);let d=1<<17,p=8,m=1;return r.scrypt&&(r.scrypt.N&&(d=r.scrypt.N),r.scrypt.r&&(p=r.scrypt.r),r.scrypt.p&&(m=r.scrypt.p)),Zi().scrypt(o,c,d,p,m,64,n).then((e=>{const r=(e=S(e)).slice(0,16),n=e.slice(16,32),o=e.slice(32,64),g=new(Yi().Counter)(h),y=S(new(Yi().ModeOfOperation.ctr)(r,g).encrypt(i)),v=wt(P([n,y])),w={address:t.address.substring(2).toLowerCase(),id:no(f),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:I(h).substring(2)},ciphertext:I(y).substring(2),kdf:"scrypt",kdfparams:{salt:I(c).substring(2),n:d,dklen:32,p:m,r:p},mac:v.substring(2)}};if(s){const t=Wi(16),e=new(Yi().Counter)(t),r=S(new(Yi().ModeOfOperation.ctr)(o,e).encrypt(s)),n=new Date,i=n.getUTCFullYear()+"-"+to(n.getUTCMonth()+1,2)+"-"+to(n.getUTCDate(),2)+"T"+to(n.getUTCHours(),2)+"-"+to(n.getUTCMinutes(),2)+"-"+to(n.getUTCSeconds(),2)+".0Z";w["x-ethers"]={client:l,gethFilename:"UTC--"+i+"--"+w.address,mnemonicCounter:I(t).substring(2),mnemonicCiphertext:I(r).substring(2),path:a,locale:u,version:"0.1"}}return JSON.stringify(w)}))}(this,t,e,r)}static createRandom(t){let e=Wi(16);t||(t={}),t.extraEntropy&&(e=S(R(wt(P([e,t.extraEntropy])),0,16)));const r=zi(e,t.locale);return _o.fromMnemonic(r,t.path,t.locale)}static fromEncryptedJson(t,e,r){return bo(t,e,r).then((t=>new _o(t)))}static fromEncryptedJsonSync(t,e){return new _o(Ao(t,e))}static fromMnemonic(t,e,r){return e||(e=Ui),new _o(Li.fromMnemonic(t,null,r).derivePath(e))}}function So(t,e){return cn(Yn(t),e)}function Po(t,e,r,n){return cn(di.hash(t,e,r),n)}const No="0x0000000000000000000000000000000000000000",Mo="0x0000000000000000000000000000000000000000000000000000000000000000",xo="\u039e",Co=new v("networks/5.7.1");function Io(t){const e=function(e,r){null==r&&(r={});const n=[];if(e.InfuraProvider&&"-"!==r.infura)try{n.push(new e.InfuraProvider(t,r.infura))}catch(i){}if(e.EtherscanProvider&&"-"!==r.etherscan)try{n.push(new e.EtherscanProvider(t,r.etherscan))}catch(i){}if(e.AlchemyProvider&&"-"!==r.alchemy)try{n.push(new e.AlchemyProvider(t,r.alchemy))}catch(i){}if(e.PocketProvider&&"-"!==r.pocket){const o=["goerli","ropsten","rinkeby","sepolia"];try{const i=new e.PocketProvider(t,r.pocket);i.network&&-1===o.indexOf(i.network.name)&&n.push(i)}catch(i){}}if(e.CloudflareProvider&&"-"!==r.cloudflare)try{n.push(new e.CloudflareProvider(t))}catch(i){}if(e.AnkrProvider&&"-"!==r.ankr)try{const i=["ropsten"],o=new e.AnkrProvider(t,r.ankr);o.network&&-1===i.indexOf(o.network.name)&&n.push(o)}catch(i){}if(0===n.length)return null;if(e.FallbackProvider){let i=1;return null!=r.quorum?i=r.quorum:"homestead"===t&&(i=2),new e.FallbackProvider(n,i)}return n[0]};return e.renetwork=function(t){return Io(t)},e}function To(t,e){const r=function(r,n){return r.JsonRpcProvider?new r.JsonRpcProvider(t,e):null};return r.renetwork=function(e){return To(t,e)},r}const Ro={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:Io("homestead")},Bo={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:Io("ropsten")},Oo={chainId:63,name:"classicMordor",_defaultProvider:To("https://www.ethercluster.com/mordor","classicMordor")},Fo={unspecified:{chainId:0,name:"unspecified"},homestead:Ro,mainnet:Ro,morden:{chainId:2,name:"morden"},ropsten:Bo,testnet:Bo,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:Io("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:Io("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:Io("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:Io("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:To("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:Oo,classicTestnet:Oo,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:To("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:Io("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:Io("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function Do(t){if(null==t)return null;if("number"==typeof t){for(const e in Fo){const r=Fo[e];if(r.chainId===t)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:t,name:"unknown"}}if("string"==typeof t){const e=Fo[t];return null==e?null:{name:e.name,chainId:e.chainId,ensAddress:e.ensAddress,_defaultProvider:e._defaultProvider||null}}const e=Fo[t.name];if(!e)return"number"!=typeof t.chainId&&Co.throwArgumentError("invalid network chainId","network",t),t;0!==t.chainId&&t.chainId!==e.chainId&&Co.throwArgumentError("network chainId mismatch","network",t);let r=t._defaultProvider||null;var n;return null==r&&e._defaultProvider&&(r=(n=e._defaultProvider)&&"function"==typeof n.renetwork?e._defaultProvider.renetwork(t):e._defaultProvider),{name:t.name,chainId:e.chainId,ensAddress:t.ensAddress||e.ensAddress||null,_defaultProvider:r}}function Uo(t){t=atob(t);const e=[];for(let r=0;r0&&Array.isArray(t)?i(t,e-1):r.push(t)}))};return i(t,e),r}function jo(t){return function(t){let e=0;return()=>t[e++]}(function(t){let e=0;function r(){return t[e++]<<8|t[e++]}let n=r(),i=1,o=[0,1];for(let b=1;b>--u&1}const h=Math.pow(2,31),f=h>>>1,d=f>>1,p=h-1;let m=0;for(let b=0;b<31;b++)m=m<<1|c();let g=[],y=0,v=h;for(;;){let t=Math.floor(((m-y+1)*i-1)/v),e=0,r=n;for(;r-e>1;){let n=e+r>>>1;t>>1|c(),s=s<<1^f,a=(a^f)<<1|f|1;y=s,v=1+a-s}let w=n-4;return g.map((e=>{switch(e-w){case 3:return w+65792+(t[a++]<<16|t[a++]<<8|t[a++]);case 2:return w+256+(t[a++]<<8|t[a++]);case 1:return w+t[a++];default:return e-1}}))}(t))}function zo(t){return 1&t?~t>>1:t>>1}function Ko(t,e){let r=Array(t);for(let n=0,i=-1;ne[t])):r}function Jo(t,e,r){let n=Array(t).fill(void 0).map((()=>[]));for(let i=0;in[e].push(t)));return n}function Vo(t,e){let r=1+e(),n=e(),i=function(t){let e=[];for(;;){let r=t();if(0==r)break;e.push(r)}return e}(e);return Go(Jo(i.length,1+t,e).map(((t,e)=>{const o=t[0],s=t.slice(1);return Array(i[e]).fill(void 0).map(((t,e)=>{let i=e*n;return[o+e*r,s.map((t=>t+i))]}))})))}function Wo(t,e){return Jo(1+e(),1+t,e).map((t=>[t[0],t.slice(1)]))}const Qo=jo(Uo("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA==")),Yo=new Set(Ho(Qo)),Xo=new Set(Ho(Qo)),Zo=function(t){let e=[];for(;;){let r=t();if(0==r)break;e.push(Vo(r,t))}for(;;){let r=t()-1;if(r<0)break;e.push(Wo(r,t))}return function(t){const e={};for(let r=0;rt-e));return function r(){let n=[];for(;;){let i=Ho(t,e);if(0==i.length)break;n.push({set:new Set(i),node:r()})}n.sort(((t,e)=>e.set.size-t.set.size));let i=t(),o=i%3;i=i/3|0;let s=!!(1&i);return i>>=1,{branches:n,valid:o,fe0f:s,save:1==i,check:2==i}}()}(Qo);function ts(t){return Yt(t)}function es(t){return t.filter((t=>65039!=t))}function rs(t){for(let r of t.split(".")){let t=ts(r);try{for(let e=t.lastIndexOf(95)-1;e>=0;e--)if(95!==t[e])throw new Error("underscore only allowed at start");if(t.length>=4&&t.every((t=>t<128))&&45===t[2]&&45===t[3])throw new Error("invalid label extension")}catch(e){throw new Error(`Invalid label "${r}": ${e.message}`)}}return t}function ns(t){return rs(function(t,e){let r=ts(t).reverse(),n=[];for(;r.length;){let t=is(r);if(t){n.push(...e(t));continue}let i=r.pop();if(Yo.has(i)){n.push(i);continue}if(Xo.has(i))continue;let o=Zo[i];if(!o)throw new Error(`Disallowed codepoint: 0x${i.toString(16).toUpperCase()}`);n.push(...o)}return rs((i=String.fromCodePoint(...n),i.normalize("NFC")));var i}(t,es))}function is(t,e){var r;let n,i,o=$o,s=[],a=t.length;for(e&&(e.length=0);a;){let u=t[--a];if(o=null===(r=o.branches.find((t=>t.set.has(u))))||void 0===r?void 0:r.node,!o)break;if(o.save)i=u;else if(o.check&&u===i)break;s.push(u),o.fe0f&&(s.push(65039),a>0&&65039==t[a-1]&&a--),o.valid&&(n=s.slice(),2==o.valid&&n.splice(1,1),e&&e.push(...t.slice(a).reverse()),t.length=a)}return n}const os=new v(Xn),ss=new Uint8Array(32);function as(t){if(0===t.length)throw new Error("invalid ENS name; empty component");return t}function us(t){const e=Ht(ns(t)),r=[];if(0===t.length)return r;let n=0;for(let i=0;i=e.length)throw new Error("invalid ENS name; empty component");return r.push(as(e.slice(n))),r}function ls(t){try{return 0!==us(t).length}catch(e){}return!1}function cs(t){"string"!=typeof t&&os.throwArgumentError("invalid ENS name; not a string","name",t);let e=ss;const r=us(t);for(;r.length;)e=wt(P([e,wt(r.pop())]));return I(e)}function hs(t){return I(P(us(t).map((t=>{if(t.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");const e=new Uint8Array(t.length+1);return e.set(t,1),e[0]=e.length-1,e}))))+"00"}ss.fill(0);var fs=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};function ds(t,e){return fs(this,void 0,void 0,(function*(){null==e&&(e={});const r={method:e.method||"GET",headers:e.headers||{},body:e.body||void 0};if(!0!==e.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),null!=e.fetchOptions){const t=e.fetchOptions;t.mode&&(r.mode=t.mode),t.cache&&(r.cache=t.cache),t.credentials&&(r.credentials=t.credentials),t.redirect&&(r.redirect=t.redirect),t.referrer&&(r.referrer=t.referrer)}const n=yield fetch(t,r),i=yield n.arrayBuffer(),o={};return n.headers.forEach?n.headers.forEach(((t,e)=>{o[e.toLowerCase()]=t})):n.headers.keys().forEach((t=>{o[t.toLowerCase()]=n.headers.get(t)})),{headers:o,statusCode:n.status,statusMessage:n.statusText,body:S(new Uint8Array(i))}}))}var ps=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ms=new v("web/5.7.1");function gs(t){return new Promise((e=>{setTimeout(e,t)}))}function ys(t,e){if(null==t)return null;if("string"==typeof t)return t;if(E(t)){if(e&&("text"===e.split("/")[0]||"application/json"===e.split(";")[0].trim()))try{return Qt(t)}catch(r){}return I(t)}return t}function vs(t,e,r){const n="object"==typeof t&&null!=t.throttleLimit?t.throttleLimit:12;ms.assertArgument(n>0&&n%1==0,"invalid connection throttle limit","connection.throttleLimit",n);const i="object"==typeof t?t.throttleCallback:null,o="object"==typeof t&&"number"==typeof t.throttleSlotInterval?t.throttleSlotInterval:100;ms.assertArgument(o>0&&o%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",o);const s="object"==typeof t&&!!t.errorPassThrough,a={};let u=null;const l={method:"GET"};let c=!1,h=12e4;if("string"==typeof t)u=t;else if("object"==typeof t){if(null!=t&&null!=t.url||ms.throwArgumentError("missing URL","connection.url",t),u=t.url,"number"==typeof t.timeout&&t.timeout>0&&(h=t.timeout),t.headers)for(const e in t.headers)a[e.toLowerCase()]={key:e,value:String(t.headers[e])},["if-none-match","if-modified-since"].indexOf(e.toLowerCase())>=0&&(c=!0);if(l.allowGzip=!!t.allowGzip,null!=t.user&&null!=t.password){"https:"!==u.substring(0,6)&&!0!==t.allowInsecureAuthentication&&ms.throwError("basic authentication requires a secure https url",v.errors.INVALID_ARGUMENT,{argument:"url",url:u,user:t.user,password:"[REDACTED]"});const e=t.user+":"+t.password;a.authorization={key:"Authorization",value:"Basic "+Lo(Ht(e))}}null!=t.skipFetchSetup&&(l.skipFetchSetup=!!t.skipFetchSetup),null!=t.fetchOptions&&(l.fetchOptions=ot(t.fetchOptions))}const f=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),d=u?u.match(f):null;if(d)try{const t={statusCode:200,statusMessage:"OK",headers:{"content-type":d[1]||"text/plain"},body:d[2]?Uo(d[3]):(p=d[3],Ht(p.replace(/%([0-9a-f][0-9a-f])/gi,((t,e)=>String.fromCharCode(parseInt(e,16))))))};let e=t.body;return r&&(e=r(t.body,t)),Promise.resolve(e)}catch(w){ms.throwError("processing response error",v.errors.SERVER_ERROR,{body:ys(d[1],d[2]),error:w,requestBody:null,requestMethod:"GET",url:u})}var p;e&&(l.method="POST",l.body=e,null==a["content-type"]&&(a["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==a["content-length"]&&(a["content-length"]={key:"Content-Length",value:String(e.length)}));const m={};Object.keys(a).forEach((t=>{const e=a[t];m[e.key]=e.value})),l.headers=m;const g=function(){let t=null;return{promise:new Promise((function(e,r){h&&(t=setTimeout((()=>{null!=t&&(t=null,r(ms.makeError("timeout",v.errors.TIMEOUT,{requestBody:ys(l.body,m["content-type"]),requestMethod:l.method,timeout:h,url:u})))}),h))})),cancel:function(){null!=t&&(clearTimeout(t),t=null)}}}(),y=function(){return ps(this,void 0,void 0,(function*(){for(let t=0;t=300)&&(g.cancel(),ms.throwError("bad response",v.errors.SERVER_ERROR,{status:e.statusCode,headers:e.headers,body:ys(a,e.headers?e.headers["content-type"]:null),requestBody:ys(l.body,m["content-type"]),requestMethod:l.method,url:u})),r)try{const t=yield r(a,e);return g.cancel(),t}catch(w){if(w.throttleRetry&&t"content-type"===t.toLowerCase())).length||(r.headers=ot(r.headers),r.headers["content-type"]="application/json")}else r.headers={"content-type":"application/json"};t=r}return vs(t,n,((t,e)=>{let n=null;if(null!=t)try{n=JSON.parse(Qt(t))}catch(i){ms.throwError("invalid JSON",v.errors.SERVER_ERROR,{body:t,error:i})}return r&&(n=r(n,e)),n}))}function bs(t,e){return e||(e={}),null==(e=ot(e)).floor&&(e.floor=0),null==e.ceiling&&(e.ceiling=1e4),null==e.interval&&(e.interval=250),new Promise((function(r,n){let i=null,o=!1;const s=()=>!o&&(o=!0,i&&clearTimeout(i),!0);e.timeout&&(i=setTimeout((()=>{s()&&n(new Error("timeout"))}),e.timeout));const a=e.retryLimit;let u=0;!function i(){return t().then((function(t){if(void 0!==t)s()&&r(t);else if(e.oncePoll)e.oncePoll.once("poll",i);else if(e.onceBlock)e.onceBlock.once("block",i);else if(!o){if(u++,u>a)return void(s()&&n(new Error("retry limit reached")));let t=e.interval*parseInt(String(Math.random()*Math.pow(2,u)));te.ceiling&&(t=e.ceiling),setTimeout(i,t)}return null}),(function(t){s()&&n(t)}))}()}))}var As=r(92882),Es=r.n(As);const ks="providers/5.7.1",_s=new v(ks);class Ss{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){const t={},e=this.address.bind(this),r=this.bigNumber.bind(this),n=this.blockTag.bind(this),i=this.data.bind(this),o=this.hash.bind(this),s=this.hex.bind(this),a=this.number.bind(this),u=this.type.bind(this);return t.transaction={hash:o,type:u,accessList:Ss.allowNull(this.accessList.bind(this),null),blockHash:Ss.allowNull(o,null),blockNumber:Ss.allowNull(a,null),transactionIndex:Ss.allowNull(a,null),confirmations:Ss.allowNull(a,null),from:e,gasPrice:Ss.allowNull(r),maxPriorityFeePerGas:Ss.allowNull(r),maxFeePerGas:Ss.allowNull(r),gasLimit:r,to:Ss.allowNull(e,null),value:r,nonce:a,data:i,r:Ss.allowNull(this.uint256),s:Ss.allowNull(this.uint256),v:Ss.allowNull(a),creates:Ss.allowNull(e,null),raw:Ss.allowNull(i)},t.transactionRequest={from:Ss.allowNull(e),nonce:Ss.allowNull(a),gasLimit:Ss.allowNull(r),gasPrice:Ss.allowNull(r),maxPriorityFeePerGas:Ss.allowNull(r),maxFeePerGas:Ss.allowNull(r),to:Ss.allowNull(e),value:Ss.allowNull(r),data:Ss.allowNull((t=>this.data(t,!0))),type:Ss.allowNull(a),accessList:Ss.allowNull(this.accessList.bind(this),null)},t.receiptLog={transactionIndex:a,blockNumber:a,transactionHash:o,address:e,topics:Ss.arrayOf(o),data:i,logIndex:a,blockHash:o},t.receipt={to:Ss.allowNull(this.address,null),from:Ss.allowNull(this.address,null),contractAddress:Ss.allowNull(e,null),transactionIndex:a,root:Ss.allowNull(s),gasUsed:r,logsBloom:Ss.allowNull(i),blockHash:o,transactionHash:o,logs:Ss.arrayOf(this.receiptLog.bind(this)),blockNumber:a,confirmations:Ss.allowNull(a,null),cumulativeGasUsed:r,effectiveGasPrice:Ss.allowNull(r),status:Ss.allowNull(a),type:u},t.block={hash:Ss.allowNull(o),parentHash:o,number:a,timestamp:a,nonce:Ss.allowNull(s),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:Ss.allowNull(e),extraData:i,transactions:Ss.allowNull(Ss.arrayOf(o)),baseFeePerGas:Ss.allowNull(r)},t.blockWithTransactions=ot(t.block),t.blockWithTransactions.transactions=Ss.allowNull(Ss.arrayOf(this.transactionResponse.bind(this))),t.filter={fromBlock:Ss.allowNull(n,void 0),toBlock:Ss.allowNull(n,void 0),blockHash:Ss.allowNull(o,void 0),address:Ss.allowNull(e,void 0),topics:Ss.allowNull(this.topics.bind(this),void 0)},t.filterLog={blockNumber:Ss.allowNull(a),blockHash:Ss.allowNull(o),transactionIndex:a,removed:Ss.allowNull(this.boolean.bind(this)),address:e,data:Ss.allowFalsish(i,"0x"),topics:Ss.arrayOf(o),transactionHash:o,logIndex:a},t}accessList(t){return dn(t||[])}number(t){return"0x"===t?0:W.from(t).toNumber()}type(t){return"0x"===t||null==t?0:W.from(t).toNumber()}bigNumber(t){return W.from(t)}boolean(t){if("boolean"==typeof t)return t;if("string"==typeof t){if("true"===(t=t.toLowerCase()))return!0;if("false"===t)return!1}throw new Error("invalid boolean - "+t)}hex(t,e){return"string"==typeof t&&(e||"0x"===t.substring(0,2)||(t="0x"+t),x(t))?t.toLowerCase():_s.throwArgumentError("invalid hash","value",t)}data(t,e){const r=this.hex(t,e);if(r.length%2!=0)throw new Error("invalid data; odd-length - "+t);return r}address(t){return Bt(t)}callAddress(t){if(!x(t,32))return null;const e=Bt(R(t,12));return e===No?null:e}contractAddress(t){return Dt(t)}blockTag(t){if(null==t)return"latest";if("earliest"===t)return"0x0";switch(t){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return t}if("number"==typeof t||x(t))return O(t);throw new Error("invalid blockTag")}hash(t,e){const r=this.hex(t,e);return 32!==T(r)?_s.throwArgumentError("invalid hash","value",t):r}difficulty(t){if(null==t)return null;const e=W.from(t);try{return e.toNumber()}catch(r){}return null}uint256(t){if(!x(t))throw new Error("invalid uint256");return D(t,32)}_block(t,e){null!=t.author&&null==t.miner&&(t.miner=t.author);const r=null!=t._difficulty?t._difficulty:t.difficulty,n=Ss.check(e,t);return n._difficulty=null==r?null:W.from(r),n}block(t){return this._block(t,this.formats.block)}blockWithTransactions(t){return this._block(t,this.formats.blockWithTransactions)}transactionRequest(t){return Ss.check(this.formats.transactionRequest,t)}transactionResponse(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&W.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);const e=Ss.check(this.formats.transaction,t);if(null!=t.chainId){let r=t.chainId;x(r)&&(r=W.from(r).toNumber()),e.chainId=r}else{let r=t.networkId;null==r&&null==e.v&&(r=t.chainId),x(r)&&(r=W.from(r).toNumber()),"number"!=typeof r&&null!=e.v&&(r=(e.v-35)/2,r<0&&(r=0),r=parseInt(r)),"number"!=typeof r&&(r=0),e.chainId=r}return e.blockHash&&"x"===e.blockHash.replace(/0/g,"")&&(e.blockHash=null),e}transaction(t){return wn(t)}receiptLog(t){return Ss.check(this.formats.receiptLog,t)}receipt(t){const e=Ss.check(this.formats.receipt,t);if(null!=e.root)if(e.root.length<=4){const t=W.from(e.root).toNumber();0===t||1===t?(null!=e.status&&e.status!==t&&_s.throwArgumentError("alt-root-status/status mismatch","value",{root:e.root,status:e.status}),e.status=t,delete e.root):_s.throwArgumentError("invalid alt-root-status","value.root",e.root)}else 66!==e.root.length&&_s.throwArgumentError("invalid root hash","value.root",e.root);return null!=e.status&&(e.byzantium=!0),e}topics(t){return Array.isArray(t)?t.map((t=>this.topics(t))):null!=t?this.hash(t,!0):null}filter(t){return Ss.check(this.formats.filter,t)}filterLog(t){return Ss.check(this.formats.filterLog,t)}static check(t,e){const r={};for(const i in t)try{const n=t[i](e[i]);void 0!==n&&(r[i]=n)}catch(n){throw n.checkKey=i,n.checkValue=e[i],n}return r}static allowNull(t,e){return function(r){return null==r?e:t(r)}}static allowFalsish(t,e){return function(r){return r?t(r):e}}static arrayOf(t){return function(e){if(!Array.isArray(e))throw new Error("not an array");const r=[];return e.forEach((function(e){r.push(t(e))})),r}}}function Ps(t){return t&&"function"==typeof t.isCommunityResource}function Ns(t){return Ps(t)&&t.isCommunityResource()}let Ms=!1;function xs(){Ms||(Ms=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}var Cs=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Is=new v(ks);function Ts(t){return null==t?"null":(32!==T(t)&&Is.throwArgumentError("invalid topic","topic",t),t.toLowerCase())}function Rs(t){for(t=t.slice();t.length>0&&null==t[t.length-1];)t.pop();return t.map((t=>{if(Array.isArray(t)){const e={};t.forEach((t=>{e[Ts(t)]=!0}));const r=Object.keys(e);return r.sort(),r.join("|")}return Ts(t)})).join("&")}function Bs(t){if("string"==typeof t){if(32===T(t=t.toLowerCase()))return"tx:"+t;if(-1===t.indexOf(":"))return t}else{if(Array.isArray(t))return"filter:*:"+Rs(t);if(ir.isForkEvent(t))throw Is.warn("not implemented"),new Error("not implemented");if(t&&"object"==typeof t)return"filter:"+(t.address||"*")+":"+Rs(t.topics||[])}throw new Error("invalid event - "+t)}function Os(){return(new Date).getTime()}function Fs(t){return new Promise((e=>{setTimeout(e,t)}))}const Ds=["block","network","pending","poll"];class Us{constructor(t,e,r){et(this,"tag",t),et(this,"listener",e),et(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const t=this.tag.split(":");return"tx"!==t[0]?null:t[1]}get filter(){const t=this.tag.split(":");if("filter"!==t[0])return null;const e=t[1],r=""===(n=t[2])?[]:n.split(/&/g).map((t=>{if(""===t)return[];const e=t.split("|").map((t=>"null"===t?null:t));return 1===e.length?e[0]:e}));var n;const i={};return r.length>0&&(i.topics=r),e&&"*"!==e&&(i.address=e),i}pollable(){return this.tag.indexOf(":")>=0||Ds.indexOf(this.tag)>=0}}const Ls={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function Gs(t){return D(W.from(t).toHexString(),32)}function js(t){return mi.encode(P([t,R(wi(wi(t)),0,4)]))}const zs=new RegExp("^(ipfs)://(.*)$","i"),Ks=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),zs,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function qs(t,e){try{return Qt(Hs(t,e))}catch(r){}return null}function Hs(t,e){if("0x"===t)return null;const r=W.from(R(t,e,e+32)).toNumber(),n=W.from(R(t,r,r+32)).toNumber();return R(t,r+32,r+32+n)}function Js(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Is.throwArgumentError("unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}function Vs(t){const e=S(t);if(e.length>32)throw new Error("internal; should not happen");const r=new Uint8Array(32);return r.set(e,32-e.length),r}function Ws(t){if(t.length%32==0)return t;const e=new Uint8Array(32*Math.ceil(t.length/32));return e.set(t),e}function Qs(t){const e=[];let r=0;for(let n=0;nW.from(t).eq(1))).catch((t=>{if(t.code===v.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,t}))),this._supportsEip2544}_fetch(t,e){return Cs(this,void 0,void 0,(function*(){const r={to:this.address,ccipReadEnabled:!0,data:B([t,cs(this.name),e||"0x"])};let n=!1;(yield this.supportsWildcard())&&(n=!0,r.data=B(["0x9061b923",Qs([hs(this.name),r.data])]));try{let t=yield this.provider.call(r);return S(t).length%32==4&&Is.throwError("resolver threw error",v.errors.CALL_EXCEPTION,{transaction:r,data:t}),n&&(t=Hs(t,0)),t}catch(i){if(i.code===v.errors.CALL_EXCEPTION)return null;throw i}}))}_fetchBytes(t,e){return Cs(this,void 0,void 0,(function*(){const r=yield this._fetch(t,e);return null!=r?Hs(r,0):null}))}_getAddress(t,e){const r=Ls[String(t)];if(null==r&&Is.throwError(`unsupported coin type: ${t}`,v.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`}),"eth"===r.ilk)return this.provider.formatter.address(e);const n=S(e);if(null!=r.p2pkh){const t=e.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return js(P([[r.p2pkh],"0x"+t[2]]))}}if(null!=r.p2sh){const t=e.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return js(P([[r.p2sh],"0x"+t[2]]))}}if(null!=r.prefix){const t=n[1];let e=n[0];if(0===e?20!==t&&32!==t&&(e=-1):e=-1,e>=0&&n.length===2+t&&t>=1&&t<=75){const t=Es().toWords(n.slice(2));return t.unshift(e),Es().encode(r.prefix,t)}}return null}getAddress(t){return Cs(this,void 0,void 0,(function*(){if(null==t&&(t=60),60===t)try{const t=yield this._fetch("0x3b3b57de");return"0x"===t||t===Mo?null:this.provider.formatter.callAddress(t)}catch(n){if(n.code===v.errors.CALL_EXCEPTION)return null;throw n}const e=yield this._fetchBytes("0xf1cb7e06",Gs(t));if(null==e||"0x"===e)return null;const r=this._getAddress(t,e);return null==r&&Is.throwError("invalid or unsupported coin data",v.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`,coinType:t,data:e}),r}))}getAvatar(){return Cs(this,void 0,void 0,(function*(){const t=[{type:"name",content:this.name}];try{const e=yield this.getText("avatar");if(null==e)return null;for(let r=0;rt[e]))}return Is.throwError("invalid or unsupported content hash data",v.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:t})}))}getText(t){return Cs(this,void 0,void 0,(function*(){let e=Ht(t);e=P([Gs(64),Gs(e.length),e]),e.length%32!=0&&(e=P([e,D("0x",32-t.length%32)]));const r=yield this._fetchBytes("0x59d1d43c",I(e));return null==r||"0x"===r?null:Qt(r)}))}}let Xs=null,Zs=1;class $s extends or{constructor(t){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),et(this,"anyNetwork","any"===t),this.anyNetwork&&(t=this.detectNetwork()),t instanceof Promise)this._networkPromise=t,t.catch((t=>{})),this._ready().catch((t=>{}));else{const e=rt(new.target,"getNetwork")(t);e?(et(this,"_network",e),this.emit("network",e,null)):Is.throwArgumentError("invalid network","network",t)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return Cs(this,void 0,void 0,(function*(){if(null==this._network){let e=null;if(this._networkPromise)try{e=yield this._networkPromise}catch(t){}null==e&&(e=yield this.detectNetwork()),e||Is.throwError("no network detected",v.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=e:et(this,"_network",e),this.emit("network",e,null))}return this._network}))}get ready(){return bs((()=>this._ready().then((t=>t),(t=>{if(t.code!==v.errors.NETWORK_ERROR||"noNetwork"!==t.event)throw t}))))}static getFormatter(){return null==Xs&&(Xs=new Ss),Xs}static getNetwork(t){return Do(null==t?"homestead":t)}ccipReadFetch(t,e,r){return Cs(this,void 0,void 0,(function*(){if(this.disableCcipRead||0===r.length)return null;const n=t.to.toLowerCase(),i=e.toLowerCase(),o=[];for(let t=0;t=0?null:JSON.stringify({data:i,sender:n}),u=yield ws({url:s,errorPassThrough:!0},a,((t,e)=>(t.status=e.statusCode,t)));if(u.data)return u.data;const l=u.message||"unknown error";if(u.status>=400&&u.status<500)return Is.throwError(`response not found during CCIP fetch: ${l}`,v.errors.SERVER_ERROR,{url:e,errorMessage:l});o.push(l)}return Is.throwError(`error encountered during CCIP fetch: ${o.map((t=>JSON.stringify(t))).join(", ")}`,v.errors.SERVER_ERROR,{urls:r,errorMessages:o})}))}_getInternalBlockNumber(t){return Cs(this,void 0,void 0,(function*(){if(yield this._ready(),t>0)for(;this._internalBlockNumber;){const e=this._internalBlockNumber;try{const r=yield e;if(Os()-r.respTime<=t)return r.blockNumber;break}catch(n){if(this._internalBlockNumber===e)break}}const e=Os(),r=nt({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((t=>null),(t=>t))}).then((({blockNumber:t,networkError:n})=>{if(n)throw this._internalBlockNumber===r&&(this._internalBlockNumber=null),n;const i=Os();return(t=W.from(t).toNumber()){this._internalBlockNumber===r&&(this._internalBlockNumber=null)})),(yield r).blockNumber}))}poll(){return Cs(this,void 0,void 0,(function*(){const t=Zs++,e=[];let r=null;try{r=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(n){return void this.emit("error",n)}if(this._setFastBlockNumber(r),this.emit("poll",t,r),r!==this._lastBlockNumber){if(-2===this._emitted.block&&(this._emitted.block=r-1),Math.abs(this._emitted.block-r)>1e3)Is.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${r})`),this.emit("error",Is.makeError("network block skew detected",v.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(let t=this._emitted.block+1;t<=r;t++)this.emit("block",t);this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((t=>{if("block"===t)return;const e=this._emitted[t];"pending"!==e&&r-e>12&&delete this._emitted[t]}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((t=>{switch(t.type){case"tx":{const r=t.hash;let n=this.getTransactionReceipt(r).then((t=>t&&null!=t.blockNumber?(this._emitted["t:"+r]=t.blockNumber,this.emit(r,t),null):null)).catch((t=>{this.emit("error",t)}));e.push(n);break}case"filter":if(!t._inflight){t._inflight=!0,-2===t._lastBlockNumber&&(t._lastBlockNumber=r-1);const n=t.filter;n.fromBlock=t._lastBlockNumber+1,n.toBlock=r;const i=n.toBlock-this._maxFilterBlockRange;i>n.fromBlock&&(n.fromBlock=i),n.fromBlock<0&&(n.fromBlock=0);const o=this.getLogs(n).then((e=>{t._inflight=!1,0!==e.length&&e.forEach((e=>{e.blockNumber>t._lastBlockNumber&&(t._lastBlockNumber=e.blockNumber),this._emitted["b:"+e.blockHash]=e.blockNumber,this._emitted["t:"+e.transactionHash]=e.blockNumber,this.emit(n,e)}))})).catch((e=>{this.emit("error",e),t._inflight=!1}));e.push(o)}}})),this._lastBlockNumber=r,Promise.all(e).then((()=>{this.emit("didPoll",t)})).catch((t=>{this.emit("error",t)}))}else this.emit("didPoll",t)}))}resetEventsBlock(t){this._lastBlockNumber=t-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return Cs(this,void 0,void 0,(function*(){return Is.throwError("provider does not support network detection",v.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})}))}getNetwork(){return Cs(this,void 0,void 0,(function*(){const t=yield this._ready(),e=yield this.detectNetwork();if(t.chainId!==e.chainId){if(this.anyNetwork)return this._network=e,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",e,t),yield Fs(0),this._network;const r=Is.makeError("underlying network changed",v.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:e});throw this.emit("error",r),r}return t}))}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then((t=>{this._setFastBlockNumber(t)}),(t=>{})),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(t){t&&!this._poller?(this._poller=setInterval((()=>{this.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((()=>{this.poll(),this._bootstrapPoll=setTimeout((()=>{this._poller||this.poll(),this._bootstrapPoll=null}),this.pollingInterval)}),0))):!t&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(t){if("number"!=typeof t||t<=0||parseInt(String(t))!=t)throw new Error("invalid polling interval");this._pollingInterval=t,this._poller&&(clearInterval(this._poller),this._poller=setInterval((()=>{this.poll()}),this._pollingInterval))}_getFastBlockNumber(){const t=Os();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((t=>((null==this._fastBlockNumber||t>this._fastBlockNumber)&&(this._fastBlockNumber=t),this._fastBlockNumber)))),this._fastBlockNumberPromise}_setFastBlockNumber(t){null!=this._fastBlockNumber&&tthis._fastBlockNumber)&&(this._fastBlockNumber=t,this._fastBlockNumberPromise=Promise.resolve(t)))}waitForTransaction(t,e,r){return Cs(this,void 0,void 0,(function*(){return this._waitForTransaction(t,null==e?1:e,r||0,null)}))}_waitForTransaction(t,e,r,n){return Cs(this,void 0,void 0,(function*(){const i=yield this.getTransactionReceipt(t);return(i?i.confirmations:0)>=e?i:new Promise(((i,o)=>{const s=[];let a=!1;const u=function(){return!!a||(a=!0,s.forEach((t=>{t()})),!1)},l=t=>{t.confirmations{this.removeListener(t,l)})),n){let r=n.startBlock,i=null;const l=s=>Cs(this,void 0,void 0,(function*(){a||(yield Fs(1e3),this.getTransactionCount(n.from).then((c=>Cs(this,void 0,void 0,(function*(){if(!a){if(c<=n.nonce)r=s;else{{const e=yield this.getTransaction(t);if(e&&null!=e.blockNumber)return}for(null==i&&(i=r-3,i{a||this.once("block",l)})))}));if(a)return;this.once("block",l),s.push((()=>{this.removeListener("block",l)}))}if("number"==typeof r&&r>0){const t=setTimeout((()=>{u()||o(Is.makeError("timeout exceeded",v.errors.TIMEOUT,{timeout:r}))}),r);t.unref&&t.unref(),s.push((()=>{clearTimeout(t)}))}}))}))}getBlockNumber(){return Cs(this,void 0,void 0,(function*(){return this._getInternalBlockNumber(0)}))}getGasPrice(){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork();const t=yield this.perform("getGasPrice",{});try{return W.from(t)}catch(e){return Is.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:e})}}))}getBalance(t,e){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getBalance",r);try{return W.from(n)}catch(i){return Is.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getBalance",params:r,result:n,error:i})}}))}getTransactionCount(t,e){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getTransactionCount",r);try{return W.from(n).toNumber()}catch(i){return Is.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:n,error:i})}}))}getCode(t,e){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getCode",r);try{return I(n)}catch(i){return Is.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getCode",params:r,result:n,error:i})}}))}getStorageAt(t,e,r){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(r),position:Promise.resolve(e).then((t=>O(t)))}),i=yield this.perform("getStorageAt",n);try{return I(i)}catch(o){return Is.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:i,error:o})}}))}_wrapTransaction(t,e,r){if(null!=e&&32!==T(e))throw new Error("invalid response - sendTransaction");const n=t;return null!=e&&t.hash!==e&&Is.throwError("Transaction hash mismatch from Provider.sendTransaction.",v.errors.UNKNOWN_ERROR,{expectedHash:t.hash,returnedHash:e}),n.wait=(e,n)=>Cs(this,void 0,void 0,(function*(){let i;null==e&&(e=1),null==n&&(n=0),0!==e&&null!=r&&(i={data:t.data,from:t.from,nonce:t.nonce,to:t.to,value:t.value,startBlock:r});const o=yield this._waitForTransaction(t.hash,e,n,i);return null==o&&0===e?null:(this._emitted["t:"+t.hash]=o.blockNumber,0===o.status&&Is.throwError("transaction failed",v.errors.CALL_EXCEPTION,{transactionHash:t.hash,transaction:t,receipt:o}),o)})),n}sendTransaction(t){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield Promise.resolve(t).then((t=>I(t))),r=this.formatter.transaction(t);null==r.confirmations&&(r.confirmations=0);const n=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const t=yield this.perform("sendTransaction",{signedTransaction:e});return this._wrapTransaction(r,t,n)}catch(i){throw i.transaction=r,i.transactionHash=r.hash,i}}))}_getTransactionRequest(t){return Cs(this,void 0,void 0,(function*(){const e=yield t,r={};return["from","to"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?this._getAddress(t):null)))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?W.from(t):null)))})),["type"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>null!=t?t:null)))})),e.accessList&&(r.accessList=this.formatter.accessList(e.accessList)),["data"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?I(t):null)))})),this.formatter.transactionRequest(yield nt(r))}))}_getFilter(t){return Cs(this,void 0,void 0,(function*(){t=yield t;const e={};return null!=t.address&&(e.address=this._getAddress(t.address)),["blockHash","topics"].forEach((r=>{null!=t[r]&&(e[r]=t[r])})),["fromBlock","toBlock"].forEach((r=>{null!=t[r]&&(e[r]=this._getBlockTag(t[r]))})),this.formatter.filter(yield nt(e))}))}_call(t,e,r){return Cs(this,void 0,void 0,(function*(){r>=10&&Is.throwError("CCIP read exceeded maximum redirections",v.errors.SERVER_ERROR,{redirects:r,transaction:t});const n=t.to,i=yield this.perform("call",{transaction:t,blockTag:e});if(r>=0&&"latest"===e&&null!=n&&"0x556f1830"===i.substring(0,10)&&T(i)%32==4)try{const o=R(i,4),s=R(o,0,32);W.from(s).eq(n)||Is.throwError("CCIP Read sender did not match",v.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:i});const a=[],u=W.from(R(o,32,64)).toNumber(),l=W.from(R(o,u,u+32)).toNumber(),c=R(o,u+32);for(let e=0;eCs(this,void 0,void 0,(function*(){const t=yield this.perform("getBlock",n);if(null==t)return null!=n.blockHash&&null==this._emitted["b:"+n.blockHash]||null!=n.blockTag&&r>this._emitted.block?null:void 0;if(e){let e=null;for(let n=0;nthis._wrapTransaction(t))),r}return this.formatter.block(t)}))),{oncePoll:this})}))}getBlock(t){return this._getBlock(t,!1)}getBlockWithTransactions(t){return this._getBlock(t,!0)}getTransaction(t){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return bs((()=>Cs(this,void 0,void 0,(function*(){const r=yield this.perform("getTransaction",e);if(null==r)return null==this._emitted["t:"+t]?null:void 0;const n=this.formatter.transactionResponse(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;t<=0&&(t=1),n.confirmations=t}return this._wrapTransaction(n)}))),{oncePoll:this})}))}getTransactionReceipt(t){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return bs((()=>Cs(this,void 0,void 0,(function*(){const r=yield this.perform("getTransactionReceipt",e);if(null==r)return null==this._emitted["t:"+t]?null:void 0;if(null==r.blockHash)return;const n=this.formatter.receipt(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;t<=0&&(t=1),n.confirmations=t}return n}))),{oncePoll:this})}))}getLogs(t){return Cs(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield nt({filter:this._getFilter(t)}),r=yield this.perform("getLogs",e);return r.forEach((t=>{null==t.removed&&(t.removed=!1)})),Ss.arrayOf(this.formatter.filterLog.bind(this.formatter))(r)}))}getEtherPrice(){return Cs(this,void 0,void 0,(function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})}))}_getBlockTag(t){return Cs(this,void 0,void 0,(function*(){if("number"==typeof(t=yield t)&&t<0){t%1&&Is.throwArgumentError("invalid BlockTag","blockTag",t);let e=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return e+=t,e<0&&(e=0),this.formatter.blockTag(e)}return this.formatter.blockTag(t)}))}getResolver(t){return Cs(this,void 0,void 0,(function*(){let e=t;for(;;){if(""===e||"."===e)return null;if("eth"!==t&&"eth"===e)return null;const r=yield this._getResolver(e,"getResolver");if(null!=r){const n=new Ys(this,r,t);return e===t||(yield n.supportsWildcard())?n:null}e=e.split(".").slice(1).join(".")}}))}_getResolver(t,e){return Cs(this,void 0,void 0,(function*(){null==e&&(e="ENS");const r=yield this.getNetwork();r.ensAddress||Is.throwError("network does not support ENS",v.errors.UNSUPPORTED_OPERATION,{operation:e,network:r.name});try{const e=yield this.call({to:r.ensAddress,data:"0x0178b8bf"+cs(t).substring(2)});return this.formatter.callAddress(e)}catch(n){}return null}))}resolveName(t){return Cs(this,void 0,void 0,(function*(){t=yield t;try{return Promise.resolve(this.formatter.address(t))}catch(r){if(x(t))throw r}"string"!=typeof t&&Is.throwArgumentError("invalid ENS name","name",t);const e=yield this.getResolver(t);return e?yield e.getAddress():null}))}lookupAddress(t){return Cs(this,void 0,void 0,(function*(){t=yield t;const e=(t=this.formatter.address(t)).substring(2).toLowerCase()+".addr.reverse",r=yield this._getResolver(e,"lookupAddress");if(null==r)return null;const n=qs(yield this.call({to:r,data:"0x691f3431"+cs(e).substring(2)}),0);return(yield this.resolveName(n))!=t?null:n}))}getAvatar(t){return Cs(this,void 0,void 0,(function*(){let e=null;if(x(t)){const r=this.formatter.address(t).substring(2).toLowerCase()+".addr.reverse",i=yield this._getResolver(r,"getAvatar");if(!i)return null;e=new Ys(this,i,r);try{const t=yield e.getAvatar();if(t)return t.url}catch(n){if(n.code!==v.errors.CALL_EXCEPTION)throw n}try{const t=qs(yield this.call({to:i,data:"0x691f3431"+cs(r).substring(2)}),0);e=yield this.getResolver(t)}catch(n){if(n.code!==v.errors.CALL_EXCEPTION)throw n;return null}}else if(e=yield this.getResolver(t),!e)return null;const r=yield e.getAvatar();return null==r?null:r.url}))}perform(t,e){return Is.throwError(t+" not implemented",v.errors.NOT_IMPLEMENTED,{operation:t})}_startEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_stopEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_addEventListener(t,e,r){const n=new Us(Bs(t),e,r);return this._events.push(n),this._startEvent(n),this}on(t,e){return this._addEventListener(t,e,!1)}once(t,e){return this._addEventListener(t,e,!0)}emit(t,...e){let r=!1,n=[],i=Bs(t);return this._events=this._events.filter((t=>t.tag!==i||(setTimeout((()=>{t.listener.apply(this,e)}),0),r=!0,!t.once||(n.push(t),!1)))),n.forEach((t=>{this._stopEvent(t)})),r}listenerCount(t){if(!t)return this._events.length;let e=Bs(t);return this._events.filter((t=>t.tag===e)).length}listeners(t){if(null==t)return this._events.map((t=>t.listener));let e=Bs(t);return this._events.filter((t=>t.tag===e)).map((t=>t.listener))}off(t,e){if(null==e)return this.removeAllListeners(t);const r=[];let n=!1,i=Bs(t);return this._events=this._events.filter((t=>t.tag!==i||t.listener!=e||(!!n||(n=!0,r.push(t),!1)))),r.forEach((t=>{this._stopEvent(t)})),this}removeAllListeners(t){let e=[];if(null==t)e=this._events,this._events=[];else{const r=Bs(t);this._events=this._events.filter((t=>t.tag!==r||(e.push(t),!1)))}return e.forEach((t=>{this._stopEvent(t)})),this}}var ta=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ea=new v(ks),ra=["call","estimateGas"];function na(t,e){if(null==t)return null;if("string"==typeof t.message&&t.message.match("reverted")){const r=x(t.data)?t.data:null;if(!e||r)return{message:t.message,data:r}}if("object"==typeof t){for(const r in t){const n=na(t[r],e);if(n)return n}return null}if("string"==typeof t)try{return na(JSON.parse(t),e)}catch(r){}return null}function ia(t,e,r){const n=r.transaction||r.signedTransaction;if("call"===t){const t=na(e,!0);if(t)return t.data;ea.throwError("missing revert data in call exception; Transaction reverted without a reason string",v.errors.CALL_EXCEPTION,{data:"0x",transaction:n,error:e})}if("estimateGas"===t){let r=na(e.body,!1);null==r&&(r=na(e,!1)),r&&ea.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{reason:r.message,method:t,transaction:n,error:e})}let i=e.message;throw e.code===v.errors.SERVER_ERROR&&e.error&&"string"==typeof e.error.message?i=e.error.message:"string"==typeof e.body?i=e.body:"string"==typeof e.responseText&&(i=e.responseText),i=(i||"").toLowerCase(),i.match(/insufficient funds|base fee exceeds gas limit/i)&&ea.throwError("insufficient funds for intrinsic transaction cost",v.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:n}),i.match(/nonce (is )?too low/i)&&ea.throwError("nonce has already been used",v.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),i.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&ea.throwError("replacement fee too low",v.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),i.match(/only replay-protected/i)&&ea.throwError("legacy pre-eip-155 transactions not supported",v.errors.UNSUPPORTED_OPERATION,{error:e,method:t,transaction:n}),ra.indexOf(t)>=0&&i.match(/gas required exceeds allowance|always failing transaction|execution reverted/)&&ea.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}function oa(t){return new Promise((function(e){setTimeout(e,t)}))}function sa(t){if(t.error){const e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function aa(t){return t?t.toLowerCase():t}const ua={};class la extends cr{constructor(t,e,r){if(super(),t!==ua)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");et(this,"provider",e),null==r&&(r=0),"string"==typeof r?(et(this,"_address",this.provider.formatter.address(r)),et(this,"_index",null)):"number"==typeof r?(et(this,"_index",r),et(this,"_address",null)):ea.throwArgumentError("invalid address or index","addressOrIndex",r)}connect(t){return ea.throwError("cannot alter JSON-RPC Signer connection",v.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new ca(ua,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((t=>(t.length<=this._index&&ea.throwError("unknown account #"+this._index,v.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(t[this._index]))))}sendUncheckedTransaction(t){t=ot(t);const e=this.getAddress().then((t=>(t&&(t=t.toLowerCase()),t)));if(null==t.gasLimit){const r=ot(t);r.from=e,t.gasLimit=this.provider.estimateGas(r)}return null!=t.to&&(t.to=Promise.resolve(t.to).then((t=>ta(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.provider.resolveName(t);return null==e&&ea.throwArgumentError("provided ENS name resolves to null","tx.to",t),e}))))),nt({tx:nt(t),sender:e}).then((({tx:e,sender:r})=>{null!=e.from?e.from.toLowerCase()!==r&&ea.throwArgumentError("from address mismatch","transaction",t):e.from=r;const n=this.provider.constructor.hexlifyTransaction(e,{from:!0});return this.provider.send("eth_sendTransaction",[n]).then((t=>t),(t=>("string"==typeof t.message&&t.message.match(/user denied/i)&&ea.throwError("user rejected transaction",v.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:e}),ia("sendTransaction",t,n))))}))}signTransaction(t){return ea.throwError("signing transactions is unsupported",v.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(t){return ta(this,void 0,void 0,(function*(){const e=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),r=yield this.sendUncheckedTransaction(t);try{return yield bs((()=>ta(this,void 0,void 0,(function*(){const t=yield this.provider.getTransaction(r);if(null!==t)return this.provider._wrapTransaction(t,r,e)}))),{oncePoll:this.provider})}catch(n){throw n.transactionHash=r,n}}))}signMessage(t){return ta(this,void 0,void 0,(function*(){const e="string"==typeof t?Ht(t):t,r=yield this.getAddress();try{return yield this.provider.send("personal_sign",[I(e),r.toLowerCase()])}catch(n){throw"string"==typeof n.message&&n.message.match(/user denied/i)&&ea.throwError("user rejected signing",v.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:t}),n}}))}_legacySignMessage(t){return ta(this,void 0,void 0,(function*(){const e="string"==typeof t?Ht(t):t,r=yield this.getAddress();try{return yield this.provider.send("eth_sign",[r.toLowerCase(),I(e)])}catch(n){throw"string"==typeof n.message&&n.message.match(/user denied/i)&&ea.throwError("user rejected signing",v.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:t}),n}}))}_signTypedData(t,e,r){return ta(this,void 0,void 0,(function*(){const n=yield di.resolveNames(t,e,r,(t=>this.provider.resolveName(t))),i=yield this.getAddress();try{return yield this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(di.getPayload(n.domain,e,n.value))])}catch(o){throw"string"==typeof o.message&&o.message.match(/user denied/i)&&ea.throwError("user rejected signing",v.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:n.domain,types:e,value:n.value}}),o}}))}unlock(t){return ta(this,void 0,void 0,(function*(){const e=this.provider,r=yield this.getAddress();return e.send("personal_unlockAccount",[r.toLowerCase(),t,null])}))}}class ca extends la{sendTransaction(t){return this.sendUncheckedTransaction(t).then((t=>({hash:t,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:e=>this.provider.waitForTransaction(t,e)})))}}const ha={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class fa extends $s{constructor(t,e){let r=e;null==r&&(r=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then((e=>{t(e)}),(t=>{e(t)}))}),0)}))),super(r),t||(t=rt(this.constructor,"defaultUrl")()),et(this,"connection","string"==typeof t?Object.freeze({url:t}):Object.freeze(ot(t))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((()=>{this._cache.detectNetwork=null}),0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return ta(this,void 0,void 0,(function*(){yield oa(0);let t=null;try{t=yield this.send("eth_chainId",[])}catch(e){try{t=yield this.send("net_version",[])}catch(e){}}if(null!=t){const r=rt(this.constructor,"getNetwork");try{return r(W.from(t).toNumber())}catch(e){return ea.throwError("could not detect network",v.errors.NETWORK_ERROR,{chainId:t,event:"invalidNetwork",serverError:e})}}return ea.throwError("could not detect network",v.errors.NETWORK_ERROR,{event:"noNetwork"})}))}getSigner(t){return new la(ua,this,t)}getUncheckedSigner(t){return this.getSigner(t).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then((t=>t.map((t=>this.formatter.address(t)))))}send(t,e){const r={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:lt(r),provider:this});const n=["eth_chainId","eth_blockNumber"].indexOf(t)>=0;if(n&&this._cache[t])return this._cache[t];const i=ws(this.connection,JSON.stringify(r),sa).then((t=>(this.emit("debug",{action:"response",request:r,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",error:t,request:r,provider:this}),t}));return n&&(this._cache[t]=i,setTimeout((()=>{this._cache[t]=null}),0)),i}prepareRequest(t,e){switch(t){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[aa(e.address),e.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[aa(e.address),e.blockTag]];case"getCode":return["eth_getCode",[aa(e.address),e.blockTag]];case"getStorageAt":return["eth_getStorageAt",[aa(e.address),D(e.position,32),e.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[e.signedTransaction]];case"getBlock":return e.blockTag?["eth_getBlockByNumber",[e.blockTag,!!e.includeTransactions]]:e.blockHash?["eth_getBlockByHash",[e.blockHash,!!e.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[e.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[e.transactionHash]];case"call":return["eth_call",[rt(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0}),e.blockTag]];case"estimateGas":return["eth_estimateGas",[rt(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0})]];case"getLogs":return e.filter&&null!=e.filter.address&&(e.filter.address=aa(e.filter.address)),["eth_getLogs",[e.filter]]}return null}perform(t,e){return ta(this,void 0,void 0,(function*(){if("call"===t||"estimateGas"===t){const t=e.transaction;if(t&&null!=t.type&&W.from(t.type).isZero()&&null==t.maxFeePerGas&&null==t.maxPriorityFeePerGas){const r=yield this.getFeeData();null==r.maxFeePerGas&&null==r.maxPriorityFeePerGas&&((e=ot(e)).transaction=ot(t),delete e.transaction.type)}}const r=this.prepareRequest(t,e);null==r&&ea.throwError(t+" not implemented",v.errors.NOT_IMPLEMENTED,{operation:t});try{return yield this.send(r[0],r[1])}catch(n){return ia(t,n,e)}}))}_startEvent(t){"pending"===t.tag&&this._startPending(),super._startEvent(t)}_startPending(){if(null!=this._pendingFilter)return;const t=this,e=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=e,e.then((function(r){return function n(){t.send("eth_getFilterChanges",[r]).then((function(r){if(t._pendingFilter!=e)return null;let n=Promise.resolve();return r.forEach((function(e){t._emitted["t:"+e.toLowerCase()]="pending",n=n.then((function(){return t.getTransaction(e).then((function(e){return t.emit("pending",e),null}))}))})),n.then((function(){return oa(1e3)}))})).then((function(){if(t._pendingFilter==e)return setTimeout((function(){n()}),0),null;t.send("eth_uninstallFilter",[r])})).catch((t=>{}))}(),r})).catch((t=>{}))}_stopEvent(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(t)}static hexlifyTransaction(t,e){const r=ot(ha);if(e)for(const i in e)e[i]&&(r[i]=!0);it(t,r);const n={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(e){if(null==t[e])return;const r=O(W.from(t[e]));"gasLimit"===e&&(e="gas"),n[e]=r})),["from","to","data"].forEach((function(e){null!=t[e]&&(n[e]=I(t[e]))})),t.accessList&&(n.accessList=dn(t.accessList)),n}}let da=null;try{if(da=WebSocket,null==da)throw new Error("inject please")}catch(Yu){const t=new v(ks);da=function(){t.throwError("WebSockets not supported in this environment",v.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var pa=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ma=new v(ks);let ga=1;class ya extends fa{constructor(t,e){"any"===e&&ma.throwError("WebSocketProvider does not support 'any' network yet",v.errors.UNSUPPORTED_OPERATION,{operation:"network:any"}),super("string"==typeof t?t:"_websocket",e),this._pollingInterval=-1,this._wsReady=!1,et(this,"_websocket","string"==typeof t?new da(this.connection.url):t),et(this,"_requests",{}),et(this,"_subs",{}),et(this,"_subIds",{}),et(this,"_detectNetwork",super.detectNetwork()),this.websocket.onopen=()=>{this._wsReady=!0,Object.keys(this._requests).forEach((t=>{this.websocket.send(this._requests[t].payload)}))},this.websocket.onmessage=t=>{const e=t.data,r=JSON.parse(e);if(null!=r.id){const t=String(r.id),n=this._requests[t];if(delete this._requests[t],void 0!==r.result)n.callback(null,r.result),this.emit("debug",{action:"response",request:JSON.parse(n.payload),response:r.result,provider:this});else{let t=null;r.error?(t=new Error(r.error.message||"unknown error"),et(t,"code",r.error.code||null),et(t,"response",e)):t=new Error("unknown error"),n.callback(t,void 0),this.emit("debug",{action:"response",error:t,request:JSON.parse(n.payload),provider:this})}}else if("eth_subscription"===r.method){const t=this._subs[r.params.subscription];t&&t.processFunc(r.params.result)}else console.warn("this should not happen")};const r=setInterval((()=>{this.emit("poll")}),1e3);r.unref&&r.unref()}get websocket(){return this._websocket}detectNetwork(){return this._detectNetwork}get pollingInterval(){return 0}resetEventsBlock(t){ma.throwError("cannot reset events block on WebSocketProvider",v.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})}set pollingInterval(t){ma.throwError("cannot set polling interval on WebSocketProvider",v.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})}poll(){return pa(this,void 0,void 0,(function*(){return null}))}set polling(t){t&&ma.throwError("cannot set polling on WebSocketProvider",v.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})}send(t,e){const r=ga++;return new Promise(((n,i)=>{const o=JSON.stringify({method:t,params:e,id:r,jsonrpc:"2.0"});this.emit("debug",{action:"request",request:JSON.parse(o),provider:this}),this._requests[String(r)]={callback:function(t,e){return t?i(t):n(e)},payload:o},this._wsReady&&this.websocket.send(o)}))}static defaultUrl(){return"ws://localhost:8546"}_subscribe(t,e,r){return pa(this,void 0,void 0,(function*(){let n=this._subIds[t];null==n&&(n=Promise.all(e).then((t=>this.send("eth_subscribe",t))),this._subIds[t]=n);const i=yield n;this._subs[i]={tag:t,processFunc:r}}))}_startEvent(t){switch(t.type){case"block":this._subscribe("block",["newHeads"],(t=>{const e=W.from(t.number).toNumber();this._emitted.block=e,this.emit("block",e)}));break;case"pending":this._subscribe("pending",["newPendingTransactions"],(t=>{this.emit("pending",t)}));break;case"filter":this._subscribe(t.tag,["logs",this._getFilter(t.filter)],(e=>{null==e.removed&&(e.removed=!1),this.emit(t.filter,this.formatter.filterLog(e))}));break;case"tx":{const e=t=>{const e=t.hash;this.getTransactionReceipt(e).then((t=>{t&&this.emit(e,t)}))};e(t),this._subscribe("tx",["newHeads"],(t=>{this._events.filter((t=>"tx"===t.type)).forEach(e)}));break}case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",t)}}_stopEvent(t){let e=t.tag;if("tx"===t.type){if(this._events.filter((t=>"tx"===t.type)).length)return;e="tx"}else if(this.listenerCount(t.event))return;const r=this._subIds[e];r&&(delete this._subIds[e],r.then((t=>{this._subs[t]&&(delete this._subs[t],this.send("eth_unsubscribe",[t]))})))}destroy(){return pa(this,void 0,void 0,(function*(){this.websocket.readyState===da.CONNECTING&&(yield new Promise((t=>{this.websocket.onopen=function(){t(!0)},this.websocket.onerror=function(){t(!1)}}))),this.websocket.close(1e3)}))}}var va=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const wa=new v(ks);class ba extends fa{detectNetwork(){const t=Object.create(null,{detectNetwork:{get:()=>super.detectNetwork}});return va(this,void 0,void 0,(function*(){let e=this.network;return null==e&&(e=yield t.detectNetwork.call(this),e||wa.throwError("no network detected",v.errors.UNKNOWN_ERROR,{}),null==this._network&&(et(this,"_network",e),this.emit("network",e,null))),e}))}}class Aa extends ba{constructor(t,e){wa.checkAbstract(new.target,Aa),t=rt(new.target,"getNetwork")(t),e=rt(new.target,"getApiKey")(e);super(rt(new.target,"getUrl")(t,e),t),"string"==typeof e?et(this,"apiKey",e):null!=e&&Object.keys(e).forEach((t=>{et(this,t,e[t])}))}_startPending(){wa.warn("WARNING: API provider does not support pending filters")}isCommunityResource(){return!1}getSigner(t){return wa.throwError("API provider does not support signing",v.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})}listAccounts(){return Promise.resolve([])}static getApiKey(t){return t}static getUrl(t,e){return wa.throwError("not implemented; sub-classes must override getUrl",v.errors.NOT_IMPLEMENTED,{operation:"getUrl"})}}const Ea=new v(ks),ka="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";class _a extends ya{constructor(t,e){const r=new Sa(t,e);super(r.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi."),r.network),et(this,"apiKey",r.apiKey)}isCommunityResource(){return this.apiKey===ka}}class Sa extends Aa{static getWebSocketProvider(t,e){return new _a(t,e)}static getApiKey(t){return null==t?ka:(t&&"string"!=typeof t&&Ea.throwArgumentError("invalid apiKey","apiKey",t),t)}static getUrl(t,e){let r=null;switch(t.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"ropsten":r="eth-ropsten.alchemyapi.io/v2/";break;case"rinkeby":r="eth-rinkeby.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.alchemyapi.io/v2/";break;case"kovan":r="eth-kovan.alchemyapi.io/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-rinkeby":r="arb-rinkeby.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-kovan":r="opt-kovan.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:Ea.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+e,throttleCallback:(t,r)=>(e===ka&&xs(),Promise.resolve(!0))}}isCommunityResource(){return this.apiKey===ka}}const Pa=new v(ks),Na="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function Ma(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return Pa.throwArgumentError("unsupported network","name",t)}class xa extends Aa{isCommunityResource(){return this.apiKey===Na}static getApiKey(t){return null==t?Na:t}static getUrl(t,e){null==e&&(e=Na);const r={allowGzip:!0,url:"https://"+Ma(t.name)+e,throttleCallback:(t,r)=>(e.apiKey===Na&&xs(),Promise.resolve(!0))};return null!=e.projectSecret&&(r.user="",r.password=e.projectSecret),r}}var Ca=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Ia=new v(ks);class Ta extends Aa{static getApiKey(t){return null!=t&&Ia.throwArgumentError("apiKey not supported for cloudflare","apiKey",t),null}static getUrl(t,e){let r=null;if("homestead"===t.name)r="https://cloudflare-eth.com/";else Ia.throwArgumentError("unsupported network","network",arguments[0]);return r}perform(t,e){const r=Object.create(null,{perform:{get:()=>super.perform}});return Ca(this,void 0,void 0,(function*(){if("getBlockNumber"===t){return(yield r.perform.call(this,"getBlock",{blockTag:"latest"})).number}return r.perform.call(this,t,e)}))}}var Ra=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Ba=new v(ks);function Oa(t){const e={};for(let r in t){if(null==t[r])continue;let n=t[r];"type"===r&&0===n||(n={type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0}[r]?O(I(n)):"accessList"===r?"["+dn(n).map((t=>`{address:"${t.address}",storageKeys:["${t.storageKeys.join('","')}"]}`)).join(",")+"]":I(n),e[r]=n)}return e}function Fa(t){if(0==t.status&&("No records found"===t.message||"No transactions found"===t.message))return t.result;if(1!=t.status||"string"!=typeof t.message||!t.message.match(/^OK/)){const e=new Error("invalid response");throw e.result=JSON.stringify(t),(t.result||"").toLowerCase().indexOf("rate limit")>=0&&(e.throttleRetry=!0),e}return t.result}function Da(t){if(t&&0==t.status&&"NOTOK"==t.message&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){const e=new Error("throttled response");throw e.result=JSON.stringify(t),e.throttleRetry=!0,e}if("2.0"!=t.jsonrpc){const e=new Error("invalid response");throw e.result=JSON.stringify(t),e}if(t.error){const e=new Error(t.error.message||"unknown error");throw t.error.code&&(e.code=t.error.code),t.error.data&&(e.data=t.error.data),e}return t.result}function Ua(t){if("pending"===t)throw new Error("pending not supported");return"latest"===t?t:parseInt(t.substring(2),16)}function La(t,e,r){if("call"===t&&e.code===v.errors.SERVER_ERROR){const t=e.error;if(t&&(t.message.match(/reverted/i)||t.message.match(/VM execution error/i))){let r=t.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),x(r))return r;Ba.throwError("missing revert data in call exception",v.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}let n=e.message;throw e.code===v.errors.SERVER_ERROR&&(e.error&&"string"==typeof e.error.message?n=e.error.message:"string"==typeof e.body?n=e.body:"string"==typeof e.responseText&&(n=e.responseText)),n=(n||"").toLowerCase(),n.match(/insufficient funds/)&&Ba.throwError("insufficient funds for intrinsic transaction cost",v.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:r}),n.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&Ba.throwError("nonce has already been used",v.errors.NONCE_EXPIRED,{error:e,method:t,transaction:r}),n.match(/another transaction with same nonce/)&&Ba.throwError("replacement fee too low",v.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:r}),n.match(/execution failed due to an exception|execution reverted/)&&Ba.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:r}),e}class Ga extends $s{constructor(t,e){super(t),et(this,"baseUrl",this.getBaseUrl()),et(this,"apiKey",e||null)}getBaseUrl(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"ropsten":return"https://api-ropsten.etherscan.io";case"rinkeby":return"https://api-rinkeby.etherscan.io";case"kovan":return"https://api-kovan.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-kovan":return"https://api-kovan-optimistic.etherscan.io"}return Ba.throwArgumentError("unsupported network","network",this.network.name)}getUrl(t,e){const r=Object.keys(e).reduce(((t,r)=>{const n=e[r];return null!=n&&(t+=`&${r}=${n}`),t}),""),n=this.apiKey?`&apikey=${this.apiKey}`:"";return`${this.baseUrl}/api?module=${t}${r}${n}`}getPostUrl(){return`${this.baseUrl}/api`}getPostData(t,e){return e.module=t,e.apikey=this.apiKey,e}fetch(t,e,r){return Ra(this,void 0,void 0,(function*(){const n=r?this.getPostUrl():this.getUrl(t,e),i=r?this.getPostData(t,e):null,o="proxy"===t?Da:Fa;this.emit("debug",{action:"request",request:n,provider:this});const s={url:n,throttleSlotInterval:1e3,throttleCallback:(t,e)=>(this.isCommunityResource()&&xs(),Promise.resolve(!0))};let a=null;i&&(s.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},a=Object.keys(i).map((t=>`${t}=${i[t]}`)).join("&"));const u=yield ws(s,a,o||Da);return this.emit("debug",{action:"response",request:n,response:lt(u),provider:this}),u}))}detectNetwork(){return Ra(this,void 0,void 0,(function*(){return this.network}))}perform(t,e){const r=Object.create(null,{perform:{get:()=>super.perform}});return Ra(this,void 0,void 0,(function*(){switch(t){case"getBlockNumber":return this.fetch("proxy",{action:"eth_blockNumber"});case"getGasPrice":return this.fetch("proxy",{action:"eth_gasPrice"});case"getBalance":return this.fetch("account",{action:"balance",address:e.address,tag:e.blockTag});case"getTransactionCount":return this.fetch("proxy",{action:"eth_getTransactionCount",address:e.address,tag:e.blockTag});case"getCode":return this.fetch("proxy",{action:"eth_getCode",address:e.address,tag:e.blockTag});case"getStorageAt":return this.fetch("proxy",{action:"eth_getStorageAt",address:e.address,position:e.position,tag:e.blockTag});case"sendTransaction":return this.fetch("proxy",{action:"eth_sendRawTransaction",hex:e.signedTransaction},!0).catch((t=>La("sendTransaction",t,e.signedTransaction)));case"getBlock":if(e.blockTag)return this.fetch("proxy",{action:"eth_getBlockByNumber",tag:e.blockTag,boolean:e.includeTransactions?"true":"false"});throw new Error("getBlock by blockHash not implemented");case"getTransaction":return this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:e.transactionHash});case"getTransactionReceipt":return this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:e.transactionHash});case"call":{if("latest"!==e.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");const t=Oa(e.transaction);t.module="proxy",t.action="eth_call";try{return yield this.fetch("proxy",t,!0)}catch(Yu){return La("call",Yu,e.transaction)}}case"estimateGas":{const t=Oa(e.transaction);t.module="proxy",t.action="eth_estimateGas";try{return yield this.fetch("proxy",t,!0)}catch(Yu){return La("estimateGas",Yu,e.transaction)}}case"getLogs":{const t={action:"getLogs"};if(e.filter.fromBlock&&(t.fromBlock=Ua(e.filter.fromBlock)),e.filter.toBlock&&(t.toBlock=Ua(e.filter.toBlock)),e.filter.address&&(t.address=e.filter.address),e.filter.topics&&e.filter.topics.length>0&&(e.filter.topics.length>1&&Ba.throwError("unsupported topic count",v.errors.UNSUPPORTED_OPERATION,{topics:e.filter.topics}),1===e.filter.topics.length)){const r=e.filter.topics[0];"string"==typeof r&&66===r.length||Ba.throwError("unsupported topic format",v.errors.UNSUPPORTED_OPERATION,{topic0:r}),t.topic0=r}const r=yield this.fetch("logs",t);let n={};for(let e=0;e{["contractAddress","to"].forEach((function(e){""==t[e]&&delete t[e]})),null==t.creates&&null!=t.contractAddress&&(t.creates=t.contractAddress);const e=this.formatter.transactionResponse(t);return t.timeStamp&&(e.timestamp=parseInt(t.timeStamp)),e}))}))}isCommunityResource(){return null==this.apiKey}}function ja(t){for(let e=(t=t.slice()).length-1;e>0;e--){const r=Math.floor(Math.random()*(e+1)),n=t[e];t[e]=t[r],t[r]=n}return t}var za=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Ka=new v(ks);function qa(){return(new Date).getTime()}function Ha(t){let e=null;for(let r=0;re?null:(n+i)/2}function Va(t){if(null===t)return"null";if("number"==typeof t||"boolean"==typeof t)return JSON.stringify(t);if("string"==typeof t)return t;if(W.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map((t=>Va(t))));if("object"==typeof t){const e=Object.keys(t);return e.sort(),"{"+e.map((e=>{let r=t[e];return r="function"==typeof r?"[function]":Va(r),JSON.stringify(e)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}let Wa=1;function Qa(t){let e=null,r=null,n=new Promise((n=>{e=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(e,t)}));return{cancel:e,getPromise:function(){return n},wait:t=>(n=n.then(t),n)}}const Ya=[v.errors.CALL_EXCEPTION,v.errors.INSUFFICIENT_FUNDS,v.errors.NONCE_EXPIRED,v.errors.REPLACEMENT_UNDERPRICED,v.errors.UNPREDICTABLE_GAS_LIMIT],Xa=["address","args","errorArgs","errorSignature","method","transaction"];function Za(t,e){const r={weight:t.weight};return Object.defineProperty(r,"provider",{get:()=>t.provider}),t.start&&(r.start=t.start),e&&(r.duration=e-t.start),t.done&&(t.error?r.error=t.error:r.result=t.result||null),r}function $a(t,e,r){let n=Va;switch(e){case"getBlockNumber":return function(e){const r=e.map((t=>t.result));let n=Ja(e.map((t=>t.result)),2);if(null!=n)return n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=t._highestBlockNumber&&(t._highestBlockNumber=n),t._highestBlockNumber};case"getGasPrice":return function(t){const e=t.map((t=>t.result));return e.sort(),e[Math.floor(e.length/2)]};case"getEtherPrice":return function(t){return Ja(t.map((t=>t.result)))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(t){return null==t?null:((t=ot(t)).confirmations=-1,Va(t))};break;case"getBlock":n=r.includeTransactions?function(t){return null==t?null:((t=ot(t)).transactions=t.transactions.map((t=>((t=ot(t)).confirmations=-1,t))),Va(t))}:function(t){return null==t?null:Va(t)};break;default:throw new Error("unknown method: "+e)}return function(t,e){return function(r){const n={};r.forEach((e=>{const r=t(e.result);n[r]||(n[r]={count:0,result:e.result}),n[r].count++}));const i=Object.keys(n);for(let t=0;t=e)return r.result}}}(n,t.quorum)}function tu(t,e){return za(this,void 0,void 0,(function*(){const r=t.provider;return null!=r.blockNumber&&r.blockNumber>=e||-1===e?r:bs((()=>new Promise(((n,i)=>{setTimeout((function(){return r.blockNumber>=e?n(r):t.cancelled?n(null):n(void 0)}),0)}))),{oncePoll:r})}))}function eu(t,e,r,n){return za(this,void 0,void 0,(function*(){let i=t.provider;switch(r){case"getBlockNumber":case"getGasPrice":return i[r]();case"getEtherPrice":if(i.getEtherPrice)return i.getEtherPrice();break;case"getBalance":case"getTransactionCount":case"getCode":return n.blockTag&&x(n.blockTag)&&(i=yield tu(t,e)),i[r](n.address,n.blockTag||"latest");case"getStorageAt":return n.blockTag&&x(n.blockTag)&&(i=yield tu(t,e)),i.getStorageAt(n.address,n.position,n.blockTag||"latest");case"getBlock":return n.blockTag&&x(n.blockTag)&&(i=yield tu(t,e)),i[n.includeTransactions?"getBlockWithTransactions":"getBlock"](n.blockTag||n.blockHash);case"call":case"estimateGas":return n.blockTag&&x(n.blockTag)&&(i=yield tu(t,e)),"call"===r&&n.blockTag?i[r](n.transaction,n.blockTag):i[r](n.transaction);case"getTransaction":case"getTransactionReceipt":return i[r](n.transactionHash);case"getLogs":{let r=n.filter;return(r.fromBlock&&x(r.fromBlock)||r.toBlock&&x(r.toBlock))&&(i=yield tu(t,e)),i.getLogs(r)}}return Ka.throwError("unknown method error",v.errors.UNKNOWN_ERROR,{method:r,params:n})}))}class ru extends $s{constructor(t,e){0===t.length&&Ka.throwArgumentError("missing providers","providers",t);const r=t.map(((t,e)=>{if(or.isProvider(t)){const e=Ns(t)?2e3:750,r=1;return Object.freeze({provider:t,weight:1,stallTimeout:e,priority:r})}const r=ot(t);null==r.priority&&(r.priority=1),null==r.stallTimeout&&(r.stallTimeout=Ns(t)?2e3:750),null==r.weight&&(r.weight=1);const n=r.weight;return(n%1||n>512||n<1)&&Ka.throwArgumentError("invalid weight; must be integer in [1, 512]",`providers[${e}].weight`,n),Object.freeze(r)})),n=r.reduce(((t,e)=>t+e.weight),0);null==e?e=n/2:e>n&&Ka.throwArgumentError("quorum will always fail; larger than total weight","quorum",e);let i=Ha(r.map((t=>t.provider.network)));null==i&&(i=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then(t,e)}),0)}))),super(i),et(this,"providerConfigs",Object.freeze(r)),et(this,"quorum",e),this._highestBlockNumber=-1}detectNetwork(){return za(this,void 0,void 0,(function*(){return Ha(yield Promise.all(this.providerConfigs.map((t=>t.provider.getNetwork()))))}))}perform(t,e){return za(this,void 0,void 0,(function*(){if("sendTransaction"===t){const t=yield Promise.all(this.providerConfigs.map((t=>t.provider.sendTransaction(e.signedTransaction).then((t=>t.hash),(t=>t)))));for(let e=0;et.priority-e.priority));const i=this._highestBlockNumber;let o=0,s=!0;for(;;){const a=qa();let u=n.filter((t=>t.runner&&a-t.startt+e.weight),0);for(;u{r.staller=null})),r.runner=eu(r,i,t,e).then((n=>{r.done=!0,r.result=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:Za(r,qa()),request:{method:t,params:lt(e)},provider:this})}),(n=>{r.done=!0,r.error=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:Za(r,qa()),request:{method:t,params:lt(e)},provider:this})})),this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:Za(r,null),request:{method:t,params:lt(e)},provider:this}),u+=r.weight}const l=[];n.forEach((t=>{!t.done&&t.runner&&(l.push(t.runner),t.staller&&l.push(t.staller.getPromise()))})),l.length&&(yield Promise.race(l));const c=n.filter((t=>t.done&&null==t.error));if(c.length>=this.quorum){const t=r(c);if(void 0!==t)return n.forEach((t=>{t.staller&&t.staller.cancel(),t.cancelled=!0})),t;s||(yield Qa(100).getPromise()),s=!1}const h=n.reduce(((t,e)=>{if(!e.done||null==e.error)return t;const r=e.error.code;return Ya.indexOf(r)>=0&&(t[r]||(t[r]={error:e.error,weight:0}),t[r].weight+=e.weight),t}),{});if(Object.keys(h).forEach((t=>{const e=h[t];if(e.weight{t.staller&&t.staller.cancel(),t.cancelled=!0}));const r=e.error,i={};Xa.forEach((t=>{null!=r[t]&&(i[t]=r[t])})),Ka.throwError(r.reason||r.message,t,i)})),0===n.filter((t=>!t.done)).length)break}return n.forEach((t=>{t.staller&&t.staller.cancel(),t.cancelled=!0})),Ka.throwError("failed to meet quorum",v.errors.SERVER_ERROR,{method:t,params:e,results:n.map((t=>Za(t))),provider:this})}))}}const nu=null,iu=new v(ks),ou="84842078b09946638c03157f83405213";class su extends ya{constructor(t,e){const r=new au(t,e),n=r.connection;n.password&&iu.throwError("INFURA WebSocket project secrets unsupported",v.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});super(n.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/"),t),et(this,"apiKey",r.projectId),et(this,"projectId",r.projectId),et(this,"projectSecret",r.projectSecret)}isCommunityResource(){return this.projectId===ou}}class au extends Aa{static getWebSocketProvider(t,e){return new su(t,e)}static getApiKey(t){const e={apiKey:ou,projectId:ou,projectSecret:null};return null==t||("string"==typeof t?e.projectId=t:null!=t.projectSecret?(iu.assertArgument("string"==typeof t.projectId,"projectSecret requires a projectId","projectId",t.projectId),iu.assertArgument("string"==typeof t.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),e.projectId=t.projectId,e.projectSecret=t.projectSecret):t.projectId&&(e.projectId=t.projectId),e.apiKey=e.projectId),e}static getUrl(t,e){let r=null;switch(t?t.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"ropsten":r="ropsten.infura.io";break;case"rinkeby":r="rinkeby.infura.io";break;case"kovan":r="kovan.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-kovan":r="optimism-kovan.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-rinkeby":r="arbitrum-rinkeby.infura.io";break;default:iu.throwError("unsupported network",v.errors.INVALID_ARGUMENT,{argument:"network",value:t})}const n={allowGzip:!0,url:"https://"+r+"/v3/"+e.projectId,throttleCallback:(t,r)=>(e.projectId===ou&&xs(),Promise.resolve(!0))};return null!=e.projectSecret&&(n.user="",n.password=e.projectSecret),n}isCommunityResource(){return this.projectId===ou}}class uu extends fa{send(t,e){const r={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);const n={request:r,resolve:null,reject:null},i=new Promise(((t,e)=>{n.resolve=t,n.reject=e}));return this._pendingBatch.push(n),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((()=>{const t=this._pendingBatch;this._pendingBatch=null,this._pendingBatchAggregator=null;const e=t.map((t=>t.request));return this.emit("debug",{action:"requestBatch",request:lt(e),provider:this}),ws(this.connection,JSON.stringify(e)).then((r=>{this.emit("debug",{action:"response",request:e,response:r,provider:this}),t.forEach(((t,e)=>{const n=r[e];if(n.error){const e=new Error(n.error.message);e.code=n.error.code,e.data=n.error.data,t.reject(e)}else t.resolve(n.result)}))}),(r=>{this.emit("debug",{action:"response",error:r,request:e,provider:this}),t.forEach((t=>{t.reject(r)}))}))}),10)),i}}const lu=new v(ks);class cu extends Aa{static getApiKey(t){return t&&"string"!=typeof t&&lu.throwArgumentError("invalid apiKey","apiKey",t),t||"ETHERS_JS_SHARED"}static getUrl(t,e){lu.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");let r=null;switch(t.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:lu.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+e}}const hu=new v(ks),fu="62e1ad51b37b8e00394bda3b";class du extends Aa{static getApiKey(t){const e={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return null==t?e.applicationId=fu:"string"==typeof t?e.applicationId=t:null!=t.applicationSecretKey?(e.applicationId=t.applicationId,e.applicationSecretKey=t.applicationSecretKey):t.applicationId?e.applicationId=t.applicationId:hu.throwArgumentError("unsupported PocketProvider apiKey","apiKey",t),e}static getUrl(t,e){let r=null;switch(t?t.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:hu.throwError("unsupported network",v.errors.INVALID_ARGUMENT,{argument:"network",value:t})}const n={headers:{},url:`https://${r}/v1/lb/${e.applicationId}`};return null!=e.applicationSecretKey&&(n.user="",n.password=e.applicationSecretKey),n}isCommunityResource(){return this.applicationId===fu}}const pu=new v(ks);let mu=1;function gu(t,e){const r="Web3LegacyFetcher";return function(t,n){const i={method:t,params:n,id:mu++,jsonrpc:"2.0"};return new Promise(((t,n)=>{this.emit("debug",{action:"request",fetcher:r,request:lt(i),provider:this}),e(i,((e,o)=>{if(e)return this.emit("debug",{action:"response",fetcher:r,error:e,request:i,provider:this}),n(e);if(this.emit("debug",{action:"response",fetcher:r,request:i,response:o,provider:this}),o.error){const t=new Error(o.error.message);return t.code=o.error.code,t.data=o.error.data,n(t)}t(o.result)}))}))}}class yu extends fa{constructor(t,e){null==t&&pu.throwArgumentError("missing provider","provider",t);let r=null,n=null,i=null;"function"==typeof t?(r="unknown:",n=t):(r=t.host||t.path||"",!r&&t.isMetaMask&&(r="metamask"),i=t,t.request?(""===r&&(r="eip-1193:"),n=function(t){return function(e,r){null==r&&(r=[]);const n={method:e,params:r};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:lt(n),provider:this}),t.request(n).then((t=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:n,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:n,error:t,provider:this}),t}))}}(t)):t.sendAsync?n=gu(0,t.sendAsync.bind(t)):t.send?n=gu(0,t.send.bind(t)):pu.throwArgumentError("unsupported provider","provider",t),r||(r="unknown:")),super(r,e),et(this,"jsonRpcFetchFunc",n),et(this,"provider",i)}send(t,e){return this.jsonRpcFetchFunc(t,e)}}const vu=new v(ks);function wu(t,e){if(null==t&&(t="homestead"),"string"==typeof t){const e=t.match(/^(ws|http)s?:/i);if(e)switch(e[1].toLowerCase()){case"http":case"https":return new fa(t);case"ws":case"wss":return new ya(t);default:vu.throwArgumentError("unsupported URL scheme","network",t)}}const r=Do(t);return r&&r._defaultProvider||vu.throwError("unsupported getDefaultProvider network",v.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),r._defaultProvider({FallbackProvider:ru,AlchemyProvider:Sa,AnkrProvider:xa,CloudflareProvider:Ta,EtherscanProvider:Ga,InfuraProvider:au,JsonRpcProvider:fa,NodesmithProvider:cu,PocketProvider:du,Web3Provider:yu,IpcProvider:nu},e)}const bu=new RegExp("^bytes([0-9]+)$"),Au=new RegExp("^(u?int)([0-9]*)$"),Eu=new RegExp("^(.*)\\[([0-9]*)\\]$"),ku=new v("solidity/5.7.0");function _u(t,e,r){switch(t){case"address":return r?M(e,32):S(e);case"string":return Ht(e);case"bytes":return S(e);case"bool":return e=e?"0x01":"0x00",r?M(e,32):S(e)}let n=t.match(Au);if(n){let i=parseInt(n[2]||"256");return(n[2]&&String(i)!==n[2]||i%8!=0||0===i||i>256)&&ku.throwArgumentError("invalid number type","type",t),r&&(i=256),M(e=W.from(e).toTwos(i),i/8)}if(n=t.match(bu),n){const i=parseInt(n[1]);return(String(i)!==n[1]||0===i||i>32)&&ku.throwArgumentError("invalid bytes type","type",t),S(e).byteLength!==i&&ku.throwArgumentError(`invalid value for ${t}`,"value",e),r?S((e+"0000000000000000000000000000000000000000000000000000000000000000").substring(0,66)):e}if(n=t.match(Eu),n&&Array.isArray(e)){const r=n[1];parseInt(n[2]||String(e.length))!=e.length&&ku.throwArgumentError(`invalid array length for ${t}`,"value",e);const i=[];return e.forEach((function(t){i.push(_u(r,t,!0))})),P(i)}return ku.throwArgumentError("invalid type","type",t)}function Su(t,e){t.length!=e.length&&ku.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);const r=[];return t.forEach((function(t,n){r.push(_u(t,e[n]))})),I(P(r))}function Pu(t,e){return wt(Su(t,e))}function Nu(t,e){return wi(Su(t,e))}function Mu(t,e){e||(e=function(t){return[parseInt(t,16)]});let r=0,n={};return t.split(",").forEach((t=>{let i=t.split(":");r+=parseInt(i[0],16),n[r]=e(i[1])})),n}function xu(t){let e=0;return t.split(",").map((t=>{let r=t.split("-");1===r.length?r[1]="0":""===r[1]&&(r[1]="1");let n=e+parseInt(r[0],16);return e=parseInt(r[1],16),{l:n,h:e}}))}function Cu(t,e){let r=0;for(let n=0;n=r&&t<=r+i.h&&(t-r)%(i.d||1)==0){if(i.e&&-1!==i.e.indexOf(t-r))continue;return i}}return null}const Iu=xu("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),Tu="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((t=>parseInt(t,16))),Ru=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],Bu=Mu("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),Ou=Mu("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),Fu=Mu("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(t){if(t.length%4!=0)throw new Error("bad data");let e=[];for(let r=0;r{if(Tu.indexOf(t)>=0)return[];if(t>=65024&&t<=65039)return[];let e=function(t){let e=Cu(t,Ru);if(e)return[t+e.s];let r=Bu[t];if(r)return r;let n=Ou[t];return n?[t+n[0]]:Fu[t]||null}(t);return e||[t]})),e=r.reduce(((t,e)=>(e.forEach((e=>{t.push(e)})),t)),[]),e=Yt(Wt(e),Gt.NFKC),e.forEach((t=>{if(Cu(t,Du))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),e.forEach((t=>{if(Cu(t,Iu))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));let n=Wt(e);if("-"===n.substring(0,1)||"--"===n.substring(2,4)||"-"===n.substring(n.length-1))throw new Error("invalid hyphen");return n}function Lu(t){const e=Ht(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return I(P([e,Mo]).slice(0,32))}function Gu(t){const e=S(t);if(32!==e.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==e[31])throw new Error("invalid bytes32 string - no null terminator");let r=31;for(;0===e[r-1];)r--;return Qt(e.slice(0,r))}const ju=new v("units/5.7.0"),zu=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Ku(t){const e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||"."===t||"-."===t)&&ju.throwArgumentError("invalid value","value",t);let r=e[0],n="";for("-"===r.substring(0,1)&&(n="-",r=r.substring(1));"0"===r.substring(0,1);)r=r.substring(1);""===r&&(r="0");let i="";for(2===e.length&&(i="."+(e[1]||"0"));i.length>2&&"0"===i[i.length-1];)i=i.substring(0,i.length-1);const o=[];for(;r.length;){if(r.length<=3){o.unshift(r);break}{const t=r.length-3;o.unshift(r.substring(t)),r=r.substring(0,t)}}return n+o.join(",")+i}function qu(t,e){if("string"==typeof e){const t=zu.indexOf(e);-1!==t&&(e=3*t)}return qn(t,null!=e?e:18)}function Hu(t,e){if("string"!=typeof t&&ju.throwArgumentError("value must be a string","value",t),"string"==typeof e){const t=zu.indexOf(e);-1!==t&&(e=3*t)}return Hn(t,null!=e?e:18)}function Ju(t){return qu(t,18)}function Vu(t){return Hu(t,18)}const Wu="ethers/5.7.1",Qu=new v(Wu);try{const t=window;null==t._ethers&&(t._ethers=u)}catch(Yu){}},33715:(t,e,r)=>{var n=e;n.utils=r(26436),n.common=r(95772),n.sha=r(89041),n.ripemd=r(12949),n.hmac=r(52344),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},95772:(t,e,r)=>{"use strict";var n=r(26436),i=r(79746);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o{"use strict";var n=r(26436),i=r(79746);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e{"use strict";var n=r(26436),i=r(95772),o=n.rotl32,s=n.sum32,a=n.sum32_3,u=n.sum32_4,l=i.BlockHash;function c(){if(!(this instanceof c))return new c;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function f(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(c,l),e.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],l=this.h[3],c=this.h[4],v=r,w=n,b=i,A=l,E=c,k=0;k<80;k++){var _=s(o(u(r,h(k,n,i,l),t[p[k]+e],f(k)),g[k]),c);r=c,c=l,l=o(i,10),i=n,n=_,_=s(o(u(v,h(79-k,w,b,A),t[m[k]+e],d(k)),y[k]),E),v=E,E=A,A=o(b,10),b=w,w=_}_=a(this.h[1],i,A),this.h[1]=a(this.h[2],l,E),this.h[2]=a(this.h[3],c,v),this.h[3]=a(this.h[4],r,w),this.h[4]=a(this.h[0],n,b),this.h[0]=_},c.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},89041:(t,e,r)=>{"use strict";e.sha1=r(84761),e.sha224=r(10799),e.sha256=r(89344),e.sha384=r(80772),e.sha512=r(45900)},84761:(t,e,r)=>{"use strict";var n=r(26436),i=r(95772),o=r(37038),s=n.rotl32,a=n.sum32,u=n.sum32_5,l=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(f,c),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n{"use strict";var n=r(26436),i=r(89344);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},89344:(t,e,r)=>{"use strict";var n=r(26436),i=r(95772),o=r(37038),s=r(79746),a=n.sum32,u=n.sum32_4,l=n.sum32_5,c=o.ch32,h=o.maj32,f=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(v,g),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n{"use strict";var n=r(26436),i=r(45900);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},45900:(t,e,r)=>{"use strict";var n=r(26436),i=r(95772),o=r(79746),s=n.rotr64_hi,a=n.rotr64_lo,u=n.shr64_hi,l=n.shr64_lo,c=n.sum64,h=n.sum64_hi,f=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,g=n.sum64_5_lo,y=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function w(){if(!(this instanceof w))return new w;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function b(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function A(t,e,r,n,i,o){var s=e&n^~e&o;return s<0&&(s+=4294967296),s}function E(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function k(t,e,r,n,i,o){var s=e&n^e&o^n&o;return s<0&&(s+=4294967296),s}function _(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function S(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function P(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function N(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=4294967296),r}function M(t,e){var r=s(t,e,1)^s(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function x(t,e){var r=a(t,e,1)^a(t,e,8)^l(t,e,7);return r<0&&(r+=4294967296),r}function C(t,e){var r=s(t,e,19)^s(e,t,29)^u(t,e,6);return r<0&&(r+=4294967296),r}function I(t,e){var r=a(t,e,19)^a(e,t,29)^l(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(w,y),t.exports=w,w.blockSize=1024,w.outSize=512,w.hmacStrength=192,w.padLength=128,w.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n{"use strict";var n=r(26436).rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function s(t,e,r){return t^e^r}e.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?s(e,r,n):2===t?o(e,r,n):void 0},e.ch32=i,e.maj32=o,e.p32=s,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},26436:(t,e,r)=>{"use strict";var n=r(79746),i=r(35717);function o(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function s(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function a(t){return 1===t.length?"0"+t:t}function u(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i>6|192,r[n++]=63&s|128):o(t,i)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++i)),r[n++]=s>>18|240,r[n++]=s>>12&63|128,r[n++]=s>>6&63|128,r[n++]=63&s|128):(r[n++]=s>>12|224,r[n++]=s>>6&63|128,r[n++]=63&s|128)}else for(i=0;i>>0}return s},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,s=(o>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,s,a){var u=0,l=e;return u+=(l=l+n>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,r,n,i,o,s,a){return e+n+o+a>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,s,a,u,l){var c=0,h=e;return c+=(h=h+n>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,r,n,i,o,s,a,u,l){return e+n+o+a+l>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},35717:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},91094:(t,e,r)=>{var n;!function(){"use strict";var i="input is invalid type",o="object"==typeof window,s=o?window:{};s.JS_SHA3_NO_WINDOW&&(o=!1);var a=!o&&"object"==typeof self;!s.JS_SHA3_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?s=r.g:a&&(s=self);var u=!s.JS_SHA3_NO_COMMON_JS&&t.exports,l=r.amdO,c=!s.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,h="0123456789abcdef".split(""),f=[4,1024,262144,67108864],d=[0,8,16,24],p=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],m=[224,256,384,512],g=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],v={128:168,256:136};!s.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!c||!s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var w=function(t,e,r){return function(n){return new B(t,e,t).update(n)[r]()}},b=function(t,e,r){return function(n,i){return new B(t,e,i).update(n)[r]()}},A=function(t,e,r){return function(e,n,i,o){return P["cshake"+t].update(e,n,i,o)[r]()}},E=function(t,e,r){return function(e,n,i,o){return P["kmac"+t].update(e,n,i,o)[r]()}},k=function(t,e,r,n){for(var i=0;i>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function O(t,e,r){B.call(this,t,e,r)}B.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var e,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(i);if(null===t)throw new Error(i);if(c&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||c&&ArrayBuffer.isView(t)))throw new Error(i);e=!0}for(var n,o,s=this.blocks,a=this.byteCount,u=t.length,l=this.blockCount,h=0,f=this.s;h>2]|=t[h]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(s[n>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=a){for(this.start=n-a,this.block=s[l],n=0;n>=8);r>0;)i.unshift(r),r=255&(t>>=8),++n;return e?i.push(n):i.unshift(n),this.update(i),i.length},B.prototype.encodeString=function(t){var e,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(i);if(null===t)throw new Error(i);if(c&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||c&&ArrayBuffer.isView(t)))throw new Error(i);e=!0}var n=0,o=t.length;if(e)n=o;else for(var s=0;s=57344?n+=3:(a=65536+((1023&a)<<10|1023&t.charCodeAt(++s)),n+=4)}return n+=this.encode(8*n),this.update(t),n},B.prototype.bytepad=function(t,e){for(var r=this.encode(e),n=0;n>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[r],e=1;e>4&15]+h[15&t]+h[t>>12&15]+h[t>>8&15]+h[t>>20&15]+h[t>>16&15]+h[t>>28&15]+h[t>>24&15];s%e==0&&(F(r),o=0)}return i&&(t=r[o],a+=h[t>>4&15]+h[15&t],i>1&&(a+=h[t>>12&15]+h[t>>8&15]),i>2&&(a+=h[t>>20&15]+h[t>>16&15])),a},B.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,s=0,a=this.outputBits>>3;t=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var u=new Uint32Array(t);s>8&255,u[t+2]=e>>16&255,u[t+3]=e>>24&255;a%r==0&&F(n)}return o&&(t=a<<2,e=n[s],u[t]=255&e,o>1&&(u[t+1]=e>>8&255),o>2&&(u[t+2]=e>>16&255)),u},O.prototype=new B,O.prototype.finalize=function(){return this.encode(this.outputBits,!0),B.prototype.finalize.call(this)};var F=function(t){var e,r,n,i,o,s,a,u,l,c,h,f,d,m,g,y,v,w,b,A,E,k,_,S,P,N,M,x,C,I,T,R,B,O,F,D,U,L,G,j,z,K,q,H,J,V,W,Q,Y,X,Z,$,tt,et,rt,nt,it,ot,st,at,ut,lt,ct;for(n=0;n<48;n+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],l=t[5]^t[15]^t[25]^t[35]^t[45],c=t[6]^t[16]^t[26]^t[36]^t[46],h=t[7]^t[17]^t[27]^t[37]^t[47],e=(f=t[8]^t[18]^t[28]^t[38]^t[48])^(s<<1|a>>>31),r=(d=t[9]^t[19]^t[29]^t[39]^t[49])^(a<<1|s>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=i^(u<<1|l>>>31),r=o^(l<<1|u>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=s^(c<<1|h>>>31),r=a^(h<<1|c>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=u^(f<<1|d>>>31),r=l^(d<<1|f>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=c^(i<<1|o>>>31),r=h^(o<<1|i>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,m=t[0],g=t[1],V=t[11]<<4|t[10]>>>28,W=t[10]<<4|t[11]>>>28,x=t[20]<<3|t[21]>>>29,C=t[21]<<3|t[20]>>>29,at=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,K=t[40]<<18|t[41]>>>14,q=t[41]<<18|t[40]>>>14,O=t[2]<<1|t[3]>>>31,F=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,Q=t[22]<<10|t[23]>>>22,Y=t[23]<<10|t[22]>>>22,I=t[33]<<13|t[32]>>>19,T=t[32]<<13|t[33]>>>19,lt=t[42]<<2|t[43]>>>30,ct=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,D=t[14]<<6|t[15]>>>26,U=t[15]<<6|t[14]>>>26,w=t[25]<<11|t[24]>>>21,b=t[24]<<11|t[25]>>>21,X=t[34]<<15|t[35]>>>17,Z=t[35]<<15|t[34]>>>17,R=t[45]<<29|t[44]>>>3,B=t[44]<<29|t[45]>>>3,S=t[6]<<28|t[7]>>>4,P=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,L=t[26]<<25|t[27]>>>7,G=t[27]<<25|t[26]>>>7,A=t[36]<<21|t[37]>>>11,E=t[37]<<21|t[36]>>>11,$=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,H=t[8]<<27|t[9]>>>5,J=t[9]<<27|t[8]>>>5,N=t[18]<<20|t[19]>>>12,M=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,st=t[28]<<7|t[29]>>>25,j=t[38]<<8|t[39]>>>24,z=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,_=t[49]<<14|t[48]>>>18,t[0]=m^~y&w,t[1]=g^~v&b,t[10]=S^~N&x,t[11]=P^~M&C,t[20]=O^~D&L,t[21]=F^~U&G,t[30]=H^~V&Q,t[31]=J^~W&Y,t[40]=et^~nt&ot,t[41]=rt^~it&st,t[2]=y^~w&A,t[3]=v^~b&E,t[12]=N^~x&I,t[13]=M^~C&T,t[22]=D^~L&j,t[23]=U^~G&z,t[32]=V^~Q&X,t[33]=W^~Y&Z,t[42]=nt^~ot&at,t[43]=it^~st&ut,t[4]=w^~A&k,t[5]=b^~E&_,t[14]=x^~I&R,t[15]=C^~T&B,t[24]=L^~j&K,t[25]=G^~z&q,t[34]=Q^~X&$,t[35]=Y^~Z&tt,t[44]=ot^~at<,t[45]=st^~ut&ct,t[6]=A^~k&m,t[7]=E^~_&g,t[16]=I^~R&S,t[17]=T^~B&P,t[26]=j^~K&O,t[27]=z^~q&F,t[36]=X^~$&H,t[37]=Z^~tt&J,t[46]=at^~lt&et,t[47]=ut^~ct&rt,t[8]=k^~m&y,t[9]=_^~g&v,t[18]=R^~S&N,t[19]=B^~P&M,t[28]=K^~O&D,t[29]=q^~F&U,t[38]=$^~H&V,t[39]=tt^~J&W,t[48]=lt^~et&nt,t[49]=ct^~rt&it,t[0]^=p[n],t[1]^=p[n+1]};if(u)t.exports=P;else{for(M=0;M{function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},17635:function(t){"use strict";!function(e){const r=2147483647;function n(t){const e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let r=1779033703,n=3144134277,i=1013904242,o=2773480762,s=1359893119,a=2600822924,u=528734635,l=1541459225;const c=new Uint32Array(64);function h(t){let h=0,f=t.length;for(;f>=64;){let d,p,m,g,y,v=r,w=n,b=i,A=o,E=s,k=a,_=u,S=l;for(p=0;p<16;p++)m=h+4*p,c[p]=(255&t[m])<<24|(255&t[m+1])<<16|(255&t[m+2])<<8|255&t[m+3];for(p=16;p<64;p++)d=c[p-2],g=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,d=c[p-15],y=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,c[p]=(g+c[p-7]|0)+(y+c[p-16]|0)|0;for(p=0;p<64;p++)g=(((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&k^~E&_)|0)+(S+(e[p]+c[p]|0)|0)|0,y=((v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10))+(v&w^v&b^w&b)|0,S=_,_=k,k=E,E=A+g|0,A=b,b=w,w=v,v=g+y|0;r=r+v|0,n=n+w|0,i=i+b|0,o=o+A|0,s=s+E|0,a=a+k|0,u=u+_|0,l=l+S|0,h+=64,f-=64}}h(t);let f,d=t.length%64,p=t.length/536870912|0,m=t.length<<3,g=d<56?56:120,y=t.slice(t.length-d,t.length);for(y.push(128),f=d+1;f>>24&255),y.push(p>>>16&255),y.push(p>>>8&255),y.push(p>>>0&255),y.push(m>>>24&255),y.push(m>>>16&255),y.push(m>>>8&255),y.push(m>>>0&255),h(y),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255]}function i(t,e,r){t=t.length<=64?t:n(t);const i=64+e.length+4,o=new Array(i),s=new Array(64);let a,u=[];for(a=0;a<64;a++)o[a]=54;for(a=0;a=i-4;t--){if(o[t]++,o[t]<=255)return;o[t]=0}}for(;r>=32;)l(),u=u.concat(n(s.concat(n(o)))),r-=32;return r>0&&(l(),u=u.concat(n(s.concat(n(o))).slice(0,r))),u}function o(t,e,r,n,i){let o;for(l(t,16*(2*r-1),i,0,16),o=0;o<2*r;o++)u(t,16*o,i,16),a(i,n),l(i,0,t,e+16*o,16);for(o=0;o>>32-e}function a(t,e){l(t,0,e,0,16);for(let r=8;r>0;r-=2)e[4]^=s(e[0]+e[12],7),e[8]^=s(e[4]+e[0],9),e[12]^=s(e[8]+e[4],13),e[0]^=s(e[12]+e[8],18),e[9]^=s(e[5]+e[1],7),e[13]^=s(e[9]+e[5],9),e[1]^=s(e[13]+e[9],13),e[5]^=s(e[1]+e[13],18),e[14]^=s(e[10]+e[6],7),e[2]^=s(e[14]+e[10],9),e[6]^=s(e[2]+e[14],13),e[10]^=s(e[6]+e[2],18),e[3]^=s(e[15]+e[11],7),e[7]^=s(e[3]+e[15],9),e[11]^=s(e[7]+e[3],13),e[15]^=s(e[11]+e[7],18),e[1]^=s(e[0]+e[3],7),e[2]^=s(e[1]+e[0],9),e[3]^=s(e[2]+e[1],13),e[0]^=s(e[3]+e[2],18),e[6]^=s(e[5]+e[4],7),e[7]^=s(e[6]+e[5],9),e[4]^=s(e[7]+e[6],13),e[5]^=s(e[4]+e[7],18),e[11]^=s(e[10]+e[9],7),e[8]^=s(e[11]+e[10],9),e[9]^=s(e[8]+e[11],13),e[10]^=s(e[9]+e[8],18),e[12]^=s(e[15]+e[14],7),e[13]^=s(e[12]+e[15],9),e[14]^=s(e[13]+e[12],13),e[15]^=s(e[14]+e[13],18);for(let r=0;r<16;++r)t[r]+=e[r]}function u(t,e,r,n){for(let i=0;i=256)return!1}return!0}function h(t,e){if("number"!=typeof t||t%1)throw new Error("invalid "+e);return t}function f(t,e,n,s,a,f,d){if(n=h(n,"N"),s=h(s,"r"),a=h(a,"p"),f=h(f,"dkLen"),0===n||0!=(n&n-1))throw new Error("N must be power of 2");if(n>r/128/s)throw new Error("N too large");if(s>r/128/a)throw new Error("r too large");if(!c(t))throw new Error("password must be an array or buffer");if(t=Array.prototype.slice.call(t),!c(e))throw new Error("salt must be an array or buffer");e=Array.prototype.slice.call(e);let p=i(t,e,128*a*s);const m=new Uint32Array(32*a*s);for(let r=0;rx&&(e=x);for(let t=0;tx&&(e=x);for(let t=0;t>0&255),p.push(m[t]>>8&255),p.push(m[t]>>16&255),p.push(m[t]>>24&255);const r=i(t,p,f);return d&&d(null,1,r),r}d&&C(I)};if(!d)for(;;){const t=I();if(null!=t)return t}I()}const d={scrypt:function(t,e,r,n,i,o,s){return new Promise((function(a,u){let l=0;s&&s(0),f(t,e,r,n,i,o,(function(t,e,r){if(t)u(t);else if(r)s&&1!==l&&s(1),a(new Uint8Array(r));else if(s&&e!==l)return l=e,s(e)}))}))},syncScrypt:function(t,e,r,n,i,o){return new Uint8Array(f(t,e,r,n,i,o))}};t.exports=d}()}}]); \ No newline at end of file diff --git a/assets/js/5436.fe00240d.js.LICENSE.txt b/assets/js/5436.2187bfef.js.LICENSE.txt similarity index 100% rename from assets/js/5436.fe00240d.js.LICENSE.txt rename to assets/js/5436.2187bfef.js.LICENSE.txt diff --git a/assets/js/5436.fe00240d.js b/assets/js/5436.fe00240d.js deleted file mode 100644 index 564ff751..00000000 --- a/assets/js/5436.fe00240d.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 5436.fe00240d.js.LICENSE.txt */ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5436],{3905:(t,e,r)=>{"use strict";r.d(e,{Zo:()=>c,kt:()=>p});var n=r(67294);function i(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e=0||(i[r]=t[r]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(i[r]=t[r])}return i}var u=n.createContext({}),l=function(t){var e=n.useContext(u),r=e;return t&&(r="function"==typeof t?t(e):s(s({},e),t)),r},c=function(t){var e=l(t.components);return n.createElement(u.Provider,{value:e},t.children)},h="mdxType",f={inlineCode:"code",wrapper:function(t){var e=t.children;return n.createElement(n.Fragment,{},e)}},d=n.forwardRef((function(t,e){var r=t.components,i=t.mdxType,o=t.originalType,u=t.parentName,c=a(t,["components","mdxType","originalType","parentName"]),h=l(r),d=i,p=h["".concat(u,".").concat(d)]||h[d]||f[d]||o;return r?n.createElement(p,s(s({ref:e},c),{},{components:r})):n.createElement(p,s({ref:e},c))}));function p(t,e){var r=arguments,i=e&&e.mdxType;if("string"==typeof t||i){var o=r.length,s=new Array(o);s[0]=d;var a={};for(var u in e)hasOwnProperty.call(e,u)&&(a[u]=e[u]);a.originalType=t,a[h]="string"==typeof t?t:i,s[1]=a;for(var l=2;l255)return!1;return!0}function i(t,e){if(t.buffer&&ArrayBuffer.isView(t)&&"Uint8Array"===t.name)return e&&(t=t.slice?t.slice():Array.prototype.slice.call(t)),t;if(Array.isArray(t)){if(!n(t))throw new Error("Array contains invalid value: "+t);return new Uint8Array(t)}if(r(t.length)&&n(t))return new Uint8Array(t);throw new Error("unsupported array-like object")}function o(t){return new Uint8Array(t)}function s(t,e,r,n,i){null==n&&null==i||(t=t.slice?t.slice(n,i):Array.prototype.slice.call(t,n,i)),e.set(t,r)}var a,u={toBytes:function(t){var e=[],r=0;for(t=encodeURI(t);r191&&n<224?(e.push(String.fromCharCode((31&n)<<6|63&t[r+1])),r+=2):(e.push(String.fromCharCode((15&n)<<12|(63&t[r+1])<<6|63&t[r+2])),r+=3)}return e.join("")}},l=(a="0123456789abcdef",{toBytes:function(t){for(var e=[],r=0;r>4]+a[15&n])}return e.join("")}}),c={16:10,24:12,32:14},h=[1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145],f=[99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22],d=[82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125],p=[3328402341,4168907908,4000806809,4135287693,4294111757,3597364157,3731845041,2445657428,1613770832,33620227,3462883241,1445669757,3892248089,3050821474,1303096294,3967186586,2412431941,528646813,2311702848,4202528135,4026202645,2992200171,2387036105,4226871307,1101901292,3017069671,1604494077,1169141738,597466303,1403299063,3832705686,2613100635,1974974402,3791519004,1033081774,1277568618,1815492186,2118074177,4126668546,2211236943,1748251740,1369810420,3521504564,4193382664,3799085459,2883115123,1647391059,706024767,134480908,2512897874,1176707941,2646852446,806885416,932615841,168101135,798661301,235341577,605164086,461406363,3756188221,3454790438,1311188841,2142417613,3933566367,302582043,495158174,1479289972,874125870,907746093,3698224818,3025820398,1537253627,2756858614,1983593293,3084310113,2108928974,1378429307,3722699582,1580150641,327451799,2790478837,3117535592,0,3253595436,1075847264,3825007647,2041688520,3059440621,3563743934,2378943302,1740553945,1916352843,2487896798,2555137236,2958579944,2244988746,3151024235,3320835882,1336584933,3992714006,2252555205,2588757463,1714631509,293963156,2319795663,3925473552,67240454,4269768577,2689618160,2017213508,631218106,1269344483,2723238387,1571005438,2151694528,93294474,1066570413,563977660,1882732616,4059428100,1673313503,2008463041,2950355573,1109467491,537923632,3858759450,4260623118,3218264685,2177748300,403442708,638784309,3287084079,3193921505,899127202,2286175436,773265209,2479146071,1437050866,4236148354,2050833735,3362022572,3126681063,840505643,3866325909,3227541664,427917720,2655997905,2749160575,1143087718,1412049534,999329963,193497219,2353415882,3354324521,1807268051,672404540,2816401017,3160301282,369822493,2916866934,3688947771,1681011286,1949973070,336202270,2454276571,201721354,1210328172,3093060836,2680341085,3184776046,1135389935,3294782118,965841320,831886756,3554993207,4068047243,3588745010,2345191491,1849112409,3664604599,26054028,2983581028,2622377682,1235855840,3630984372,2891339514,4092916743,3488279077,3395642799,4101667470,1202630377,268961816,1874508501,4034427016,1243948399,1546530418,941366308,1470539505,1941222599,2546386513,3421038627,2715671932,3899946140,1042226977,2521517021,1639824860,227249030,260737669,3765465232,2084453954,1907733956,3429263018,2420656344,100860677,4160157185,470683154,3261161891,1781871967,2924959737,1773779408,394692241,2579611992,974986535,664706745,3655459128,3958962195,731420851,571543859,3530123707,2849626480,126783113,865375399,765172662,1008606754,361203602,3387549984,2278477385,2857719295,1344809080,2782912378,59542671,1503764984,160008576,437062935,1707065306,3622233649,2218934982,3496503480,2185314755,697932208,1512910199,504303377,2075177163,2824099068,1841019862,739644986],m=[2781242211,2230877308,2582542199,2381740923,234877682,3184946027,2984144751,1418839493,1348481072,50462977,2848876391,2102799147,434634494,1656084439,3863849899,2599188086,1167051466,2636087938,1082771913,2281340285,368048890,3954334041,3381544775,201060592,3963727277,1739838676,4250903202,3930435503,3206782108,4149453988,2531553906,1536934080,3262494647,484572669,2923271059,1783375398,1517041206,1098792767,49674231,1334037708,1550332980,4098991525,886171109,150598129,2481090929,1940642008,1398944049,1059722517,201851908,1385547719,1699095331,1587397571,674240536,2704774806,252314885,3039795866,151914247,908333586,2602270848,1038082786,651029483,1766729511,3447698098,2682942837,454166793,2652734339,1951935532,775166490,758520603,3000790638,4004797018,4217086112,4137964114,1299594043,1639438038,3464344499,2068982057,1054729187,1901997871,2534638724,4121318227,1757008337,0,750906861,1614815264,535035132,3363418545,3988151131,3201591914,1183697867,3647454910,1265776953,3734260298,3566750796,3903871064,1250283471,1807470800,717615087,3847203498,384695291,3313910595,3617213773,1432761139,2484176261,3481945413,283769337,100925954,2180939647,4037038160,1148730428,3123027871,3813386408,4087501137,4267549603,3229630528,2315620239,2906624658,3156319645,1215313976,82966005,3747855548,3245848246,1974459098,1665278241,807407632,451280895,251524083,1841287890,1283575245,337120268,891687699,801369324,3787349855,2721421207,3431482436,959321879,1469301956,4065699751,2197585534,1199193405,2898814052,3887750493,724703513,2514908019,2696962144,2551808385,3516813135,2141445340,1715741218,2119445034,2872807568,2198571144,3398190662,700968686,3547052216,1009259540,2041044702,3803995742,487983883,1991105499,1004265696,1449407026,1316239930,504629770,3683797321,168560134,1816667172,3837287516,1570751170,1857934291,4014189740,2797888098,2822345105,2754712981,936633572,2347923833,852879335,1133234376,1500395319,3084545389,2348912013,1689376213,3533459022,3762923945,3034082412,4205598294,133428468,634383082,2949277029,2398386810,3913789102,403703816,3580869306,2297460856,1867130149,1918643758,607656988,4049053350,3346248884,1368901318,600565992,2090982877,2632479860,557719327,3717614411,3697393085,2249034635,2232388234,2430627952,1115438654,3295786421,2865522278,3633334344,84280067,33027830,303828494,2747425121,1600795957,4188952407,3496589753,2434238086,1486471617,658119965,3106381470,953803233,334231800,3005978776,857870609,3151128937,1890179545,2298973838,2805175444,3056442267,574365214,2450884487,550103529,1233637070,4289353045,2018519080,2057691103,2399374476,4166623649,2148108681,387583245,3664101311,836232934,3330556482,3100665960,3280093505,2955516313,2002398509,287182607,3413881008,4238890068,3597515707,975967766],g=[1671808611,2089089148,2006576759,2072901243,4061003762,1807603307,1873927791,3310653893,810573872,16974337,1739181671,729634347,4263110654,3613570519,2883997099,1989864566,3393556426,2191335298,3376449993,2106063485,4195741690,1508618841,1204391495,4027317232,2917941677,3563566036,2734514082,2951366063,2629772188,2767672228,1922491506,3227229120,3082974647,4246528509,2477669779,644500518,911895606,1061256767,4144166391,3427763148,878471220,2784252325,3845444069,4043897329,1905517169,3631459288,827548209,356461077,67897348,3344078279,593839651,3277757891,405286936,2527147926,84871685,2595565466,118033927,305538066,2157648768,3795705826,3945188843,661212711,2999812018,1973414517,152769033,2208177539,745822252,439235610,455947803,1857215598,1525593178,2700827552,1391895634,994932283,3596728278,3016654259,695947817,3812548067,795958831,2224493444,1408607827,3513301457,0,3979133421,543178784,4229948412,2982705585,1542305371,1790891114,3410398667,3201918910,961245753,1256100938,1289001036,1491644504,3477767631,3496721360,4012557807,2867154858,4212583931,1137018435,1305975373,861234739,2241073541,1171229253,4178635257,33948674,2139225727,1357946960,1011120188,2679776671,2833468328,1374921297,2751356323,1086357568,2408187279,2460827538,2646352285,944271416,4110742005,3168756668,3066132406,3665145818,560153121,271589392,4279952895,4077846003,3530407890,3444343245,202643468,322250259,3962553324,1608629855,2543990167,1154254916,389623319,3294073796,2817676711,2122513534,1028094525,1689045092,1575467613,422261273,1939203699,1621147744,2174228865,1339137615,3699352540,577127458,712922154,2427141008,2290289544,1187679302,3995715566,3100863416,339486740,3732514782,1591917662,186455563,3681988059,3762019296,844522546,978220090,169743370,1239126601,101321734,611076132,1558493276,3260915650,3547250131,2901361580,1655096418,2443721105,2510565781,3828863972,2039214713,3878868455,3359869896,928607799,1840765549,2374762893,3580146133,1322425422,2850048425,1823791212,1459268694,4094161908,3928346602,1706019429,2056189050,2934523822,135794696,3134549946,2022240376,628050469,779246638,472135708,2800834470,3032970164,3327236038,3894660072,3715932637,1956440180,522272287,1272813131,3185336765,2340818315,2323976074,1888542832,1044544574,3049550261,1722469478,1222152264,50660867,4127324150,236067854,1638122081,895445557,1475980887,3117443513,2257655686,3243809217,489110045,2662934430,3778599393,4162055160,2561878936,288563729,1773916777,3648039385,2391345038,2493985684,2612407707,505560094,2274497927,3911240169,3460925390,1442818645,678973480,3749357023,2358182796,2717407649,2306869641,219617805,3218761151,3862026214,1120306242,1756942440,1103331905,2578459033,762796589,252780047,2966125488,1425844308,3151392187,372911126],y=[1667474886,2088535288,2004326894,2071694838,4075949567,1802223062,1869591006,3318043793,808472672,16843522,1734846926,724270422,4278065639,3621216949,2880169549,1987484396,3402253711,2189597983,3385409673,2105378810,4210693615,1499065266,1195886990,4042263547,2913856577,3570689971,2728590687,2947541573,2627518243,2762274643,1920112356,3233831835,3082273397,4261223649,2475929149,640051788,909531756,1061110142,4160160501,3435941763,875846760,2779116625,3857003729,4059105529,1903268834,3638064043,825316194,353713962,67374088,3351728789,589522246,3284360861,404236336,2526454071,84217610,2593830191,117901582,303183396,2155911963,3806477791,3958056653,656894286,2998062463,1970642922,151591698,2206440989,741110872,437923380,454765878,1852748508,1515908788,2694904667,1381168804,993742198,3604373943,3014905469,690584402,3823320797,791638366,2223281939,1398011302,3520161977,0,3991743681,538992704,4244381667,2981218425,1532751286,1785380564,3419096717,3200178535,960056178,1246420628,1280103576,1482221744,3486468741,3503319995,4025428677,2863326543,4227536621,1128514950,1296947098,859002214,2240123921,1162203018,4193849577,33687044,2139062782,1347481760,1010582648,2678045221,2829640523,1364325282,2745433693,1077985408,2408548869,2459086143,2644360225,943212656,4126475505,3166494563,3065430391,3671750063,555836226,269496352,4294908645,4092792573,3537006015,3452783745,202118168,320025894,3974901699,1600119230,2543297077,1145359496,387397934,3301201811,2812801621,2122220284,1027426170,1684319432,1566435258,421079858,1936954854,1616945344,2172753945,1330631070,3705438115,572679748,707427924,2425400123,2290647819,1179044492,4008585671,3099120491,336870440,3739122087,1583276732,185277718,3688593069,3772791771,842159716,976899700,168435220,1229577106,101059084,606366792,1549591736,3267517855,3553849021,2897014595,1650632388,2442242105,2509612081,3840161747,2038008818,3890688725,3368567691,926374254,1835907034,2374863873,3587531953,1313788572,2846482505,1819063512,1448540844,4109633523,3941213647,1701162954,2054852340,2930698567,134748176,3132806511,2021165296,623210314,774795868,471606328,2795958615,3031746419,3334885783,3907527627,3722280097,1953799400,522133822,1263263126,3183336545,2341176845,2324333839,1886425312,1044267644,3048588401,1718004428,1212733584,50529542,4143317495,235803164,1633788866,892690282,1465383342,3115962473,2256965911,3250673817,488449850,2661202215,3789633753,4177007595,2560144171,286339874,1768537042,3654906025,2391705863,2492770099,2610673197,505291324,2273808917,3924369609,3469625735,1431699370,673740880,3755965093,2358021891,2711746649,2307489801,218961690,3217021541,3873845719,1111672452,1751693520,1094828930,2576986153,757954394,252645662,2964376443,1414855848,3149649517,370555436],v=[1374988112,2118214995,437757123,975658646,1001089995,530400753,2902087851,1273168787,540080725,2910219766,2295101073,4110568485,1340463100,3307916247,641025152,3043140495,3736164937,632953703,1172967064,1576976609,3274667266,2169303058,2370213795,1809054150,59727847,361929877,3211623147,2505202138,3569255213,1484005843,1239443753,2395588676,1975683434,4102977912,2572697195,666464733,3202437046,4035489047,3374361702,2110667444,1675577880,3843699074,2538681184,1649639237,2976151520,3144396420,4269907996,4178062228,1883793496,2403728665,2497604743,1383856311,2876494627,1917518562,3810496343,1716890410,3001755655,800440835,2261089178,3543599269,807962610,599762354,33778362,3977675356,2328828971,2809771154,4077384432,1315562145,1708848333,101039829,3509871135,3299278474,875451293,2733856160,92987698,2767645557,193195065,1080094634,1584504582,3178106961,1042385657,2531067453,3711829422,1306967366,2438237621,1908694277,67556463,1615861247,429456164,3602770327,2302690252,1742315127,2968011453,126454664,3877198648,2043211483,2709260871,2084704233,4169408201,0,159417987,841739592,504459436,1817866830,4245618683,260388950,1034867998,908933415,168810852,1750902305,2606453969,607530554,202008497,2472011535,3035535058,463180190,2160117071,1641816226,1517767529,470948374,3801332234,3231722213,1008918595,303765277,235474187,4069246893,766945465,337553864,1475418501,2943682380,4003061179,2743034109,4144047775,1551037884,1147550661,1543208500,2336434550,3408119516,3069049960,3102011747,3610369226,1113818384,328671808,2227573024,2236228733,3535486456,2935566865,3341394285,496906059,3702665459,226906860,2009195472,733156972,2842737049,294930682,1206477858,2835123396,2700099354,1451044056,573804783,2269728455,3644379585,2362090238,2564033334,2801107407,2776292904,3669462566,1068351396,742039012,1350078989,1784663195,1417561698,4136440770,2430122216,775550814,2193862645,2673705150,1775276924,1876241833,3475313331,3366754619,270040487,3902563182,3678124923,3441850377,1851332852,3969562369,2203032232,3868552805,2868897406,566021896,4011190502,3135740889,1248802510,3936291284,699432150,832877231,708780849,3332740144,899835584,1951317047,4236429990,3767586992,866637845,4043610186,1106041591,2144161806,395441711,1984812685,1139781709,3433712980,3835036895,2664543715,1282050075,3240894392,1181045119,2640243204,25965917,4203181171,4211818798,3009879386,2463879762,3910161971,1842759443,2597806476,933301370,1509430414,3943906441,3467192302,3076639029,3776767469,2051518780,2631065433,1441952575,404016761,1942435775,1408749034,1610459739,3745345300,2017778566,3400528769,3110650942,941896748,3265478751,371049330,3168937228,675039627,4279080257,967311729,135050206,3635733660,1683407248,2076935265,3576870512,1215061108,3501741890],w=[1347548327,1400783205,3273267108,2520393566,3409685355,4045380933,2880240216,2471224067,1428173050,4138563181,2441661558,636813900,4233094615,3620022987,2149987652,2411029155,1239331162,1730525723,2554718734,3781033664,46346101,310463728,2743944855,3328955385,3875770207,2501218972,3955191162,3667219033,768917123,3545789473,692707433,1150208456,1786102409,2029293177,1805211710,3710368113,3065962831,401639597,1724457132,3028143674,409198410,2196052529,1620529459,1164071807,3769721975,2226875310,486441376,2499348523,1483753576,428819965,2274680428,3075636216,598438867,3799141122,1474502543,711349675,129166120,53458370,2592523643,2782082824,4063242375,2988687269,3120694122,1559041666,730517276,2460449204,4042459122,2706270690,3446004468,3573941694,533804130,2328143614,2637442643,2695033685,839224033,1973745387,957055980,2856345839,106852767,1371368976,4181598602,1033297158,2933734917,1179510461,3046200461,91341917,1862534868,4284502037,605657339,2547432937,3431546947,2003294622,3182487618,2282195339,954669403,3682191598,1201765386,3917234703,3388507166,0,2198438022,1211247597,2887651696,1315723890,4227665663,1443857720,507358933,657861945,1678381017,560487590,3516619604,975451694,2970356327,261314535,3535072918,2652609425,1333838021,2724322336,1767536459,370938394,182621114,3854606378,1128014560,487725847,185469197,2918353863,3106780840,3356761769,2237133081,1286567175,3152976349,4255350624,2683765030,3160175349,3309594171,878443390,1988838185,3704300486,1756818940,1673061617,3403100636,272786309,1075025698,545572369,2105887268,4174560061,296679730,1841768865,1260232239,4091327024,3960309330,3497509347,1814803222,2578018489,4195456072,575138148,3299409036,446754879,3629546796,4011996048,3347532110,3252238545,4270639778,915985419,3483825537,681933534,651868046,2755636671,3828103837,223377554,2607439820,1649704518,3270937875,3901806776,1580087799,4118987695,3198115200,2087309459,2842678573,3016697106,1003007129,2802849917,1860738147,2077965243,164439672,4100872472,32283319,2827177882,1709610350,2125135846,136428751,3874428392,3652904859,3460984630,3572145929,3593056380,2939266226,824852259,818324884,3224740454,930369212,2801566410,2967507152,355706840,1257309336,4148292826,243256656,790073846,2373340630,1296297904,1422699085,3756299780,3818836405,457992840,3099667487,2135319889,77422314,1560382517,1945798516,788204353,1521706781,1385356242,870912086,325965383,2358957921,2050466060,2388260884,2313884476,4006521127,901210569,3990953189,1014646705,1503449823,1062597235,2031621326,3212035895,3931371469,1533017514,350174575,2256028891,2177544179,1052338372,741876788,1606591296,1914052035,213705253,2334669897,1107234197,1899603969,3725069491,2631447780,2422494913,1635502980,1893020342,1950903388,1120974935],b=[2807058932,1699970625,2764249623,1586903591,1808481195,1173430173,1487645946,59984867,4199882800,1844882806,1989249228,1277555970,3623636965,3419915562,1149249077,2744104290,1514790577,459744698,244860394,3235995134,1963115311,4027744588,2544078150,4190530515,1608975247,2627016082,2062270317,1507497298,2200818878,567498868,1764313568,3359936201,2305455554,2037970062,1047239e3,1910319033,1337376481,2904027272,2892417312,984907214,1243112415,830661914,861968209,2135253587,2011214180,2927934315,2686254721,731183368,1750626376,4246310725,1820824798,4172763771,3542330227,48394827,2404901663,2871682645,671593195,3254988725,2073724613,145085239,2280796200,2779915199,1790575107,2187128086,472615631,3029510009,4075877127,3802222185,4107101658,3201631749,1646252340,4270507174,1402811438,1436590835,3778151818,3950355702,3963161475,4020912224,2667994737,273792366,2331590177,104699613,95345982,3175501286,2377486676,1560637892,3564045318,369057872,4213447064,3919042237,1137477952,2658625497,1119727848,2340947849,1530455833,4007360968,172466556,266959938,516552836,0,2256734592,3980931627,1890328081,1917742170,4294704398,945164165,3575528878,958871085,3647212047,2787207260,1423022939,775562294,1739656202,3876557655,2530391278,2443058075,3310321856,547512796,1265195639,437656594,3121275539,719700128,3762502690,387781147,218828297,3350065803,2830708150,2848461854,428169201,122466165,3720081049,1627235199,648017665,4122762354,1002783846,2117360635,695634755,3336358691,4234721005,4049844452,3704280881,2232435299,574624663,287343814,612205898,1039717051,840019705,2708326185,793451934,821288114,1391201670,3822090177,376187827,3113855344,1224348052,1679968233,2361698556,1058709744,752375421,2431590963,1321699145,3519142200,2734591178,188127444,2177869557,3727205754,2384911031,3215212461,2648976442,2450346104,3432737375,1180849278,331544205,3102249176,4150144569,2952102595,2159976285,2474404304,766078933,313773861,2570832044,2108100632,1668212892,3145456443,2013908262,418672217,3070356634,2594734927,1852171925,3867060991,3473416636,3907448597,2614737639,919489135,164948639,2094410160,2997825956,590424639,2486224549,1723872674,3157750862,3399941250,3501252752,3625268135,2555048196,3673637356,1343127501,4130281361,3599595085,2957853679,1297403050,81781910,3051593425,2283490410,532201772,1367295589,3926170974,895287692,1953757831,1093597963,492483431,3528626907,1446242576,1192455638,1636604631,209336225,344873464,1015671571,669961897,3375740769,3857572124,2973530695,3747192018,1933530610,3464042516,935293895,3454686199,2858115069,1863638845,3683022916,4085369519,3292445032,875313188,1080017571,3279033885,621591778,1233856572,2504130317,24197544,3017672716,3835484340,3247465558,2220981195,3060847922,1551124588,1463996600],A=[4104605777,1097159550,396673818,660510266,2875968315,2638606623,4200115116,3808662347,821712160,1986918061,3430322568,38544885,3856137295,718002117,893681702,1654886325,2975484382,3122358053,3926825029,4274053469,796197571,1290801793,1184342925,3556361835,2405426947,2459735317,1836772287,1381620373,3196267988,1948373848,3764988233,3385345166,3263785589,2390325492,1480485785,3111247143,3780097726,2293045232,548169417,3459953789,3746175075,439452389,1362321559,1400849762,1685577905,1806599355,2174754046,137073913,1214797936,1174215055,3731654548,2079897426,1943217067,1258480242,529487843,1437280870,3945269170,3049390895,3313212038,923313619,679998e3,3215307299,57326082,377642221,3474729866,2041877159,133361907,1776460110,3673476453,96392454,878845905,2801699524,777231668,4082475170,2330014213,4142626212,2213296395,1626319424,1906247262,1846563261,562755902,3708173718,1040559837,3871163981,1418573201,3294430577,114585348,1343618912,2566595609,3186202582,1078185097,3651041127,3896688048,2307622919,425408743,3371096953,2081048481,1108339068,2216610296,0,2156299017,736970802,292596766,1517440620,251657213,2235061775,2933202493,758720310,265905162,1554391400,1532285339,908999204,174567692,1474760595,4002861748,2610011675,3234156416,3693126241,2001430874,303699484,2478443234,2687165888,585122620,454499602,151849742,2345119218,3064510765,514443284,4044981591,1963412655,2581445614,2137062819,19308535,1928707164,1715193156,4219352155,1126790795,600235211,3992742070,3841024952,836553431,1669664834,2535604243,3323011204,1243905413,3141400786,4180808110,698445255,2653899549,2989552604,2253581325,3252932727,3004591147,1891211689,2487810577,3915653703,4237083816,4030667424,2100090966,865136418,1229899655,953270745,3399679628,3557504664,4118925222,2061379749,3079546586,2915017791,983426092,2022837584,1607244650,2118541908,2366882550,3635996816,972512814,3283088770,1568718495,3499326569,3576539503,621982671,2895723464,410887952,2623762152,1002142683,645401037,1494807662,2595684844,1335535747,2507040230,4293295786,3167684641,367585007,3885750714,1865862730,2668221674,2960971305,2763173681,1059270954,2777952454,2724642869,1320957812,2194319100,2429595872,2815956275,77089521,3973773121,3444575871,2448830231,1305906550,4021308739,2857194700,2516901860,3518358430,1787304780,740276417,1699839814,1592394909,2352307457,2272556026,188821243,1729977011,3687994002,274084841,3594982253,3613494426,2701949495,4162096729,322734571,2837966542,1640576439,484830689,1202797690,3537852828,4067639125,349075736,3342319475,4157467219,4255800159,1030690015,1155237496,2951971274,1757691577,607398968,2738905026,499347990,3794078908,1011452712,227885567,2818666809,213114376,3034881240,1455525988,3414450555,850817237,1817998408,3092726480],E=[0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,800440835,92987698,193195065,429456164,395441711,1984812685,2017778566,1784663195,1683407248,1315562145,1080094634,1383856311,1551037884,101039829,135050206,437757123,337553864,1042385657,807962610,573804783,742039012,2531067453,2564033334,2328828971,2227573024,2935566865,2700099354,3001755655,3168937228,3868552805,3902563182,4203181171,4102977912,3736164937,3501741890,3265478751,3433712980,1106041591,1340463100,1576976609,1408749034,2043211483,2009195472,1708848333,1809054150,832877231,1068351396,766945465,599762354,159417987,126454664,361929877,463180190,2709260871,2943682380,3178106961,3009879386,2572697195,2538681184,2236228733,2336434550,3509871135,3745345300,3441850377,3274667266,3910161971,3877198648,4110568485,4211818798,2597806476,2497604743,2261089178,2295101073,2733856160,2902087851,3202437046,2968011453,3936291284,3835036895,4136440770,4169408201,3535486456,3702665459,3467192302,3231722213,2051518780,1951317047,1716890410,1750902305,1113818384,1282050075,1584504582,1350078989,168810852,67556463,371049330,404016761,841739592,1008918595,775550814,540080725,3969562369,3801332234,4035489047,4269907996,3569255213,3669462566,3366754619,3332740144,2631065433,2463879762,2160117071,2395588676,2767645557,2868897406,3102011747,3069049960,202008497,33778362,270040487,504459436,875451293,975658646,675039627,641025152,2084704233,1917518562,1615861247,1851332852,1147550661,1248802510,1484005843,1451044056,933301370,967311729,733156972,632953703,260388950,25965917,328671808,496906059,1206477858,1239443753,1543208500,1441952575,2144161806,1908694277,1675577880,1842759443,3610369226,3644379585,3408119516,3307916247,4011190502,3776767469,4077384432,4245618683,2809771154,2842737049,3144396420,3043140495,2673705150,2438237621,2203032232,2370213795],k=[0,185469197,370938394,487725847,741876788,657861945,975451694,824852259,1483753576,1400783205,1315723890,1164071807,1950903388,2135319889,1649704518,1767536459,2967507152,3152976349,2801566410,2918353863,2631447780,2547432937,2328143614,2177544179,3901806776,3818836405,4270639778,4118987695,3299409036,3483825537,3535072918,3652904859,2077965243,1893020342,1841768865,1724457132,1474502543,1559041666,1107234197,1257309336,598438867,681933534,901210569,1052338372,261314535,77422314,428819965,310463728,3409685355,3224740454,3710368113,3593056380,3875770207,3960309330,4045380933,4195456072,2471224067,2554718734,2237133081,2388260884,3212035895,3028143674,2842678573,2724322336,4138563181,4255350624,3769721975,3955191162,3667219033,3516619604,3431546947,3347532110,2933734917,2782082824,3099667487,3016697106,2196052529,2313884476,2499348523,2683765030,1179510461,1296297904,1347548327,1533017514,1786102409,1635502980,2087309459,2003294622,507358933,355706840,136428751,53458370,839224033,957055980,605657339,790073846,2373340630,2256028891,2607439820,2422494913,2706270690,2856345839,3075636216,3160175349,3573941694,3725069491,3273267108,3356761769,4181598602,4063242375,4011996048,3828103837,1033297158,915985419,730517276,545572369,296679730,446754879,129166120,213705253,1709610350,1860738147,1945798516,2029293177,1239331162,1120974935,1606591296,1422699085,4148292826,4233094615,3781033664,3931371469,3682191598,3497509347,3446004468,3328955385,2939266226,2755636671,3106780840,2988687269,2198438022,2282195339,2501218972,2652609425,1201765386,1286567175,1371368976,1521706781,1805211710,1620529459,2105887268,1988838185,533804130,350174575,164439672,46346101,870912086,954669403,636813900,788204353,2358957921,2274680428,2592523643,2441661558,2695033685,2880240216,3065962831,3182487618,3572145929,3756299780,3270937875,3388507166,4174560061,4091327024,4006521127,3854606378,1014646705,930369212,711349675,560487590,272786309,457992840,106852767,223377554,1678381017,1862534868,1914052035,2031621326,1211247597,1128014560,1580087799,1428173050,32283319,182621114,401639597,486441376,768917123,651868046,1003007129,818324884,1503449823,1385356242,1333838021,1150208456,1973745387,2125135846,1673061617,1756818940,2970356327,3120694122,2802849917,2887651696,2637442643,2520393566,2334669897,2149987652,3917234703,3799141122,4284502037,4100872472,3309594171,3460984630,3545789473,3629546796,2050466060,1899603969,1814803222,1730525723,1443857720,1560382517,1075025698,1260232239,575138148,692707433,878443390,1062597235,243256656,91341917,409198410,325965383,3403100636,3252238545,3704300486,3620022987,3874428392,3990953189,4042459122,4227665663,2460449204,2578018489,2226875310,2411029155,3198115200,3046200461,2827177882,2743944855],_=[0,218828297,437656594,387781147,875313188,958871085,775562294,590424639,1750626376,1699970625,1917742170,2135253587,1551124588,1367295589,1180849278,1265195639,3501252752,3720081049,3399941250,3350065803,3835484340,3919042237,4270507174,4085369519,3102249176,3051593425,2734591178,2952102595,2361698556,2177869557,2530391278,2614737639,3145456443,3060847922,2708326185,2892417312,2404901663,2187128086,2504130317,2555048196,3542330227,3727205754,3375740769,3292445032,3876557655,3926170974,4246310725,4027744588,1808481195,1723872674,1910319033,2094410160,1608975247,1391201670,1173430173,1224348052,59984867,244860394,428169201,344873464,935293895,984907214,766078933,547512796,1844882806,1627235199,2011214180,2062270317,1507497298,1423022939,1137477952,1321699145,95345982,145085239,532201772,313773861,830661914,1015671571,731183368,648017665,3175501286,2957853679,2807058932,2858115069,2305455554,2220981195,2474404304,2658625497,3575528878,3625268135,3473416636,3254988725,3778151818,3963161475,4213447064,4130281361,3599595085,3683022916,3432737375,3247465558,3802222185,4020912224,4172763771,4122762354,3201631749,3017672716,2764249623,2848461854,2331590177,2280796200,2431590963,2648976442,104699613,188127444,472615631,287343814,840019705,1058709744,671593195,621591778,1852171925,1668212892,1953757831,2037970062,1514790577,1463996600,1080017571,1297403050,3673637356,3623636965,3235995134,3454686199,4007360968,3822090177,4107101658,4190530515,2997825956,3215212461,2830708150,2779915199,2256734592,2340947849,2627016082,2443058075,172466556,122466165,273792366,492483431,1047239e3,861968209,612205898,695634755,1646252340,1863638845,2013908262,1963115311,1446242576,1530455833,1277555970,1093597963,1636604631,1820824798,2073724613,1989249228,1436590835,1487645946,1337376481,1119727848,164948639,81781910,331544205,516552836,1039717051,821288114,669961897,719700128,2973530695,3157750862,2871682645,2787207260,2232435299,2283490410,2667994737,2450346104,3647212047,3564045318,3279033885,3464042516,3980931627,3762502690,4150144569,4199882800,3070356634,3121275539,2904027272,2686254721,2200818878,2384911031,2570832044,2486224549,3747192018,3528626907,3310321856,3359936201,3950355702,3867060991,4049844452,4234721005,1739656202,1790575107,2108100632,1890328081,1402811438,1586903591,1233856572,1149249077,266959938,48394827,369057872,418672217,1002783846,919489135,567498868,752375421,209336225,24197544,376187827,459744698,945164165,895287692,574624663,793451934,1679968233,1764313568,2117360635,1933530610,1343127501,1560637892,1243112415,1192455638,3704280881,3519142200,3336358691,3419915562,3907448597,3857572124,4075877127,4294704398,3029510009,3113855344,2927934315,2744104290,2159976285,2377486676,2594734927,2544078150],S=[0,151849742,303699484,454499602,607398968,758720310,908999204,1059270954,1214797936,1097159550,1517440620,1400849762,1817998408,1699839814,2118541908,2001430874,2429595872,2581445614,2194319100,2345119218,3034881240,3186202582,2801699524,2951971274,3635996816,3518358430,3399679628,3283088770,4237083816,4118925222,4002861748,3885750714,1002142683,850817237,698445255,548169417,529487843,377642221,227885567,77089521,1943217067,2061379749,1640576439,1757691577,1474760595,1592394909,1174215055,1290801793,2875968315,2724642869,3111247143,2960971305,2405426947,2253581325,2638606623,2487810577,3808662347,3926825029,4044981591,4162096729,3342319475,3459953789,3576539503,3693126241,1986918061,2137062819,1685577905,1836772287,1381620373,1532285339,1078185097,1229899655,1040559837,923313619,740276417,621982671,439452389,322734571,137073913,19308535,3871163981,4021308739,4104605777,4255800159,3263785589,3414450555,3499326569,3651041127,2933202493,2815956275,3167684641,3049390895,2330014213,2213296395,2566595609,2448830231,1305906550,1155237496,1607244650,1455525988,1776460110,1626319424,2079897426,1928707164,96392454,213114376,396673818,514443284,562755902,679998e3,865136418,983426092,3708173718,3557504664,3474729866,3323011204,4180808110,4030667424,3945269170,3794078908,2507040230,2623762152,2272556026,2390325492,2975484382,3092726480,2738905026,2857194700,3973773121,3856137295,4274053469,4157467219,3371096953,3252932727,3673476453,3556361835,2763173681,2915017791,3064510765,3215307299,2156299017,2307622919,2459735317,2610011675,2081048481,1963412655,1846563261,1729977011,1480485785,1362321559,1243905413,1126790795,878845905,1030690015,645401037,796197571,274084841,425408743,38544885,188821243,3613494426,3731654548,3313212038,3430322568,4082475170,4200115116,3780097726,3896688048,2668221674,2516901860,2366882550,2216610296,3141400786,2989552604,2837966542,2687165888,1202797690,1320957812,1437280870,1554391400,1669664834,1787304780,1906247262,2022837584,265905162,114585348,499347990,349075736,736970802,585122620,972512814,821712160,2595684844,2478443234,2293045232,2174754046,3196267988,3079546586,2895723464,2777952454,3537852828,3687994002,3234156416,3385345166,4142626212,4293295786,3841024952,3992742070,174567692,57326082,410887952,292596766,777231668,660510266,1011452712,893681702,1108339068,1258480242,1343618912,1494807662,1715193156,1865862730,1948373848,2100090966,2701949495,2818666809,3004591147,3122358053,2235061775,2352307457,2535604243,2653899549,3915653703,3764988233,4219352155,4067639125,3444575871,3294430577,3746175075,3594982253,836553431,953270745,600235211,718002117,367585007,484830689,133361907,251657213,2041877159,1891211689,1806599355,1654886325,1568718495,1418573201,1335535747,1184342925];function P(t){for(var e=[],r=0;r>2,this._Ke[r][e%4]=o[e],this._Kd[t-r][e%4]=o[e];for(var s,a=0,u=i;u>16&255]<<24^f[s>>8&255]<<16^f[255&s]<<8^f[s>>24&255]^h[a]<<24,a+=1,8!=i)for(e=1;e>8&255]<<8^f[s>>16&255]<<16^f[s>>24&255]<<24;for(e=i/2+1;e>2,d=u%4,this._Ke[l][d]=o[e],this._Kd[t-l][d]=o[e++],u++}for(var l=1;l>24&255]^k[s>>16&255]^_[s>>8&255]^S[255&s]},N.prototype.encrypt=function(t){if(16!=t.length)throw new Error("invalid plaintext size (must be 16 bytes)");for(var e=this._Ke.length-1,r=[0,0,0,0],n=P(t),i=0;i<4;i++)n[i]^=this._Ke[0][i];for(var s=1;s>24&255]^m[n[(i+1)%4]>>16&255]^g[n[(i+2)%4]>>8&255]^y[255&n[(i+3)%4]]^this._Ke[s][i];n=r.slice()}var a,u=o(16);for(i=0;i<4;i++)a=this._Ke[e][i],u[4*i]=255&(f[n[i]>>24&255]^a>>24),u[4*i+1]=255&(f[n[(i+1)%4]>>16&255]^a>>16),u[4*i+2]=255&(f[n[(i+2)%4]>>8&255]^a>>8),u[4*i+3]=255&(f[255&n[(i+3)%4]]^a);return u},N.prototype.decrypt=function(t){if(16!=t.length)throw new Error("invalid ciphertext size (must be 16 bytes)");for(var e=this._Kd.length-1,r=[0,0,0,0],n=P(t),i=0;i<4;i++)n[i]^=this._Kd[0][i];for(var s=1;s>24&255]^w[n[(i+3)%4]>>16&255]^b[n[(i+2)%4]>>8&255]^A[255&n[(i+1)%4]]^this._Kd[s][i];n=r.slice()}var a,u=o(16);for(i=0;i<4;i++)a=this._Kd[e][i],u[4*i]=255&(d[n[i]>>24&255]^a>>24),u[4*i+1]=255&(d[n[(i+3)%4]>>16&255]^a>>16),u[4*i+2]=255&(d[n[(i+2)%4]>>8&255]^a>>8),u[4*i+3]=255&(d[255&n[(i+1)%4]]^a);return u};var M=function(t){if(!(this instanceof M))throw Error("AES must be instanitated with `new`");this.description="Electronic Code Block",this.name="ecb",this._aes=new N(t)};M.prototype.encrypt=function(t){if((t=i(t)).length%16!=0)throw new Error("invalid plaintext size (must be multiple of 16 bytes)");for(var e=o(t.length),r=o(16),n=0;n=0;--e)this._counter[e]=t%256,t>>=8},T.prototype.setBytes=function(t){if(16!=(t=i(t,!0)).length)throw new Error("invalid counter bytes size (must be 16 bytes)");this._counter=t},T.prototype.increment=function(){for(var t=15;t>=0;t--){if(255!==this._counter[t]){this._counter[t]++;break}this._counter[t]=0}};var R=function(t,e){if(!(this instanceof R))throw Error("AES must be instanitated with `new`");this.description="Counter",this.name="ctr",e instanceof T||(e=new T(e)),this._counter=e,this._remainingCounter=null,this._remainingCounterIndex=16,this._aes=new N(t)};R.prototype.encrypt=function(t){for(var e=i(t,!0),r=0;r16)throw new Error("PKCS#7 padding byte out of range");for(var r=t.length-e,n=0;n{"use strict";for(var e="qpzry9x8gf2tvdw0s3jn54khce6mua7l",r={},n=0;n<32;n++){var i=e.charAt(n);if(void 0!==r[i])throw new TypeError(i+" is ambiguous");r[i]=n}function o(t){var e=t>>25;return(33554431&t)<<5^996825010&-(e>>0&1)^642813549&-(e>>1&1)^513874426&-(e>>2&1)^1027748829&-(e>>3&1)^705979059&-(e>>4&1)}function s(t){for(var e=1,r=0;r126)return"Invalid prefix ("+t+")";e=o(e)^n>>5}for(e=o(e),r=0;re)return"Exceeds length limit";var n=t.toLowerCase(),i=t.toUpperCase();if(t!==n&&t!==i)return"Mixed-case string "+t;var a=(t=n).lastIndexOf("1");if(-1===a)return"No separator character for "+t;if(0===a)return"Missing prefix for "+t;var u=t.slice(0,a),l=t.slice(a+1);if(l.length<6)return"Data too short";var c=s(u);if("string"==typeof c)return c;for(var h=[],f=0;f=l.length||h.push(p)}return 1!==c?"Invalid checksum for "+t:{prefix:u,words:h}}function u(t,e,r,n){for(var i=0,o=0,s=(1<=r;)o-=r,a.push(i>>o&s);if(n)o>0&&a.push(i<=e)return"Excess padding";if(i<n)throw new TypeError("Exceeds length limit");var i=s(t=t.toLowerCase());if("string"==typeof i)throw new Error(i);for(var a=t+"1",u=0;u>5!=0)throw new Error("Non 5-bit word");i=o(i)^l,a+=e.charAt(l)}for(u=0;u<6;++u)i=o(i);for(i^=1,u=0;u<6;++u){a+=e.charAt(i>>5*(5-u)&31)}return a},toWordsUnsafe:function(t){var e=u(t,8,5,!0);if(Array.isArray(e))return e},toWords:function(t){var e=u(t,8,5,!0);if(Array.isArray(e))return e;throw new Error(e)},fromWordsUnsafe:function(t){var e=u(t,5,8,!1);if(Array.isArray(e))return e},fromWords:function(t){var e=u(t,5,8,!1);if(Array.isArray(e))return e;throw new Error(e)}}},13550:function(t,e,r){!function(t,e){"use strict";function n(t,e){if(!t)throw new Error(e||"Assertion failed")}function i(t,e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}function o(t,e,r){if(o.isBN(t))return t;this.negative=0,this.words=null,this.length=0,this.red=null,null!==t&&("le"!==e&&"be"!==e||(r=e,e=10),this._init(t||0,e||10,r||"be"))}var s;"object"==typeof t?t.exports=o:e.BN=o,o.BN=o,o.wordSize=26;try{s="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(46601).Buffer}catch(M){}function a(t,e){var r=t.charCodeAt(e);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+t)}function u(t,e,r){var n=a(t,r);return r-1>=e&&(n|=a(t,r-1)<<4),n}function l(t,e,r,i){for(var o=0,s=0,a=Math.min(t.length,r),u=e;u=49?l-49+10:l>=17?l-17+10:l,n(l>=0&&s0?t:e},o.min=function(t,e){return t.cmp(e)<0?t:e},o.prototype._init=function(t,e,r){if("number"==typeof t)return this._initNumber(t,e,r);if("object"==typeof t)return this._initArray(t,e,r);"hex"===e&&(e=16),n(e===(0|e)&&e>=2&&e<=36);var i=0;"-"===(t=t.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i=0;i-=3)s=t[i]|t[i-1]<<8|t[i-2]<<16,this.words[o]|=s<>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);else if("le"===r)for(i=0,o=0;i>>26-a&67108863,(a+=24)>=26&&(a-=26,o++);return this._strip()},o.prototype._parseHex=function(t,e,r){this.length=Math.ceil((t.length-e)/6),this.words=new Array(this.length);for(var n=0;n=e;n-=2)i=u(t,e,n)<=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;else for(n=(t.length-e)%2==0?e+1:e;n=18?(o-=18,s+=1,this.words[s]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(t,e,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=e)n++;n--,i=i/e|0;for(var o=t.length-r,s=o%n,a=Math.min(o,o-s)+r,u=0,c=r;c1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=h}catch(M){o.prototype.inspect=h}else o.prototype.inspect=h;function h(){return(this.red?""}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(t,e){var r;if(e=0|e||1,16===(t=t||10)||"hex"===t){r="";for(var i=0,o=0,s=0;s>>24-i&16777215,(i+=2)>=26&&(i-=26,s--),r=0!==o||s!==this.length-1?f[6-u.length]+u+r:u+r}for(0!==o&&(r=o.toString(16)+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(t===(0|t)&&t>=2&&t<=36){var l=d[t],c=p[t];r="";var h=this.clone();for(h.negative=0;!h.isZero();){var m=h.modrn(c).toString(t);r=(h=h.idivn(c)).isZero()?m+r:f[l-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%e!=0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var t=this.words[0];return 2===this.length?t+=67108864*this.words[1]:3===this.length&&1===this.words[2]?t+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-t:t},o.prototype.toJSON=function(){return this.toString(16,2)},s&&(o.prototype.toBuffer=function(t,e){return this.toArrayLike(s,t,e)}),o.prototype.toArray=function(t,e){return this.toArrayLike(Array,t,e)};function m(t,e,r){r.negative=e.negative^t.negative;var n=t.length+e.length|0;r.length=n,n=n-1|0;var i=0|t.words[0],o=0|e.words[0],s=i*o,a=67108863&s,u=s/67108864|0;r.words[0]=a;for(var l=1;l>>26,h=67108863&u,f=Math.min(l,e.length-1),d=Math.max(0,l-t.length+1);d<=f;d++){var p=l-d|0;c+=(s=(i=0|t.words[p])*(o=0|e.words[d])+h)/67108864|0,h=67108863&s}r.words[l]=0|h,u=0|c}return 0!==u?r.words[l]=0|u:r.length--,r._strip()}o.prototype.toArrayLike=function(t,e,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var s=function(t,e){return t.allocUnsafe?t.allocUnsafe(e):new t(e)}(t,o);return this["_toArrayLike"+("le"===e?"LE":"BE")](s,i),s},o.prototype._toArrayLikeLE=function(t,e){for(var r=0,n=0,i=0,o=0;i>8&255),r>16&255),6===o?(r>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r=0&&(t[r--]=s>>8&255),r>=0&&(t[r--]=s>>16&255),6===o?(r>=0&&(t[r--]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(r>=0)for(t[r--]=n;r>=0;)t[r--]=0},Math.clz32?o.prototype._countBits=function(t){return 32-Math.clz32(t)}:o.prototype._countBits=function(t){var e=t,r=0;return e>=4096&&(r+=13,e>>>=13),e>=64&&(r+=7,e>>>=7),e>=8&&(r+=4,e>>>=4),e>=2&&(r+=2,e>>>=2),r+e},o.prototype._zeroBits=function(t){if(0===t)return 26;var e=t,r=0;return 0==(8191&e)&&(r+=13,e>>>=13),0==(127&e)&&(r+=7,e>>>=7),0==(15&e)&&(r+=4,e>>>=4),0==(3&e)&&(r+=2,e>>>=2),0==(1&e)&&r++,r},o.prototype.bitLength=function(){var t=this.words[this.length-1],e=this._countBits(t);return 26*(this.length-1)+e},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var t=0,e=0;et.length?this.clone().ior(t):t.clone().ior(this)},o.prototype.uor=function(t){return this.length>t.length?this.clone().iuor(t):t.clone().iuor(this)},o.prototype.iuand=function(t){var e;e=this.length>t.length?t:this;for(var r=0;rt.length?this.clone().iand(t):t.clone().iand(this)},o.prototype.uand=function(t){return this.length>t.length?this.clone().iuand(t):t.clone().iuand(this)},o.prototype.iuxor=function(t){var e,r;this.length>t.length?(e=this,r=t):(e=t,r=this);for(var n=0;nt.length?this.clone().ixor(t):t.clone().ixor(this)},o.prototype.uxor=function(t){return this.length>t.length?this.clone().iuxor(t):t.clone().iuxor(this)},o.prototype.inotn=function(t){n("number"==typeof t&&t>=0);var e=0|Math.ceil(t/26),r=t%26;this._expand(e),r>0&&e--;for(var i=0;i0&&(this.words[i]=~this.words[i]&67108863>>26-r),this._strip()},o.prototype.notn=function(t){return this.clone().inotn(t)},o.prototype.setn=function(t,e){n("number"==typeof t&&t>=0);var r=t/26|0,i=t%26;return this._expand(r+1),this.words[r]=e?this.words[r]|1<t.length?(r=this,n=t):(r=t,n=this);for(var i=0,o=0;o>>26;for(;0!==i&&o>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;ot.length?this.clone().iadd(t):t.clone().iadd(this)},o.prototype.isub=function(t){if(0!==t.negative){t.negative=0;var e=this.iadd(t);return t.negative=1,e._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(t),this.negative=1,this._normSign();var r,n,i=this.cmp(t);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=t):(r=t,n=this);for(var o=0,s=0;s>26,this.words[s]=67108863&e;for(;0!==o&&s>26,this.words[s]=67108863&e;if(0===o&&s>>13,d=0|s[1],p=8191&d,m=d>>>13,g=0|s[2],y=8191&g,v=g>>>13,w=0|s[3],b=8191&w,A=w>>>13,E=0|s[4],k=8191&E,_=E>>>13,S=0|s[5],P=8191&S,N=S>>>13,M=0|s[6],x=8191&M,C=M>>>13,I=0|s[7],T=8191&I,R=I>>>13,B=0|s[8],O=8191&B,F=B>>>13,D=0|s[9],U=8191&D,L=D>>>13,G=0|a[0],j=8191&G,z=G>>>13,K=0|a[1],q=8191&K,H=K>>>13,J=0|a[2],V=8191&J,W=J>>>13,Q=0|a[3],Y=8191&Q,X=Q>>>13,Z=0|a[4],$=8191&Z,tt=Z>>>13,et=0|a[5],rt=8191&et,nt=et>>>13,it=0|a[6],ot=8191&it,st=it>>>13,at=0|a[7],ut=8191&at,lt=at>>>13,ct=0|a[8],ht=8191&ct,ft=ct>>>13,dt=0|a[9],pt=8191&dt,mt=dt>>>13;r.negative=t.negative^e.negative,r.length=19;var gt=(l+(n=Math.imul(h,j))|0)+((8191&(i=(i=Math.imul(h,z))+Math.imul(f,j)|0))<<13)|0;l=((o=Math.imul(f,z))+(i>>>13)|0)+(gt>>>26)|0,gt&=67108863,n=Math.imul(p,j),i=(i=Math.imul(p,z))+Math.imul(m,j)|0,o=Math.imul(m,z);var yt=(l+(n=n+Math.imul(h,q)|0)|0)+((8191&(i=(i=i+Math.imul(h,H)|0)+Math.imul(f,q)|0))<<13)|0;l=((o=o+Math.imul(f,H)|0)+(i>>>13)|0)+(yt>>>26)|0,yt&=67108863,n=Math.imul(y,j),i=(i=Math.imul(y,z))+Math.imul(v,j)|0,o=Math.imul(v,z),n=n+Math.imul(p,q)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,q)|0,o=o+Math.imul(m,H)|0;var vt=(l+(n=n+Math.imul(h,V)|0)|0)+((8191&(i=(i=i+Math.imul(h,W)|0)+Math.imul(f,V)|0))<<13)|0;l=((o=o+Math.imul(f,W)|0)+(i>>>13)|0)+(vt>>>26)|0,vt&=67108863,n=Math.imul(b,j),i=(i=Math.imul(b,z))+Math.imul(A,j)|0,o=Math.imul(A,z),n=n+Math.imul(y,q)|0,i=(i=i+Math.imul(y,H)|0)+Math.imul(v,q)|0,o=o+Math.imul(v,H)|0,n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,W)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,W)|0;var wt=(l+(n=n+Math.imul(h,Y)|0)|0)+((8191&(i=(i=i+Math.imul(h,X)|0)+Math.imul(f,Y)|0))<<13)|0;l=((o=o+Math.imul(f,X)|0)+(i>>>13)|0)+(wt>>>26)|0,wt&=67108863,n=Math.imul(k,j),i=(i=Math.imul(k,z))+Math.imul(_,j)|0,o=Math.imul(_,z),n=n+Math.imul(b,q)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(A,q)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(y,V)|0,i=(i=i+Math.imul(y,W)|0)+Math.imul(v,V)|0,o=o+Math.imul(v,W)|0,n=n+Math.imul(p,Y)|0,i=(i=i+Math.imul(p,X)|0)+Math.imul(m,Y)|0,o=o+Math.imul(m,X)|0;var bt=(l+(n=n+Math.imul(h,$)|0)|0)+((8191&(i=(i=i+Math.imul(h,tt)|0)+Math.imul(f,$)|0))<<13)|0;l=((o=o+Math.imul(f,tt)|0)+(i>>>13)|0)+(bt>>>26)|0,bt&=67108863,n=Math.imul(P,j),i=(i=Math.imul(P,z))+Math.imul(N,j)|0,o=Math.imul(N,z),n=n+Math.imul(k,q)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(_,q)|0,o=o+Math.imul(_,H)|0,n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,W)|0,n=n+Math.imul(y,Y)|0,i=(i=i+Math.imul(y,X)|0)+Math.imul(v,Y)|0,o=o+Math.imul(v,X)|0,n=n+Math.imul(p,$)|0,i=(i=i+Math.imul(p,tt)|0)+Math.imul(m,$)|0,o=o+Math.imul(m,tt)|0;var At=(l+(n=n+Math.imul(h,rt)|0)|0)+((8191&(i=(i=i+Math.imul(h,nt)|0)+Math.imul(f,rt)|0))<<13)|0;l=((o=o+Math.imul(f,nt)|0)+(i>>>13)|0)+(At>>>26)|0,At&=67108863,n=Math.imul(x,j),i=(i=Math.imul(x,z))+Math.imul(C,j)|0,o=Math.imul(C,z),n=n+Math.imul(P,q)|0,i=(i=i+Math.imul(P,H)|0)+Math.imul(N,q)|0,o=o+Math.imul(N,H)|0,n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,W)|0)+Math.imul(_,V)|0,o=o+Math.imul(_,W)|0,n=n+Math.imul(b,Y)|0,i=(i=i+Math.imul(b,X)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,X)|0,n=n+Math.imul(y,$)|0,i=(i=i+Math.imul(y,tt)|0)+Math.imul(v,$)|0,o=o+Math.imul(v,tt)|0,n=n+Math.imul(p,rt)|0,i=(i=i+Math.imul(p,nt)|0)+Math.imul(m,rt)|0,o=o+Math.imul(m,nt)|0;var Et=(l+(n=n+Math.imul(h,ot)|0)|0)+((8191&(i=(i=i+Math.imul(h,st)|0)+Math.imul(f,ot)|0))<<13)|0;l=((o=o+Math.imul(f,st)|0)+(i>>>13)|0)+(Et>>>26)|0,Et&=67108863,n=Math.imul(T,j),i=(i=Math.imul(T,z))+Math.imul(R,j)|0,o=Math.imul(R,z),n=n+Math.imul(x,q)|0,i=(i=i+Math.imul(x,H)|0)+Math.imul(C,q)|0,o=o+Math.imul(C,H)|0,n=n+Math.imul(P,V)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(N,V)|0,o=o+Math.imul(N,W)|0,n=n+Math.imul(k,Y)|0,i=(i=i+Math.imul(k,X)|0)+Math.imul(_,Y)|0,o=o+Math.imul(_,X)|0,n=n+Math.imul(b,$)|0,i=(i=i+Math.imul(b,tt)|0)+Math.imul(A,$)|0,o=o+Math.imul(A,tt)|0,n=n+Math.imul(y,rt)|0,i=(i=i+Math.imul(y,nt)|0)+Math.imul(v,rt)|0,o=o+Math.imul(v,nt)|0,n=n+Math.imul(p,ot)|0,i=(i=i+Math.imul(p,st)|0)+Math.imul(m,ot)|0,o=o+Math.imul(m,st)|0;var kt=(l+(n=n+Math.imul(h,ut)|0)|0)+((8191&(i=(i=i+Math.imul(h,lt)|0)+Math.imul(f,ut)|0))<<13)|0;l=((o=o+Math.imul(f,lt)|0)+(i>>>13)|0)+(kt>>>26)|0,kt&=67108863,n=Math.imul(O,j),i=(i=Math.imul(O,z))+Math.imul(F,j)|0,o=Math.imul(F,z),n=n+Math.imul(T,q)|0,i=(i=i+Math.imul(T,H)|0)+Math.imul(R,q)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(x,V)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(C,V)|0,o=o+Math.imul(C,W)|0,n=n+Math.imul(P,Y)|0,i=(i=i+Math.imul(P,X)|0)+Math.imul(N,Y)|0,o=o+Math.imul(N,X)|0,n=n+Math.imul(k,$)|0,i=(i=i+Math.imul(k,tt)|0)+Math.imul(_,$)|0,o=o+Math.imul(_,tt)|0,n=n+Math.imul(b,rt)|0,i=(i=i+Math.imul(b,nt)|0)+Math.imul(A,rt)|0,o=o+Math.imul(A,nt)|0,n=n+Math.imul(y,ot)|0,i=(i=i+Math.imul(y,st)|0)+Math.imul(v,ot)|0,o=o+Math.imul(v,st)|0,n=n+Math.imul(p,ut)|0,i=(i=i+Math.imul(p,lt)|0)+Math.imul(m,ut)|0,o=o+Math.imul(m,lt)|0;var _t=(l+(n=n+Math.imul(h,ht)|0)|0)+((8191&(i=(i=i+Math.imul(h,ft)|0)+Math.imul(f,ht)|0))<<13)|0;l=((o=o+Math.imul(f,ft)|0)+(i>>>13)|0)+(_t>>>26)|0,_t&=67108863,n=Math.imul(U,j),i=(i=Math.imul(U,z))+Math.imul(L,j)|0,o=Math.imul(L,z),n=n+Math.imul(O,q)|0,i=(i=i+Math.imul(O,H)|0)+Math.imul(F,q)|0,o=o+Math.imul(F,H)|0,n=n+Math.imul(T,V)|0,i=(i=i+Math.imul(T,W)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,W)|0,n=n+Math.imul(x,Y)|0,i=(i=i+Math.imul(x,X)|0)+Math.imul(C,Y)|0,o=o+Math.imul(C,X)|0,n=n+Math.imul(P,$)|0,i=(i=i+Math.imul(P,tt)|0)+Math.imul(N,$)|0,o=o+Math.imul(N,tt)|0,n=n+Math.imul(k,rt)|0,i=(i=i+Math.imul(k,nt)|0)+Math.imul(_,rt)|0,o=o+Math.imul(_,nt)|0,n=n+Math.imul(b,ot)|0,i=(i=i+Math.imul(b,st)|0)+Math.imul(A,ot)|0,o=o+Math.imul(A,st)|0,n=n+Math.imul(y,ut)|0,i=(i=i+Math.imul(y,lt)|0)+Math.imul(v,ut)|0,o=o+Math.imul(v,lt)|0,n=n+Math.imul(p,ht)|0,i=(i=i+Math.imul(p,ft)|0)+Math.imul(m,ht)|0,o=o+Math.imul(m,ft)|0;var St=(l+(n=n+Math.imul(h,pt)|0)|0)+((8191&(i=(i=i+Math.imul(h,mt)|0)+Math.imul(f,pt)|0))<<13)|0;l=((o=o+Math.imul(f,mt)|0)+(i>>>13)|0)+(St>>>26)|0,St&=67108863,n=Math.imul(U,q),i=(i=Math.imul(U,H))+Math.imul(L,q)|0,o=Math.imul(L,H),n=n+Math.imul(O,V)|0,i=(i=i+Math.imul(O,W)|0)+Math.imul(F,V)|0,o=o+Math.imul(F,W)|0,n=n+Math.imul(T,Y)|0,i=(i=i+Math.imul(T,X)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,X)|0,n=n+Math.imul(x,$)|0,i=(i=i+Math.imul(x,tt)|0)+Math.imul(C,$)|0,o=o+Math.imul(C,tt)|0,n=n+Math.imul(P,rt)|0,i=(i=i+Math.imul(P,nt)|0)+Math.imul(N,rt)|0,o=o+Math.imul(N,nt)|0,n=n+Math.imul(k,ot)|0,i=(i=i+Math.imul(k,st)|0)+Math.imul(_,ot)|0,o=o+Math.imul(_,st)|0,n=n+Math.imul(b,ut)|0,i=(i=i+Math.imul(b,lt)|0)+Math.imul(A,ut)|0,o=o+Math.imul(A,lt)|0,n=n+Math.imul(y,ht)|0,i=(i=i+Math.imul(y,ft)|0)+Math.imul(v,ht)|0,o=o+Math.imul(v,ft)|0;var Pt=(l+(n=n+Math.imul(p,pt)|0)|0)+((8191&(i=(i=i+Math.imul(p,mt)|0)+Math.imul(m,pt)|0))<<13)|0;l=((o=o+Math.imul(m,mt)|0)+(i>>>13)|0)+(Pt>>>26)|0,Pt&=67108863,n=Math.imul(U,V),i=(i=Math.imul(U,W))+Math.imul(L,V)|0,o=Math.imul(L,W),n=n+Math.imul(O,Y)|0,i=(i=i+Math.imul(O,X)|0)+Math.imul(F,Y)|0,o=o+Math.imul(F,X)|0,n=n+Math.imul(T,$)|0,i=(i=i+Math.imul(T,tt)|0)+Math.imul(R,$)|0,o=o+Math.imul(R,tt)|0,n=n+Math.imul(x,rt)|0,i=(i=i+Math.imul(x,nt)|0)+Math.imul(C,rt)|0,o=o+Math.imul(C,nt)|0,n=n+Math.imul(P,ot)|0,i=(i=i+Math.imul(P,st)|0)+Math.imul(N,ot)|0,o=o+Math.imul(N,st)|0,n=n+Math.imul(k,ut)|0,i=(i=i+Math.imul(k,lt)|0)+Math.imul(_,ut)|0,o=o+Math.imul(_,lt)|0,n=n+Math.imul(b,ht)|0,i=(i=i+Math.imul(b,ft)|0)+Math.imul(A,ht)|0,o=o+Math.imul(A,ft)|0;var Nt=(l+(n=n+Math.imul(y,pt)|0)|0)+((8191&(i=(i=i+Math.imul(y,mt)|0)+Math.imul(v,pt)|0))<<13)|0;l=((o=o+Math.imul(v,mt)|0)+(i>>>13)|0)+(Nt>>>26)|0,Nt&=67108863,n=Math.imul(U,Y),i=(i=Math.imul(U,X))+Math.imul(L,Y)|0,o=Math.imul(L,X),n=n+Math.imul(O,$)|0,i=(i=i+Math.imul(O,tt)|0)+Math.imul(F,$)|0,o=o+Math.imul(F,tt)|0,n=n+Math.imul(T,rt)|0,i=(i=i+Math.imul(T,nt)|0)+Math.imul(R,rt)|0,o=o+Math.imul(R,nt)|0,n=n+Math.imul(x,ot)|0,i=(i=i+Math.imul(x,st)|0)+Math.imul(C,ot)|0,o=o+Math.imul(C,st)|0,n=n+Math.imul(P,ut)|0,i=(i=i+Math.imul(P,lt)|0)+Math.imul(N,ut)|0,o=o+Math.imul(N,lt)|0,n=n+Math.imul(k,ht)|0,i=(i=i+Math.imul(k,ft)|0)+Math.imul(_,ht)|0,o=o+Math.imul(_,ft)|0;var Mt=(l+(n=n+Math.imul(b,pt)|0)|0)+((8191&(i=(i=i+Math.imul(b,mt)|0)+Math.imul(A,pt)|0))<<13)|0;l=((o=o+Math.imul(A,mt)|0)+(i>>>13)|0)+(Mt>>>26)|0,Mt&=67108863,n=Math.imul(U,$),i=(i=Math.imul(U,tt))+Math.imul(L,$)|0,o=Math.imul(L,tt),n=n+Math.imul(O,rt)|0,i=(i=i+Math.imul(O,nt)|0)+Math.imul(F,rt)|0,o=o+Math.imul(F,nt)|0,n=n+Math.imul(T,ot)|0,i=(i=i+Math.imul(T,st)|0)+Math.imul(R,ot)|0,o=o+Math.imul(R,st)|0,n=n+Math.imul(x,ut)|0,i=(i=i+Math.imul(x,lt)|0)+Math.imul(C,ut)|0,o=o+Math.imul(C,lt)|0,n=n+Math.imul(P,ht)|0,i=(i=i+Math.imul(P,ft)|0)+Math.imul(N,ht)|0,o=o+Math.imul(N,ft)|0;var xt=(l+(n=n+Math.imul(k,pt)|0)|0)+((8191&(i=(i=i+Math.imul(k,mt)|0)+Math.imul(_,pt)|0))<<13)|0;l=((o=o+Math.imul(_,mt)|0)+(i>>>13)|0)+(xt>>>26)|0,xt&=67108863,n=Math.imul(U,rt),i=(i=Math.imul(U,nt))+Math.imul(L,rt)|0,o=Math.imul(L,nt),n=n+Math.imul(O,ot)|0,i=(i=i+Math.imul(O,st)|0)+Math.imul(F,ot)|0,o=o+Math.imul(F,st)|0,n=n+Math.imul(T,ut)|0,i=(i=i+Math.imul(T,lt)|0)+Math.imul(R,ut)|0,o=o+Math.imul(R,lt)|0,n=n+Math.imul(x,ht)|0,i=(i=i+Math.imul(x,ft)|0)+Math.imul(C,ht)|0,o=o+Math.imul(C,ft)|0;var Ct=(l+(n=n+Math.imul(P,pt)|0)|0)+((8191&(i=(i=i+Math.imul(P,mt)|0)+Math.imul(N,pt)|0))<<13)|0;l=((o=o+Math.imul(N,mt)|0)+(i>>>13)|0)+(Ct>>>26)|0,Ct&=67108863,n=Math.imul(U,ot),i=(i=Math.imul(U,st))+Math.imul(L,ot)|0,o=Math.imul(L,st),n=n+Math.imul(O,ut)|0,i=(i=i+Math.imul(O,lt)|0)+Math.imul(F,ut)|0,o=o+Math.imul(F,lt)|0,n=n+Math.imul(T,ht)|0,i=(i=i+Math.imul(T,ft)|0)+Math.imul(R,ht)|0,o=o+Math.imul(R,ft)|0;var It=(l+(n=n+Math.imul(x,pt)|0)|0)+((8191&(i=(i=i+Math.imul(x,mt)|0)+Math.imul(C,pt)|0))<<13)|0;l=((o=o+Math.imul(C,mt)|0)+(i>>>13)|0)+(It>>>26)|0,It&=67108863,n=Math.imul(U,ut),i=(i=Math.imul(U,lt))+Math.imul(L,ut)|0,o=Math.imul(L,lt),n=n+Math.imul(O,ht)|0,i=(i=i+Math.imul(O,ft)|0)+Math.imul(F,ht)|0,o=o+Math.imul(F,ft)|0;var Tt=(l+(n=n+Math.imul(T,pt)|0)|0)+((8191&(i=(i=i+Math.imul(T,mt)|0)+Math.imul(R,pt)|0))<<13)|0;l=((o=o+Math.imul(R,mt)|0)+(i>>>13)|0)+(Tt>>>26)|0,Tt&=67108863,n=Math.imul(U,ht),i=(i=Math.imul(U,ft))+Math.imul(L,ht)|0,o=Math.imul(L,ft);var Rt=(l+(n=n+Math.imul(O,pt)|0)|0)+((8191&(i=(i=i+Math.imul(O,mt)|0)+Math.imul(F,pt)|0))<<13)|0;l=((o=o+Math.imul(F,mt)|0)+(i>>>13)|0)+(Rt>>>26)|0,Rt&=67108863;var Bt=(l+(n=Math.imul(U,pt))|0)+((8191&(i=(i=Math.imul(U,mt))+Math.imul(L,pt)|0))<<13)|0;return l=((o=Math.imul(L,mt))+(i>>>13)|0)+(Bt>>>26)|0,Bt&=67108863,u[0]=gt,u[1]=yt,u[2]=vt,u[3]=wt,u[4]=bt,u[5]=At,u[6]=Et,u[7]=kt,u[8]=_t,u[9]=St,u[10]=Pt,u[11]=Nt,u[12]=Mt,u[13]=xt,u[14]=Ct,u[15]=It,u[16]=Tt,u[17]=Rt,u[18]=Bt,0!==l&&(u[19]=l,r.length++),r};function y(t,e,r){r.negative=e.negative^t.negative,r.length=t.length+e.length;for(var n=0,i=0,o=0;o>>26)|0)>>>26,s&=67108863}r.words[o]=a,n=s,s=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function v(t,e,r){return y(t,e,r)}function w(t,e){this.x=t,this.y=e}Math.imul||(g=m),o.prototype.mulTo=function(t,e){var r=this.length+t.length;return 10===this.length&&10===t.length?g(this,t,e):r<63?m(this,t,e):r<1024?y(this,t,e):v(this,t,e)},w.prototype.makeRBT=function(t){for(var e=new Array(t),r=o.prototype._countBits(t)-1,n=0;n>=1;return n},w.prototype.permute=function(t,e,r,n,i,o){for(var s=0;s>>=1)i++;return 1<>>=13,r[2*s+1]=8191&o,o>>>=13;for(s=2*e;s>=26,r+=o/67108864|0,r+=s>>>26,this.words[i]=67108863&s}return 0!==r&&(this.words[i]=r,this.length++),e?this.ineg():this},o.prototype.muln=function(t){return this.clone().imuln(t)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(t){var e=function(t){for(var e=new Array(t.bitLength()),r=0;r>>i&1}return e}(t);if(0===e.length)return new o(1);for(var r=this,n=0;n=0);var e,r=t%26,i=(t-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var s=0;for(e=0;e>>26-r}s&&(this.words[e]=s,this.length++)}if(0!==i){for(e=this.length-1;e>=0;e--)this.words[e+i]=this.words[e];for(e=0;e=0),i=e?(e-e%26)/26:0;var o=t%26,s=Math.min((t-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==c||l>=i);l--){var h=0|this.words[l];this.words[l]=c<<26-o|h>>>o,c=h&a}return u&&0!==c&&(u.words[u.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(t,e,r){return n(0===this.negative),this.iushrn(t,e,r)},o.prototype.shln=function(t){return this.clone().ishln(t)},o.prototype.ushln=function(t){return this.clone().iushln(t)},o.prototype.shrn=function(t){return this.clone().ishrn(t)},o.prototype.ushrn=function(t){return this.clone().iushrn(t)},o.prototype.testn=function(t){n("number"==typeof t&&t>=0);var e=t%26,r=(t-e)/26,i=1<=0);var e=t%26,r=(t-e)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==e&&r++,this.length=Math.min(r,this.length),0!==e){var i=67108863^67108863>>>e<=67108864;e++)this.words[e]-=67108864,e===this.length-1?this.words[e+1]=1:this.words[e+1]++;return this.length=Math.max(this.length,e+1),this},o.prototype.isubn=function(t){if(n("number"==typeof t),n(t<67108864),t<0)return this.iaddn(-t);if(0!==this.negative)return this.negative=0,this.iaddn(t),this.negative=1,this;if(this.words[0]-=t,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var e=0;e>26)-(u/67108864|0),this.words[i+r]=67108863&o}for(;i>26,this.words[i+r]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,i=0;i>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(t,e){var r=(this.length,t.length),n=this.clone(),i=t,s=0|i.words[i.length-1];0!==(r=26-this._countBits(s))&&(i=i.ushln(r),n.iushln(r),s=0|i.words[i.length-1]);var a,u=n.length-i.length;if("mod"!==e){(a=new o(null)).length=u+1,a.words=new Array(a.length);for(var l=0;l=0;h--){var f=67108864*(0|n.words[i.length+h])+(0|n.words[i.length+h-1]);for(f=Math.min(f/s|0,67108863),n._ishlnsubmul(i,f,h);0!==n.negative;)f--,n.negative=0,n._ishlnsubmul(i,1,h),n.isZero()||(n.negative^=1);a&&(a.words[h]=f)}return a&&a._strip(),n._strip(),"div"!==e&&0!==r&&n.iushrn(r),{div:a||null,mod:n}},o.prototype.divmod=function(t,e,r){return n(!t.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===t.negative?(a=this.neg().divmod(t,e),"mod"!==e&&(i=a.div.neg()),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.iadd(t)),{div:i,mod:s}):0===this.negative&&0!==t.negative?(a=this.divmod(t.neg(),e),"mod"!==e&&(i=a.div.neg()),{div:i,mod:a.mod}):0!=(this.negative&t.negative)?(a=this.neg().divmod(t.neg(),e),"div"!==e&&(s=a.mod.neg(),r&&0!==s.negative&&s.isub(t)),{div:a.div,mod:s}):t.length>this.length||this.cmp(t)<0?{div:new o(0),mod:this}:1===t.length?"div"===e?{div:this.divn(t.words[0]),mod:null}:"mod"===e?{div:null,mod:new o(this.modrn(t.words[0]))}:{div:this.divn(t.words[0]),mod:new o(this.modrn(t.words[0]))}:this._wordDiv(t,e);var i,s,a},o.prototype.div=function(t){return this.divmod(t,"div",!1).div},o.prototype.mod=function(t){return this.divmod(t,"mod",!1).mod},o.prototype.umod=function(t){return this.divmod(t,"mod",!0).mod},o.prototype.divRound=function(t){var e=this.divmod(t);if(e.mod.isZero())return e.div;var r=0!==e.div.negative?e.mod.isub(t):e.mod,n=t.ushrn(1),i=t.andln(1),o=r.cmp(n);return o<0||1===i&&0===o?e.div:0!==e.div.negative?e.div.isubn(1):e.div.iaddn(1)},o.prototype.modrn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=(1<<26)%t,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%t;return e?-i:i},o.prototype.modn=function(t){return this.modrn(t)},o.prototype.idivn=function(t){var e=t<0;e&&(t=-t),n(t<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/t|0,r=o%t}return this._strip(),e?this.ineg():this},o.prototype.divn=function(t){return this.clone().idivn(t)},o.prototype.egcd=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i=new o(1),s=new o(0),a=new o(0),u=new o(1),l=0;e.isEven()&&r.isEven();)e.iushrn(1),r.iushrn(1),++l;for(var c=r.clone(),h=e.clone();!e.isZero();){for(var f=0,d=1;0==(e.words[0]&d)&&f<26;++f,d<<=1);if(f>0)for(e.iushrn(f);f-- >0;)(i.isOdd()||s.isOdd())&&(i.iadd(c),s.isub(h)),i.iushrn(1),s.iushrn(1);for(var p=0,m=1;0==(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(a.isOdd()||u.isOdd())&&(a.iadd(c),u.isub(h)),a.iushrn(1),u.iushrn(1);e.cmp(r)>=0?(e.isub(r),i.isub(a),s.isub(u)):(r.isub(e),a.isub(i),u.isub(s))}return{a:a,b:u,gcd:r.iushln(l)}},o.prototype._invmp=function(t){n(0===t.negative),n(!t.isZero());var e=this,r=t.clone();e=0!==e.negative?e.umod(t):e.clone();for(var i,s=new o(1),a=new o(0),u=r.clone();e.cmpn(1)>0&&r.cmpn(1)>0;){for(var l=0,c=1;0==(e.words[0]&c)&&l<26;++l,c<<=1);if(l>0)for(e.iushrn(l);l-- >0;)s.isOdd()&&s.iadd(u),s.iushrn(1);for(var h=0,f=1;0==(r.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(r.iushrn(h);h-- >0;)a.isOdd()&&a.iadd(u),a.iushrn(1);e.cmp(r)>=0?(e.isub(r),s.isub(a)):(r.isub(e),a.isub(s))}return(i=0===e.cmpn(1)?s:a).cmpn(0)<0&&i.iadd(t),i},o.prototype.gcd=function(t){if(this.isZero())return t.abs();if(t.isZero())return this.abs();var e=this.clone(),r=t.clone();e.negative=0,r.negative=0;for(var n=0;e.isEven()&&r.isEven();n++)e.iushrn(1),r.iushrn(1);for(;;){for(;e.isEven();)e.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=e.cmp(r);if(i<0){var o=e;e=r,r=o}else if(0===i||0===r.cmpn(1))break;e.isub(r)}return r.iushln(n)},o.prototype.invm=function(t){return this.egcd(t).a.umod(t)},o.prototype.isEven=function(){return 0==(1&this.words[0])},o.prototype.isOdd=function(){return 1==(1&this.words[0])},o.prototype.andln=function(t){return this.words[0]&t},o.prototype.bincn=function(t){n("number"==typeof t);var e=t%26,r=(t-e)/26,i=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(t){var e,r=t<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)e=1;else{r&&(t=-t),n(t<=67108863,"Number is too big");var i=0|this.words[0];e=i===t?0:it.length)return 1;if(this.length=0;r--){var n=0|this.words[r],i=0|t.words[r];if(n!==i){ni&&(e=1);break}}return e},o.prototype.gtn=function(t){return 1===this.cmpn(t)},o.prototype.gt=function(t){return 1===this.cmp(t)},o.prototype.gten=function(t){return this.cmpn(t)>=0},o.prototype.gte=function(t){return this.cmp(t)>=0},o.prototype.ltn=function(t){return-1===this.cmpn(t)},o.prototype.lt=function(t){return-1===this.cmp(t)},o.prototype.lten=function(t){return this.cmpn(t)<=0},o.prototype.lte=function(t){return this.cmp(t)<=0},o.prototype.eqn=function(t){return 0===this.cmpn(t)},o.prototype.eq=function(t){return 0===this.cmp(t)},o.red=function(t){return new P(t)},o.prototype.toRed=function(t){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),t.convertTo(this)._forceRed(t)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(t){return this.red=t,this},o.prototype.forceRed=function(t){return n(!this.red,"Already a number in reduction context"),this._forceRed(t)},o.prototype.redAdd=function(t){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,t)},o.prototype.redIAdd=function(t){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,t)},o.prototype.redSub=function(t){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,t)},o.prototype.redISub=function(t){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,t)},o.prototype.redShl=function(t){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,t)},o.prototype.redMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.mul(this,t)},o.prototype.redIMul=function(t){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,t),this.red.imul(this,t)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(t){return n(this.red&&!t.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,t)};var b={k256:null,p224:null,p192:null,p25519:null};function A(t,e){this.name=t,this.p=new o(e,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function E(){A.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function k(){A.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function _(){A.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function S(){A.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function P(t){if("string"==typeof t){var e=o._prime(t);this.m=e.p,this.prime=e}else n(t.gtn(1),"modulus must be greater than 1"),this.m=t,this.prime=null}function N(t){P.call(this,t),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}A.prototype._tmp=function(){var t=new o(null);return t.words=new Array(Math.ceil(this.n/13)),t},A.prototype.ireduce=function(t){var e,r=t;do{this.split(r,this.tmp),e=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(e>this.n);var n=e0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},A.prototype.split=function(t,e){t.iushrn(this.n,0,e)},A.prototype.imulK=function(t){return t.imul(this.k)},i(E,A),E.prototype.split=function(t,e){for(var r=4194303,n=Math.min(t.length,9),i=0;i>>22,o=s}o>>>=22,t.words[i-10]=o,0===o&&t.length>10?t.length-=10:t.length-=9},E.prototype.imulK=function(t){t.words[t.length]=0,t.words[t.length+1]=0,t.length+=2;for(var e=0,r=0;r>>=26,t.words[r]=i,e=n}return 0!==e&&(t.words[t.length++]=e),t},o._prime=function(t){if(b[t])return b[t];var e;if("k256"===t)e=new E;else if("p224"===t)e=new k;else if("p192"===t)e=new _;else{if("p25519"!==t)throw new Error("Unknown prime "+t);e=new S}return b[t]=e,e},P.prototype._verify1=function(t){n(0===t.negative,"red works only with positives"),n(t.red,"red works only with red numbers")},P.prototype._verify2=function(t,e){n(0==(t.negative|e.negative),"red works only with positives"),n(t.red&&t.red===e.red,"red works only with red numbers")},P.prototype.imod=function(t){return this.prime?this.prime.ireduce(t)._forceRed(this):(c(t,t.umod(this.m)._forceRed(this)),t)},P.prototype.neg=function(t){return t.isZero()?t.clone():this.m.sub(t)._forceRed(this)},P.prototype.add=function(t,e){this._verify2(t,e);var r=t.add(e);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},P.prototype.iadd=function(t,e){this._verify2(t,e);var r=t.iadd(e);return r.cmp(this.m)>=0&&r.isub(this.m),r},P.prototype.sub=function(t,e){this._verify2(t,e);var r=t.sub(e);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},P.prototype.isub=function(t,e){this._verify2(t,e);var r=t.isub(e);return r.cmpn(0)<0&&r.iadd(this.m),r},P.prototype.shl=function(t,e){return this._verify1(t),this.imod(t.ushln(e))},P.prototype.imul=function(t,e){return this._verify2(t,e),this.imod(t.imul(e))},P.prototype.mul=function(t,e){return this._verify2(t,e),this.imod(t.mul(e))},P.prototype.isqr=function(t){return this.imul(t,t.clone())},P.prototype.sqr=function(t){return this.mul(t,t)},P.prototype.sqrt=function(t){if(t.isZero())return t.clone();var e=this.m.andln(3);if(n(e%2==1),3===e){var r=this.m.add(new o(1)).iushrn(2);return this.pow(t,r)}for(var i=this.m.subn(1),s=0;!i.isZero()&&0===i.andln(1);)s++,i.iushrn(1);n(!i.isZero());var a=new o(1).toRed(this),u=a.redNeg(),l=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,l).cmp(u);)c.redIAdd(u);for(var h=this.pow(c,i),f=this.pow(t,i.addn(1).iushrn(1)),d=this.pow(t,i),p=s;0!==d.cmp(a);){for(var m=d,g=0;0!==m.cmp(a);g++)m=m.redSqr();n(g=0;n--){for(var l=e.words[n],c=u-1;c>=0;c--){var h=l>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==h||0!==s?(s<<=1,s|=h,(4===++a||0===n&&0===c)&&(i=this.mul(i,r[s]),a=0,s=0)):a=0}u=26}return i},P.prototype.convertTo=function(t){var e=t.umod(this.m);return e===t?e.clone():e},P.prototype.convertFrom=function(t){var e=t.clone();return e.red=null,e},o.mont=function(t){return new N(t)},i(N,P),N.prototype.convertTo=function(t){return this.imod(t.ushln(this.shift))},N.prototype.convertFrom=function(t){var e=this.imod(t.mul(this.rinv));return e.red=null,e},N.prototype.imul=function(t,e){if(t.isZero()||e.isZero())return t.words[0]=0,t.length=1,t;var r=t.imul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},N.prototype.mul=function(t,e){if(t.isZero()||e.isZero())return new o(0)._forceRed(this);var r=t.mul(e),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),s=i;return i.cmp(this.m)>=0?s=i.isub(this.m):i.cmpn(0)<0&&(s=i.iadd(this.m)),s._forceRed(this)},N.prototype.invm=function(t){return this.imod(t._invmp(this.m).mul(this.r2))._forceRed(this)}}(t=r.nmd(t),this)},68903:(t,e,r)=>{"use strict";r.r(e),r.d(e,{BaseContract:()=>Bn,BigNumber:()=>W,Contract:()=>On,ContractFactory:()=>Fn,FixedNumber:()=>Vn,Signer:()=>cr,VoidSigner:()=>hr,Wallet:()=>So,Wordlist:()=>Si,constants:()=>i,errors:()=>g,ethers:()=>u,getDefaultProvider:()=>Eu,logger:()=>$u,providers:()=>o,utils:()=>a,version:()=>Zu,wordlists:()=>xi});var n={};r.r(n),r.d(n,{decode:()=>Nt,encode:()=>_t});var i={};r.r(i),r.d(i,{AddressZero:()=>Mo,EtherSymbol:()=>Co,HashZero:()=>xo,MaxInt256:()=>ge,MaxUint256:()=>pe,MinInt256:()=>me,NegativeOne:()=>le,One:()=>he,Two:()=>fe,WeiPerEther:()=>de,Zero:()=>ce});var o={};r.r(o),r.d(o,{AlchemyProvider:()=>Ma,AlchemyWebSocketProvider:()=>Na,AnkrProvider:()=>Ta,BaseProvider:()=>ra,CloudflareProvider:()=>Oa,EtherscanProvider:()=>Ka,FallbackProvider:()=>ou,Formatter:()=>Ms,InfuraProvider:()=>cu,InfuraWebSocketProvider:()=>lu,IpcProvider:()=>su,JsonRpcBatchProvider:()=>hu,JsonRpcProvider:()=>ma,JsonRpcSigner:()=>fa,NodesmithProvider:()=>du,PocketProvider:()=>gu,Provider:()=>or,Resolver:()=>$s,StaticJsonRpcProvider:()=>ka,UrlJsonRpcProvider:()=>_a,Web3Provider:()=>bu,WebSocketProvider:()=>ba,getDefaultProvider:()=>Eu,getNetwork:()=>Uo,isCommunityResourcable:()=>xs,isCommunityResource:()=>Cs,showThrottleMessage:()=>Ts});var s={};r.r(s),r.d(s,{decode:()=>Lo,encode:()=>Go});var a={};r.r(a),r.d(a,{AbiCoder:()=>Je,ConstructorFragment:()=>Oe,ErrorFragment:()=>Ue,EventFragment:()=>Ie,FormatTypes:()=>Pe,Fragment:()=>Ce,FunctionFragment:()=>Fe,HDNode:()=>Gi,Indexed:()=>Ze,Interface:()=>er,LogDescription:()=>Qe,Logger:()=>v,ParamType:()=>Me,RLP:()=>n,SigningKey:()=>$r,SupportedAlgorithm:()=>yi,TransactionDescription:()=>Ye,TransactionTypes:()=>nn,UnicodeNormalizationForm:()=>Gt,Utf8ErrorFuncs:()=>Kt,Utf8ErrorReason:()=>jt,_TypedDataEncoder:()=>pi,_fetchData:()=>As,_toEscapedUtf8String:()=>Vt,accessListify:()=>dn,arrayify:()=>S,base58:()=>gi,base64:()=>s,checkProperties:()=>it,checkResultErrors:()=>dt,commify:()=>Vu,computeAddress:()=>ln,computeHmac:()=>Ei,computePublicKey:()=>en,concat:()=>P,deepCopy:()=>lt,defaultAbiCoder:()=>Ve,defaultPath:()=>Li,defineReadOnly:()=>et,dnsEncode:()=>ps,entropyToMnemonic:()=>Ki,fetchJson:()=>Es,formatBytes32String:()=>Ku,formatEther:()=>Yu,formatUnits:()=>Wu,getAccountPath:()=>Hi,getAddress:()=>Bt,getContractAddress:()=>Dt,getCreate2Address:()=>Ut,getIcapAddress:()=>Ft,getJsonWalletAddress:()=>bo,getStatic:()=>rt,hashMessage:()=>Xn,hexConcat:()=>B,hexDataLength:()=>T,hexDataSlice:()=>R,hexStripZeros:()=>F,hexValue:()=>O,hexZeroPad:()=>D,hexlify:()=>I,id:()=>Xt,isAddress:()=>Ot,isBytes:()=>_,isBytesLike:()=>E,isHexString:()=>x,isValidMnemonic:()=>qi,isValidName:()=>fs,joinSignature:()=>L,keccak256:()=>wt,mnemonicToEntropy:()=>zi,mnemonicToSeed:()=>ji,namehash:()=>ds,nameprep:()=>zu,parseBytes32String:()=>qu,parseEther:()=>Xu,parseTransaction:()=>wn,parseUnits:()=>Qu,poll:()=>ks,randomBytes:()=>Qi,recoverAddress:()=>cn,recoverPublicKey:()=>tn,resolveProperties:()=>nt,ripemd160:()=>wi,serializeTransaction:()=>yn,sha256:()=>bi,sha512:()=>Ai,shallowCopy:()=>ot,shuffled:()=>qa,solidityKeccak256:()=>Cu,solidityPack:()=>xu,soliditySha256:()=>Iu,splitSignature:()=>U,stripZeros:()=>N,toUtf8Bytes:()=>Ht,toUtf8CodePoints:()=>Yt,toUtf8String:()=>Qt,verifyMessage:()=>Po,verifyTypedData:()=>No,zeroPad:()=>M});var u={};r.r(u),r.d(u,{BaseContract:()=>Bn,BigNumber:()=>W,Contract:()=>On,ContractFactory:()=>Fn,FixedNumber:()=>Vn,Signer:()=>cr,VoidSigner:()=>hr,Wallet:()=>So,Wordlist:()=>Si,constants:()=>i,errors:()=>g,getDefaultProvider:()=>Eu,logger:()=>$u,providers:()=>o,utils:()=>a,version:()=>Zu,wordlists:()=>xi});let l=!1,c=!1;const h={debug:1,default:2,info:2,warning:3,error:4,off:5};let f=h.default,d=null;const p=function(){try{const t=[];if(["NFD","NFC","NFKD","NFKC"].forEach((e=>{try{if("test"!=="test".normalize(e))throw new Error("bad normalize")}catch(r){t.push(e)}})),t.length)throw new Error("missing "+t.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw new Error("broken implementation")}catch(t){return t.message}return null}();var m,g;!function(t){t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.OFF="OFF"}(m||(m={})),function(t){t.UNKNOWN_ERROR="UNKNOWN_ERROR",t.NOT_IMPLEMENTED="NOT_IMPLEMENTED",t.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",t.NETWORK_ERROR="NETWORK_ERROR",t.SERVER_ERROR="SERVER_ERROR",t.TIMEOUT="TIMEOUT",t.BUFFER_OVERRUN="BUFFER_OVERRUN",t.NUMERIC_FAULT="NUMERIC_FAULT",t.MISSING_NEW="MISSING_NEW",t.INVALID_ARGUMENT="INVALID_ARGUMENT",t.MISSING_ARGUMENT="MISSING_ARGUMENT",t.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",t.CALL_EXCEPTION="CALL_EXCEPTION",t.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",t.NONCE_EXPIRED="NONCE_EXPIRED",t.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",t.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",t.TRANSACTION_REPLACED="TRANSACTION_REPLACED",t.ACTION_REJECTED="ACTION_REJECTED"}(g||(g={}));const y="0123456789abcdef";class v{constructor(t){Object.defineProperty(this,"version",{enumerable:!0,value:t,writable:!1})}_log(t,e){const r=t.toLowerCase();null==h[r]&&this.throwArgumentError("invalid log level name","logLevel",t),f>h[r]||console.log.apply(console,e)}debug(...t){this._log(v.levels.DEBUG,t)}info(...t){this._log(v.levels.INFO,t)}warn(...t){this._log(v.levels.WARNING,t)}makeError(t,e,r){if(c)return this.makeError("censored error",e,{});e||(e=v.errors.UNKNOWN_ERROR),r||(r={});const n=[];Object.keys(r).forEach((t=>{const e=r[t];try{if(e instanceof Uint8Array){let r="";for(let t=0;t>4],r+=y[15&e[t]];n.push(t+"=Uint8Array(0x"+r+")")}else n.push(t+"="+JSON.stringify(e))}catch(s){n.push(t+"="+JSON.stringify(r[t].toString()))}})),n.push(`code=${e}`),n.push(`version=${this.version}`);const i=t;let o="";switch(e){case g.NUMERIC_FAULT:{o="NUMERIC_FAULT";const e=t;switch(e){case"overflow":case"underflow":case"division-by-zero":o+="-"+e;break;case"negative-power":case"negative-width":o+="-unsupported";break;case"unbound-bitwise-result":o+="-unbound-result"}break}case g.CALL_EXCEPTION:case g.INSUFFICIENT_FUNDS:case g.MISSING_NEW:case g.NONCE_EXPIRED:case g.REPLACEMENT_UNDERPRICED:case g.TRANSACTION_REPLACED:case g.UNPREDICTABLE_GAS_LIMIT:o=e}o&&(t+=" [ See: https://links.ethers.org/v5-errors-"+o+" ]"),n.length&&(t+=" ("+n.join(", ")+")");const s=new Error(t);return s.reason=i,s.code=e,Object.keys(r).forEach((function(t){s[t]=r[t]})),s}throwError(t,e,r){throw this.makeError(t,e,r)}throwArgumentError(t,e,r){return this.throwError(t,v.errors.INVALID_ARGUMENT,{argument:e,value:r})}assert(t,e,r,n){t||this.throwError(e,r,n)}assertArgument(t,e,r,n){t||this.throwArgumentError(e,r,n)}checkNormalize(t){null==t&&(t="platform missing String.prototype.normalize"),p&&this.throwError("platform missing String.prototype.normalize",v.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:p})}checkSafeUint53(t,e){"number"==typeof t&&(null==e&&(e="value not safe"),(t<0||t>=9007199254740991)&&this.throwError(e,v.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:t}),t%1&&this.throwError(e,v.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:t}))}checkArgumentCount(t,e,r){r=r?": "+r:"",te&&this.throwError("too many arguments"+r,v.errors.UNEXPECTED_ARGUMENT,{count:t,expectedCount:e})}checkNew(t,e){t!==Object&&null!=t||this.throwError("missing new",v.errors.MISSING_NEW,{name:e.name})}checkAbstract(t,e){t===e?this.throwError("cannot instantiate abstract class "+JSON.stringify(e.name)+" directly; use a sub-class",v.errors.UNSUPPORTED_OPERATION,{name:t.name,operation:"new"}):t!==Object&&null!=t||this.throwError("missing new",v.errors.MISSING_NEW,{name:e.name})}static globalLogger(){return d||(d=new v("logger/5.7.0")),d}static setCensorship(t,e){if(!t&&e&&this.globalLogger().throwError("cannot permanently disable censorship",v.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),l){if(!t)return;this.globalLogger().throwError("error censorship permanent",v.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}c=!!t,l=!!e}static setLogLevel(t){const e=h[t.toLowerCase()];null!=e?f=e:v.globalLogger().warn("invalid log level - "+t)}static from(t){return new v(t)}}v.errors=g,v.levels=m;const w=new v("bytes/5.7.0");function b(t){return!!t.toHexString}function A(t){return t.slice||(t.slice=function(){const e=Array.prototype.slice.call(arguments);return A(new Uint8Array(Array.prototype.slice.apply(t,e)))}),t}function E(t){return x(t)&&!(t.length%2)||_(t)}function k(t){return"number"==typeof t&&t==t&&t%1==0}function _(t){if(null==t)return!1;if(t.constructor===Uint8Array)return!0;if("string"==typeof t)return!1;if(!k(t.length)||t.length<0)return!1;for(let e=0;e=256)return!1}return!0}function S(t,e){if(e||(e={}),"number"==typeof t){w.checkSafeUint53(t,"invalid arrayify value");const e=[];for(;t;)e.unshift(255&t),t=parseInt(String(t/256));return 0===e.length&&e.push(0),A(new Uint8Array(e))}if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),b(t)&&(t=t.toHexString()),x(t)){let r=t.substring(2);r.length%2&&("left"===e.hexPad?r="0"+r:"right"===e.hexPad?r+="0":w.throwArgumentError("hex data is odd-length","value",t));const n=[];for(let t=0;tS(t))),r=e.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(r);return e.reduce(((t,e)=>(n.set(e,t),t+e.length)),0),A(n)}function N(t){let e=S(t);if(0===e.length)return e;let r=0;for(;re&&w.throwArgumentError("value out of range","value",arguments[0]);const r=new Uint8Array(e);return r.set(t,e-t.length),A(r)}function x(t,e){return!("string"!=typeof t||!t.match(/^0x[0-9A-Fa-f]*$/))&&(!e||t.length===2+2*e)}const C="0123456789abcdef";function I(t,e){if(e||(e={}),"number"==typeof t){w.checkSafeUint53(t,"invalid hexlify value");let e="";for(;t;)e=C[15&t]+e,t=Math.floor(t/16);return e.length?(e.length%2&&(e="0"+e),"0x"+e):"0x00"}if("bigint"==typeof t)return(t=t.toString(16)).length%2?"0x0"+t:"0x"+t;if(e.allowMissingPrefix&&"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),b(t))return t.toHexString();if(x(t))return t.length%2&&("left"===e.hexPad?t="0x0"+t.substring(2):"right"===e.hexPad?t+="0":w.throwArgumentError("hex data is odd-length","value",t)),t.toLowerCase();if(_(t)){let e="0x";for(let r=0;r>4]+C[15&n]}return e}return w.throwArgumentError("invalid hexlify value","value",t)}function T(t){if("string"!=typeof t)t=I(t);else if(!x(t)||t.length%2)return null;return(t.length-2)/2}function R(t,e,r){return"string"!=typeof t?t=I(t):(!x(t)||t.length%2)&&w.throwArgumentError("invalid hexData","value",t),e=2+2*e,null!=r?"0x"+t.substring(e,2+2*r):"0x"+t.substring(e)}function B(t){let e="0x";return t.forEach((t=>{e+=I(t).substring(2)})),e}function O(t){const e=F(I(t,{hexPad:"left"}));return"0x"===e?"0x0":e}function F(t){"string"!=typeof t&&(t=I(t)),x(t)||w.throwArgumentError("invalid hex string","value",t),t=t.substring(2);let e=0;for(;e2*e+2&&w.throwArgumentError("value out of range","value",arguments[1]);t.length<2*e+2;)t="0x0"+t.substring(2);return t}function U(t){const e={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(E(t)){let r=S(t);64===r.length?(e.v=27+(r[32]>>7),r[32]&=127,e.r=I(r.slice(0,32)),e.s=I(r.slice(32,64))):65===r.length?(e.r=I(r.slice(0,32)),e.s=I(r.slice(32,64)),e.v=r[64]):w.throwArgumentError("invalid signature string","signature",t),e.v<27&&(0===e.v||1===e.v?e.v+=27:w.throwArgumentError("signature invalid v byte","signature",t)),e.recoveryParam=1-e.v%2,e.recoveryParam&&(r[32]|=128),e._vs=I(r.slice(32,64))}else{if(e.r=t.r,e.s=t.s,e.v=t.v,e.recoveryParam=t.recoveryParam,e._vs=t._vs,null!=e._vs){const r=M(S(e._vs),32);e._vs=I(r);const n=r[0]>=128?1:0;null==e.recoveryParam?e.recoveryParam=n:e.recoveryParam!==n&&w.throwArgumentError("signature recoveryParam mismatch _vs","signature",t),r[0]&=127;const i=I(r);null==e.s?e.s=i:e.s!==i&&w.throwArgumentError("signature v mismatch _vs","signature",t)}if(null==e.recoveryParam)null==e.v?w.throwArgumentError("signature missing v and recoveryParam","signature",t):0===e.v||1===e.v?e.recoveryParam=e.v:e.recoveryParam=1-e.v%2;else if(null==e.v)e.v=27+e.recoveryParam;else{const r=0===e.v||1===e.v?e.v:1-e.v%2;e.recoveryParam!==r&&w.throwArgumentError("signature recoveryParam mismatch v","signature",t)}null!=e.r&&x(e.r)?e.r=D(e.r,32):w.throwArgumentError("signature missing or invalid r","signature",t),null!=e.s&&x(e.s)?e.s=D(e.s,32):w.throwArgumentError("signature missing or invalid s","signature",t);const r=S(e.s);r[0]>=128&&w.throwArgumentError("signature s out of range","signature",t),e.recoveryParam&&(r[0]|=128);const n=I(r);e._vs&&(x(e._vs)||w.throwArgumentError("signature invalid _vs","signature",t),e._vs=D(e._vs,32)),null==e._vs?e._vs=n:e._vs!==n&&w.throwArgumentError("signature _vs mismatch v and s","signature",t)}return e.yParityAndS=e._vs,e.compact=e.r+e.yParityAndS.substring(2),e}function L(t){return I(P([(t=U(t)).r,t.s,t.recoveryParam?"0x1c":"0x1b"]))}var G=r(13550),j=r.n(G);const z="bignumber/5.7.0";var K=j().BN;const q=new v(z),H={},J=9007199254740991;let V=!1;class W{constructor(t,e){t!==H&&q.throwError("cannot call constructor directly; use BigNumber.from",v.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=e,this._isBigNumber=!0,Object.freeze(this)}fromTwos(t){return Y(X(this).fromTwos(t))}toTwos(t){return Y(X(this).toTwos(t))}abs(){return"-"===this._hex[0]?W.from(this._hex.substring(1)):this}add(t){return Y(X(this).add(X(t)))}sub(t){return Y(X(this).sub(X(t)))}div(t){return W.from(t).isZero()&&Z("division-by-zero","div"),Y(X(this).div(X(t)))}mul(t){return Y(X(this).mul(X(t)))}mod(t){const e=X(t);return e.isNeg()&&Z("division-by-zero","mod"),Y(X(this).umod(e))}pow(t){const e=X(t);return e.isNeg()&&Z("negative-power","pow"),Y(X(this).pow(e))}and(t){const e=X(t);return(this.isNegative()||e.isNeg())&&Z("unbound-bitwise-result","and"),Y(X(this).and(e))}or(t){const e=X(t);return(this.isNegative()||e.isNeg())&&Z("unbound-bitwise-result","or"),Y(X(this).or(e))}xor(t){const e=X(t);return(this.isNegative()||e.isNeg())&&Z("unbound-bitwise-result","xor"),Y(X(this).xor(e))}mask(t){return(this.isNegative()||t<0)&&Z("negative-width","mask"),Y(X(this).maskn(t))}shl(t){return(this.isNegative()||t<0)&&Z("negative-width","shl"),Y(X(this).shln(t))}shr(t){return(this.isNegative()||t<0)&&Z("negative-width","shr"),Y(X(this).shrn(t))}eq(t){return X(this).eq(X(t))}lt(t){return X(this).lt(X(t))}lte(t){return X(this).lte(X(t))}gt(t){return X(this).gt(X(t))}gte(t){return X(this).gte(X(t))}isNegative(){return"-"===this._hex[0]}isZero(){return X(this).isZero()}toNumber(){try{return X(this).toNumber()}catch(t){Z("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(t){}return q.throwError("this platform does not support BigInt",v.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?V||(V=!0,q.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?q.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",v.errors.UNEXPECTED_ARGUMENT,{}):q.throwError("BigNumber.toString does not accept parameters",v.errors.UNEXPECTED_ARGUMENT,{})),X(this).toString(10)}toHexString(){return this._hex}toJSON(t){return{type:"BigNumber",hex:this.toHexString()}}static from(t){if(t instanceof W)return t;if("string"==typeof t)return t.match(/^-?0x[0-9a-f]+$/i)?new W(H,Q(t)):t.match(/^-?[0-9]+$/)?new W(H,Q(new K(t))):q.throwArgumentError("invalid BigNumber string","value",t);if("number"==typeof t)return t%1&&Z("underflow","BigNumber.from",t),(t>=J||t<=-J)&&Z("overflow","BigNumber.from",t),W.from(String(t));const e=t;if("bigint"==typeof e)return W.from(e.toString());if(_(e))return W.from(I(e));if(e)if(e.toHexString){const t=e.toHexString();if("string"==typeof t)return W.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&(x(t)||"-"===t[0]&&x(t.substring(1))))return W.from(t)}return q.throwArgumentError("invalid BigNumber value","value",t)}static isBigNumber(t){return!(!t||!t._isBigNumber)}}function Q(t){if("string"!=typeof t)return Q(t.toString(16));if("-"===t[0])return"-"===(t=t.substring(1))[0]&&q.throwArgumentError("invalid hex","value",t),"0x00"===(t=Q(t))?t:"-"+t;if("0x"!==t.substring(0,2)&&(t="0x"+t),"0x"===t)return"0x00";for(t.length%2&&(t="0x0"+t.substring(2));t.length>4&&"0x00"===t.substring(0,4);)t="0x"+t.substring(4);return t}function Y(t){return W.from(Q(t))}function X(t){const e=W.from(t).toHexString();return"-"===e[0]?new K("-"+e.substring(3),16):new K(e.substring(2),16)}function Z(t,e,r){const n={fault:t,operation:e};return null!=r&&(n.value=r),q.throwError(t,v.errors.NUMERIC_FAULT,n)}var $=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const tt=new v("properties/5.7.0");function et(t,e,r){Object.defineProperty(t,e,{enumerable:!0,value:r,writable:!1})}function rt(t,e){for(let r=0;r<32;r++){if(t[e])return t[e];if(!t.prototype||"object"!=typeof t.prototype)break;t=Object.getPrototypeOf(t.prototype).constructor}return null}function nt(t){return $(this,void 0,void 0,(function*(){const e=Object.keys(t).map((e=>{const r=t[e];return Promise.resolve(r).then((t=>({key:e,value:t})))}));return(yield Promise.all(e)).reduce(((t,e)=>(t[e.key]=e.value,t)),{})}))}function it(t,e){t&&"object"==typeof t||tt.throwArgumentError("invalid object","object",t),Object.keys(t).forEach((r=>{e[r]||tt.throwArgumentError("invalid object key - "+r,"transaction:"+r,t)}))}function ot(t){const e={};for(const r in t)e[r]=t[r];return e}const st={bigint:!0,boolean:!0,function:!0,number:!0,string:!0};function at(t){if(null==t||st[typeof t])return!0;if(Array.isArray(t)||"object"==typeof t){if(!Object.isFrozen(t))return!1;const r=Object.keys(t);for(let n=0;nlt(t))));if("object"==typeof t){const e={};for(const r in t){const n=t[r];void 0!==n&&et(e,r,lt(n))}return e}return tt.throwArgumentError("Cannot deepCopy "+typeof t,"object",t)}function lt(t){return ut(t)}class ct{constructor(t){for(const e in t)this[e]=lt(t[e])}}const ht="abi/5.7.0",ft=new v(ht);function dt(t){const e=[],r=function(t,n){if(Array.isArray(n))for(let o in n){const s=t.slice();s.push(o);try{r(s,n[o])}catch(i){e.push({path:s,error:i})}}};return r([],t),e}class pt{constructor(t,e,r,n){this.name=t,this.type=e,this.localName=r,this.dynamic=n}_throwError(t,e){ft.throwArgumentError(t,this.localName,e)}}class mt{constructor(t){et(this,"wordSize",t||32),this._data=[],this._dataLength=0,this._padding=new Uint8Array(t)}get data(){return B(this._data)}get length(){return this._dataLength}_writeData(t){return this._data.push(t),this._dataLength+=t.length,t.length}appendWriter(t){return this._writeData(P(t._data))}writeBytes(t){let e=S(t);const r=e.length%this.wordSize;return r&&(e=P([e,this._padding.slice(r)])),this._writeData(e)}_getValue(t){let e=S(W.from(t));return e.length>this.wordSize&&ft.throwError("value out-of-bounds",v.errors.BUFFER_OVERRUN,{length:this.wordSize,offset:e.length}),e.length%this.wordSize&&(e=P([this._padding.slice(e.length%this.wordSize),e])),e}writeValue(t){return this._writeData(this._getValue(t))}writeUpdatableValue(){const t=this._data.length;return this._data.push(this._padding),this._dataLength+=this.wordSize,e=>{this._data[t]=this._getValue(e)}}}class gt{constructor(t,e,r,n){et(this,"_data",S(t)),et(this,"wordSize",e||32),et(this,"_coerceFunc",r),et(this,"allowLoose",n),this._offset=0}get data(){return I(this._data)}get consumed(){return this._offset}static coerce(t,e){let r=t.match("^u?int([0-9]+)$");return r&&parseInt(r[1])<=48&&(e=e.toNumber()),e}coerce(t,e){return this._coerceFunc?this._coerceFunc(t,e):gt.coerce(t,e)}_peekBytes(t,e,r){let n=Math.ceil(e/this.wordSize)*this.wordSize;return this._offset+n>this._data.length&&(this.allowLoose&&r&&this._offset+e<=this._data.length?n=e:ft.throwError("data out-of-bounds",v.errors.BUFFER_OVERRUN,{length:this._data.length,offset:this._offset+n})),this._data.slice(this._offset,this._offset+n)}subReader(t){return new gt(this._data.slice(this._offset+t),this.wordSize,this._coerceFunc,this.allowLoose)}readBytes(t,e){let r=this._peekBytes(0,t,!!e);return this._offset+=r.length,r.slice(0,t)}readValue(){return W.from(this.readBytes(this.wordSize))}}var yt=r(91094),vt=r.n(yt);function wt(t){return"0x"+vt().keccak_256(S(t))}const bt=new v("rlp/5.7.0");function At(t){const e=[];for(;t;)e.unshift(255&t),t>>=8;return e}function Et(t,e,r){let n=0;for(let i=0;ie+1+n&&bt.throwError("child data too short",v.errors.BUFFER_OVERRUN,{})}return{consumed:1+n,result:i}}function Pt(t,e){if(0===t.length&&bt.throwError("data too short",v.errors.BUFFER_OVERRUN,{}),t[e]>=248){const r=t[e]-247;e+1+r>t.length&&bt.throwError("data short segment too short",v.errors.BUFFER_OVERRUN,{});const n=Et(t,e+1,r);return e+1+r+n>t.length&&bt.throwError("data long segment too short",v.errors.BUFFER_OVERRUN,{}),St(t,e,e+1+r,r+n)}if(t[e]>=192){const r=t[e]-192;return e+1+r>t.length&&bt.throwError("data array too short",v.errors.BUFFER_OVERRUN,{}),St(t,e,e+1,r)}if(t[e]>=184){const r=t[e]-183;e+1+r>t.length&&bt.throwError("data array too short",v.errors.BUFFER_OVERRUN,{});const n=Et(t,e+1,r);e+1+r+n>t.length&&bt.throwError("data array too short",v.errors.BUFFER_OVERRUN,{});return{consumed:1+r+n,result:I(t.slice(e+1+r,e+1+r+n))}}if(t[e]>=128){const r=t[e]-128;e+1+r>t.length&&bt.throwError("data too short",v.errors.BUFFER_OVERRUN,{});return{consumed:1+r,result:I(t.slice(e+1,e+1+r))}}return{consumed:1,result:I(t[e])}}function Nt(t){const e=S(t),r=Pt(e,0);return r.consumed!==e.length&&bt.throwArgumentError("invalid rlp data","data",t),r.result}const Mt=new v("address/5.7.0");function xt(t){x(t,20)||Mt.throwArgumentError("invalid address","address",t);const e=(t=t.toLowerCase()).substring(2).split(""),r=new Uint8Array(40);for(let i=0;i<40;i++)r[i]=e[i].charCodeAt(0);const n=S(wt(r));for(let i=0;i<40;i+=2)n[i>>1]>>4>=8&&(e[i]=e[i].toUpperCase()),(15&n[i>>1])>=8&&(e[i+1]=e[i+1].toUpperCase());return"0x"+e.join("")}const Ct={};for(let el=0;el<10;el++)Ct[String(el)]=String(el);for(let el=0;el<26;el++)Ct[String.fromCharCode(65+el)]=String(10+el);const It=Math.floor((Tt=9007199254740991,Math.log10?Math.log10(Tt):Math.log(Tt)/Math.LN10));var Tt;function Rt(t){let e=(t=(t=t.toUpperCase()).substring(4)+t.substring(0,2)+"00").split("").map((t=>Ct[t])).join("");for(;e.length>=It;){let t=e.substring(0,It);e=parseInt(t,10)%97+e.substring(t.length)}let r=String(98-parseInt(e,10)%97);for(;r.length<2;)r="0"+r;return r}function Bt(t){let e=null;if("string"!=typeof t&&Mt.throwArgumentError("invalid address","address",t),t.match(/^(0x)?[0-9a-fA-F]{40}$/))"0x"!==t.substring(0,2)&&(t="0x"+t),e=xt(t),t.match(/([A-F].*[a-f])|([a-f].*[A-F])/)&&e!==t&&Mt.throwArgumentError("bad address checksum","address",t);else if(t.match(/^XE[0-9]{2}[0-9A-Za-z]{30,31}$/)){for(t.substring(2,4)!==Rt(t)&&Mt.throwArgumentError("bad icap checksum","address",t),r=t.substring(4),e=new K(r,36).toString(16);e.length<40;)e="0"+e;e=xt("0x"+e)}else Mt.throwArgumentError("invalid address","address",t);var r;return e}function Ot(t){try{return Bt(t),!0}catch(e){}return!1}function Ft(t){let e=(r=Bt(t).substring(2),new K(r,16).toString(36)).toUpperCase();for(var r;e.length<30;)e="0"+e;return"XE"+Rt("XE00"+e)+e}function Dt(t){let e=null;try{e=Bt(t.from)}catch(r){Mt.throwArgumentError("missing from address","transaction",t)}return Bt(R(wt(_t([e,N(S(W.from(t.nonce).toHexString()))])),12))}function Ut(t,e,r){return 32!==T(e)&&Mt.throwArgumentError("salt must be 32 bytes","salt",e),32!==T(r)&&Mt.throwArgumentError("initCodeHash must be 32 bytes","initCodeHash",r),Bt(R(wt(P(["0xff",Bt(t),e,r])),12))}const Lt=new v("strings/5.7.0");var Gt,jt;function zt(t,e,r,n,i){if(t===jt.BAD_PREFIX||t===jt.UNEXPECTED_CONTINUE){let t=0;for(let n=e+1;n>6==2;n++)t++;return t}return t===jt.OVERRUN?r.length-e-1:0}!function(t){t.current="",t.NFC="NFC",t.NFD="NFD",t.NFKC="NFKC",t.NFKD="NFKD"}(Gt||(Gt={})),function(t){t.UNEXPECTED_CONTINUE="unexpected continuation byte",t.BAD_PREFIX="bad codepoint prefix",t.OVERRUN="string overrun",t.MISSING_CONTINUE="missing continuation byte",t.OUT_OF_RANGE="out of UTF-8 range",t.UTF16_SURROGATE="UTF-16 surrogate",t.OVERLONG="overlong representation"}(jt||(jt={}));const Kt=Object.freeze({error:function(t,e,r,n,i){return Lt.throwArgumentError(`invalid codepoint at offset ${e}; ${t}`,"bytes",r)},ignore:zt,replace:function(t,e,r,n,i){return t===jt.OVERLONG?(n.push(i),0):(n.push(65533),zt(t,e,r))}});function qt(t,e){null==e&&(e=Kt.error),t=S(t);const r=[];let n=0;for(;n>7==0){r.push(i);continue}let o=null,s=null;if(192==(224&i))o=1,s=127;else if(224==(240&i))o=2,s=2047;else{if(240!=(248&i)){n+=e(128==(192&i)?jt.UNEXPECTED_CONTINUE:jt.BAD_PREFIX,n-1,t,r);continue}o=3,s=65535}if(n-1+o>=t.length){n+=e(jt.OVERRUN,n-1,t,r);continue}let a=i&(1<<8-o-1)-1;for(let u=0;u1114111?n+=e(jt.OUT_OF_RANGE,n-1-o,t,r,a):a>=55296&&a<=57343?n+=e(jt.UTF16_SURROGATE,n-1-o,t,r,a):a<=s?n+=e(jt.OVERLONG,n-1-o,t,r,a):r.push(a))}return r}function Ht(t,e=Gt.current){e!=Gt.current&&(Lt.checkNormalize(),t=t.normalize(e));let r=[];for(let n=0;n>6|192),r.push(63&e|128);else if(55296==(64512&e)){n++;const i=t.charCodeAt(n);if(n>=t.length||56320!=(64512&i))throw new Error("invalid utf-8 string");const o=65536+((1023&e)<<10)+(1023&i);r.push(o>>18|240),r.push(o>>12&63|128),r.push(o>>6&63|128),r.push(63&o|128)}else r.push(e>>12|224),r.push(e>>6&63|128),r.push(63&e|128)}return S(r)}function Jt(t){const e="0000"+t.toString(16);return"\\u"+e.substring(e.length-4)}function Vt(t,e){return'"'+qt(t,e).map((t=>{if(t<256){switch(t){case 8:return"\\b";case 9:return"\\t";case 10:return"\\n";case 13:return"\\r";case 34:return'\\"';case 92:return"\\\\"}if(t>=32&&t<127)return String.fromCharCode(t)}return t<=65535?Jt(t):Jt(55296+((t-=65536)>>10&1023))+Jt(56320+(1023&t))})).join("")+'"'}function Wt(t){return t.map((t=>t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10&1023),56320+(1023&t))))).join("")}function Qt(t,e){return Wt(qt(t,e))}function Yt(t,e=Gt.current){return qt(Ht(t,e))}function Xt(t){return wt(Ht(t))}class Zt extends pt{constructor(t){super("address","address",t,!1)}defaultValue(){return"0x0000000000000000000000000000000000000000"}encode(t,e){try{e=Bt(e)}catch(r){this._throwError(r.message,e)}return t.writeValue(e)}decode(t){return Bt(D(t.readValue().toHexString(),20))}}class $t extends pt{constructor(t){super(t.name,t.type,void 0,t.dynamic),this.coder=t}defaultValue(){return this.coder.defaultValue()}encode(t,e){return this.coder.encode(t,e)}decode(t){return this.coder.decode(t)}}const te=new v(ht);function ee(t,e,r){let n=null;if(Array.isArray(r))n=r;else if(r&&"object"==typeof r){let t={};n=e.map((e=>{const n=e.localName;return n||te.throwError("cannot encode object for signature with missing names",v.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),t[n]&&te.throwError("cannot encode object for signature with duplicate names",v.errors.INVALID_ARGUMENT,{argument:"values",coder:e,value:r}),t[n]=!0,r[n]}))}else te.throwArgumentError("invalid tuple value","tuple",r);e.length!==n.length&&te.throwArgumentError("types/value length mismatch","tuple",r);let i=new mt(t.wordSize),o=new mt(t.wordSize),s=[];e.forEach(((t,e)=>{let r=n[e];if(t.dynamic){let e=o.length;t.encode(o,r);let n=i.writeUpdatableValue();s.push((t=>{n(t+e)}))}else t.encode(i,r)})),s.forEach((t=>{t(i.length)}));let a=t.appendWriter(i);return a+=t.appendWriter(o),a}function re(t,e){let r=[],n=t.subReader(0);e.forEach((e=>{let i=null;if(e.dynamic){let r=t.readValue(),s=n.subReader(r.toNumber());try{i=e.decode(s)}catch(o){if(o.code===v.errors.BUFFER_OVERRUN)throw o;i=o,i.baseType=e.name,i.name=e.localName,i.type=e.type}}else try{i=e.decode(t)}catch(o){if(o.code===v.errors.BUFFER_OVERRUN)throw o;i=o,i.baseType=e.name,i.name=e.localName,i.type=e.type}null!=i&&r.push(i)}));const i=e.reduce(((t,e)=>{const r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});e.forEach(((t,e)=>{let n=t.localName;if(!n||1!==i[n])return;if("length"===n&&(n="_length"),null!=r[n])return;const o=r[e];o instanceof Error?Object.defineProperty(r,n,{enumerable:!0,get:()=>{throw o}}):r[n]=o}));for(let o=0;o{throw t}})}return Object.freeze(r)}class ne extends pt{constructor(t,e,r){super("array",t.type+"["+(e>=0?e:"")+"]",r,-1===e||t.dynamic),this.coder=t,this.length=e}defaultValue(){const t=this.coder.defaultValue(),e=[];for(let r=0;rt._data.length&&te.throwError("insufficient data length",v.errors.BUFFER_OVERRUN,{length:t._data.length,count:e}));let r=[];for(let n=0;n{t.dynamic&&(r=!0),n.push(t.type)}));super("tuple","tuple("+n.join(",")+")",e,r),this.coders=t}defaultValue(){const t=[];this.coders.forEach((e=>{t.push(e.defaultValue())}));const e=this.coders.reduce(((t,e)=>{const r=e.localName;return r&&(t[r]||(t[r]=0),t[r]++),t}),{});return this.coders.forEach(((r,n)=>{let i=r.localName;i&&1===e[i]&&("length"===i&&(i="_length"),null==t[i]&&(t[i]=t[n]))})),Object.freeze(t)}encode(t,e){return ee(t,this.coders,e)}decode(t){return t.coerce(this.name,re(t,this.coders))}}const be=new v(ht),Ae={};let Ee={calldata:!0,memory:!0,storage:!0},ke={calldata:!0,memory:!0};function _e(t,e){if("bytes"===t||"string"===t){if(Ee[e])return!0}else if("address"===t){if("payable"===e)return!0}else if((t.indexOf("[")>=0||"tuple"===t)&&ke[e])return!0;return(Ee[e]||"payable"===e)&&be.throwArgumentError("invalid modifier","name",e),!1}function Se(t,e){for(let r in e)et(t,r,e[r])}const Pe=Object.freeze({sighash:"sighash",minimal:"minimal",full:"full",json:"json"}),Ne=new RegExp(/^(.*)\[([0-9]*)\]$/);class Me{constructor(t,e){t!==Ae&&be.throwError("use fromString",v.errors.UNSUPPORTED_OPERATION,{operation:"new ParamType()"}),Se(this,e);let r=this.type.match(Ne);Se(this,r?{arrayLength:parseInt(r[2]||"-1"),arrayChildren:Me.fromObject({type:r[1],components:this.components}),baseType:"array"}:{arrayLength:null,arrayChildren:null,baseType:null!=this.components?"tuple":this.type}),this._isParamType=!0,Object.freeze(this)}format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json){let e={type:"tuple"===this.baseType?"tuple":this.type,name:this.name||void 0};return"boolean"==typeof this.indexed&&(e.indexed=this.indexed),this.components&&(e.components=this.components.map((e=>JSON.parse(e.format(t))))),JSON.stringify(e)}let e="";return"array"===this.baseType?(e+=this.arrayChildren.format(t),e+="["+(this.arrayLength<0?"":String(this.arrayLength))+"]"):"tuple"===this.baseType?(t!==Pe.sighash&&(e+=this.type),e+="("+this.components.map((e=>e.format(t))).join(t===Pe.full?", ":",")+")"):e+=this.type,t!==Pe.sighash&&(!0===this.indexed&&(e+=" indexed"),t===Pe.full&&this.name&&(e+=" "+this.name)),e}static from(t,e){return"string"==typeof t?Me.fromString(t,e):Me.fromObject(t)}static fromObject(t){return Me.isParamType(t)?t:new Me(Ae,{name:t.name||null,type:Le(t.type),indexed:null==t.indexed?null:!!t.indexed,components:t.components?t.components.map(Me.fromObject):null})}static fromString(t,e){return r=function(t,e){let r=t;function n(e){be.throwArgumentError(`unexpected character at position ${e}`,"param",t)}function i(t){let r={type:"",name:"",parent:t,state:{allowType:!0}};return e&&(r.indexed=!1),r}t=t.replace(/\s/g," ");let o={type:"",name:"",state:{allowType:!0}},s=o;for(let a=0;aMe.fromString(t,e)))}class Ce{constructor(t,e){t!==Ae&&be.throwError("use a static from method",v.errors.UNSUPPORTED_OPERATION,{operation:"new Fragment()"}),Se(this,e),this._isFragment=!0,Object.freeze(this)}static from(t){return Ce.isFragment(t)?t:"string"==typeof t?Ce.fromString(t):Ce.fromObject(t)}static fromObject(t){if(Ce.isFragment(t))return t;switch(t.type){case"function":return Fe.fromObject(t);case"event":return Ie.fromObject(t);case"constructor":return Oe.fromObject(t);case"error":return Ue.fromObject(t);case"fallback":case"receive":return null}return be.throwArgumentError("invalid fragment object","value",t)}static fromString(t){return"event"===(t=(t=(t=t.replace(/\s/g," ")).replace(/\(/g," (").replace(/\)/g,") ").replace(/\s+/g," ")).trim()).split(" ")[0]?Ie.fromString(t.substring(5).trim()):"function"===t.split(" ")[0]?Fe.fromString(t.substring(8).trim()):"constructor"===t.split("(")[0].trim()?Oe.fromString(t.trim()):"error"===t.split(" ")[0]?Ue.fromString(t.substring(5).trim()):be.throwArgumentError("unsupported fragment","value",t)}static isFragment(t){return!(!t||!t._isFragment)}}class Ie extends Ce{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"event",anonymous:this.anonymous,name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Pe.sighash&&(e+="event "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ",t!==Pe.sighash&&this.anonymous&&(e+="anonymous "),e.trim()}static from(t){return"string"==typeof t?Ie.fromString(t):Ie.fromObject(t)}static fromObject(t){if(Ie.isEventFragment(t))return t;"event"!==t.type&&be.throwArgumentError("invalid event object","value",t);const e={name:je(t.name),anonymous:t.anonymous,inputs:t.inputs?t.inputs.map(Me.fromObject):[],type:"event"};return new Ie(Ae,e)}static fromString(t){let e=t.match(ze);e||be.throwArgumentError("invalid event string","value",t);let r=!1;return e[3].split(" ").forEach((t=>{switch(t.trim()){case"anonymous":r=!0;break;case"":break;default:be.warn("unknown modifier: "+t)}})),Ie.fromObject({name:e[1].trim(),anonymous:r,inputs:xe(e[2],!0),type:"event"})}static isEventFragment(t){return t&&t._isFragment&&"event"===t.type}}function Te(t,e){e.gas=null;let r=t.split("@");return 1!==r.length?(r.length>2&&be.throwArgumentError("invalid human-readable ABI signature","value",t),r[1].match(/^[0-9]+$/)||be.throwArgumentError("invalid human-readable ABI signature gas","value",t),e.gas=W.from(r[1]),r[0]):t}function Re(t,e){e.constant=!1,e.payable=!1,e.stateMutability="nonpayable",t.split(" ").forEach((t=>{switch(t.trim()){case"constant":e.constant=!0;break;case"payable":e.payable=!0,e.stateMutability="payable";break;case"nonpayable":e.payable=!1,e.stateMutability="nonpayable";break;case"pure":e.constant=!0,e.stateMutability="pure";break;case"view":e.constant=!0,e.stateMutability="view";break;case"external":case"public":case"":break;default:console.log("unknown modifier: "+t)}}))}function Be(t){let e={constant:!1,payable:!0,stateMutability:"payable"};return null!=t.stateMutability?(e.stateMutability=t.stateMutability,e.constant="view"===e.stateMutability||"pure"===e.stateMutability,null!=t.constant&&!!t.constant!==e.constant&&be.throwArgumentError("cannot have constant function with mutability "+e.stateMutability,"value",t),e.payable="payable"===e.stateMutability,null!=t.payable&&!!t.payable!==e.payable&&be.throwArgumentError("cannot have payable function with mutability "+e.stateMutability,"value",t)):null!=t.payable?(e.payable=!!t.payable,null!=t.constant||e.payable||"constructor"===t.type||be.throwArgumentError("unable to determine stateMutability","value",t),e.constant=!!t.constant,e.constant?e.stateMutability="view":e.stateMutability=e.payable?"payable":"nonpayable",e.payable&&e.constant&&be.throwArgumentError("cannot have constant payable function","value",t)):null!=t.constant?(e.constant=!!t.constant,e.payable=!e.constant,e.stateMutability=e.constant?"view":"payable"):"constructor"!==t.type&&be.throwArgumentError("unable to determine stateMutability","value",t),e}class Oe extends Ce{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"constructor",stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});t===Pe.sighash&&be.throwError("cannot format a constructor for sighash",v.errors.UNSUPPORTED_OPERATION,{operation:"format(sighash)"});let e="constructor("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ";return this.stateMutability&&"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "),e.trim()}static from(t){return"string"==typeof t?Oe.fromString(t):Oe.fromObject(t)}static fromObject(t){if(Oe.isConstructorFragment(t))return t;"constructor"!==t.type&&be.throwArgumentError("invalid constructor object","value",t);let e=Be(t);e.constant&&be.throwArgumentError("constructor cannot be constant","value",t);const r={name:null,type:t.type,inputs:t.inputs?t.inputs.map(Me.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?W.from(t.gas):null};return new Oe(Ae,r)}static fromString(t){let e={type:"constructor"},r=(t=Te(t,e)).match(ze);return r&&"constructor"===r[1].trim()||be.throwArgumentError("invalid constructor string","value",t),e.inputs=xe(r[2].trim(),!1),Re(r[3].trim(),e),Oe.fromObject(e)}static isConstructorFragment(t){return t&&t._isFragment&&"constructor"===t.type}}class Fe extends Oe{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"function",name:this.name,constant:this.constant,stateMutability:"nonpayable"!==this.stateMutability?this.stateMutability:void 0,payable:this.payable,gas:this.gas?this.gas.toNumber():void 0,inputs:this.inputs.map((e=>JSON.parse(e.format(t)))),outputs:this.outputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Pe.sighash&&(e+="function "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ",t!==Pe.sighash&&(this.stateMutability?"nonpayable"!==this.stateMutability&&(e+=this.stateMutability+" "):this.constant&&(e+="view "),this.outputs&&this.outputs.length&&(e+="returns ("+this.outputs.map((e=>e.format(t))).join(", ")+") "),null!=this.gas&&(e+="@"+this.gas.toString()+" ")),e.trim()}static from(t){return"string"==typeof t?Fe.fromString(t):Fe.fromObject(t)}static fromObject(t){if(Fe.isFunctionFragment(t))return t;"function"!==t.type&&be.throwArgumentError("invalid function object","value",t);let e=Be(t);const r={type:t.type,name:je(t.name),constant:e.constant,inputs:t.inputs?t.inputs.map(Me.fromObject):[],outputs:t.outputs?t.outputs.map(Me.fromObject):[],payable:e.payable,stateMutability:e.stateMutability,gas:t.gas?W.from(t.gas):null};return new Fe(Ae,r)}static fromString(t){let e={type:"function"},r=(t=Te(t,e)).split(" returns ");r.length>2&&be.throwArgumentError("invalid function string","value",t);let n=r[0].match(ze);if(n||be.throwArgumentError("invalid function signature","value",t),e.name=n[1].trim(),e.name&&je(e.name),e.inputs=xe(n[2],!1),Re(n[3].trim(),e),r.length>1){let n=r[1].match(ze);""==n[1].trim()&&""==n[3].trim()||be.throwArgumentError("unexpected tokens","value",t),e.outputs=xe(n[2],!1)}else e.outputs=[];return Fe.fromObject(e)}static isFunctionFragment(t){return t&&t._isFragment&&"function"===t.type}}function De(t){const e=t.format();return"Error(string)"!==e&&"Panic(uint256)"!==e||be.throwArgumentError(`cannot specify user defined ${e} error`,"fragment",t),t}class Ue extends Ce{format(t){if(t||(t=Pe.sighash),Pe[t]||be.throwArgumentError("invalid format type","format",t),t===Pe.json)return JSON.stringify({type:"error",name:this.name,inputs:this.inputs.map((e=>JSON.parse(e.format(t))))});let e="";return t!==Pe.sighash&&(e+="error "),e+=this.name+"("+this.inputs.map((e=>e.format(t))).join(t===Pe.full?", ":",")+") ",e.trim()}static from(t){return"string"==typeof t?Ue.fromString(t):Ue.fromObject(t)}static fromObject(t){if(Ue.isErrorFragment(t))return t;"error"!==t.type&&be.throwArgumentError("invalid error object","value",t);const e={type:t.type,name:je(t.name),inputs:t.inputs?t.inputs.map(Me.fromObject):[]};return De(new Ue(Ae,e))}static fromString(t){let e={type:"error"},r=t.match(ze);return r||be.throwArgumentError("invalid error signature","value",t),e.name=r[1].trim(),e.name&&je(e.name),e.inputs=xe(r[2],!1),De(Ue.fromObject(e))}static isErrorFragment(t){return t&&t._isFragment&&"error"===t.type}}function Le(t){return t.match(/^uint($|[^1-9])/)?t="uint256"+t.substring(4):t.match(/^int($|[^1-9])/)&&(t="int256"+t.substring(3)),t}const Ge=new RegExp("^[a-zA-Z$_][a-zA-Z0-9$_]*$");function je(t){return t&&t.match(Ge)||be.throwArgumentError(`invalid identifier "${t}"`,"value",t),t}const ze=new RegExp("^([^)(]*)\\((.*)\\)([^)(]*)$");const Ke=new v(ht),qe=new RegExp(/^bytes([0-9]*)$/),He=new RegExp(/^(u?int)([0-9]*)$/);class Je{constructor(t){et(this,"coerceFunc",t||null)}_getCoder(t){switch(t.baseType){case"address":return new Zt(t.name);case"bool":return new ie(t.name);case"string":return new ve(t.name);case"bytes":return new se(t.name);case"array":return new ne(this._getCoder(t.arrayChildren),t.arrayLength,t.name);case"tuple":return new we((t.components||[]).map((t=>this._getCoder(t))),t.name);case"":return new ue(t.name)}let e=t.type.match(He);if(e){let r=parseInt(e[2]||"256");return(0===r||r>256||r%8!=0)&&Ke.throwArgumentError("invalid "+e[1]+" bit length","param",t),new ye(r/8,"int"===e[1],t.name)}if(e=t.type.match(qe),e){let r=parseInt(e[1]);return(0===r||r>32)&&Ke.throwArgumentError("invalid bytes length","param",t),new ae(r,t.name)}return Ke.throwArgumentError("invalid type","type",t.type)}_getWordSize(){return 32}_getReader(t,e){return new gt(t,this._getWordSize(),this.coerceFunc,e)}_getWriter(){return new mt(this._getWordSize())}getDefaultValue(t){const e=t.map((t=>this._getCoder(Me.from(t))));return new we(e,"_").defaultValue()}encode(t,e){t.length!==e.length&&Ke.throwError("types/values length mismatch",v.errors.INVALID_ARGUMENT,{count:{types:t.length,values:e.length},value:{types:t,values:e}});const r=t.map((t=>this._getCoder(Me.from(t)))),n=new we(r,"_"),i=this._getWriter();return n.encode(i,e),i.data}decode(t,e,r){const n=t.map((t=>this._getCoder(Me.from(t))));return new we(n,"_").decode(this._getReader(S(e),r))}}const Ve=new Je,We=new v(ht);class Qe extends ct{}class Ye extends ct{}class Xe extends ct{}class Ze extends ct{static isIndexed(t){return!(!t||!t._isIndexed)}}const $e={"0x08c379a0":{signature:"Error(string)",name:"Error",inputs:["string"],reason:!0},"0x4e487b71":{signature:"Panic(uint256)",name:"Panic",inputs:["uint256"]}};function tr(t,e){const r=new Error(`deferred error during ABI decoding triggered accessing ${t}`);return r.error=e,r}class er{constructor(t){let e=[];e="string"==typeof t?JSON.parse(t):t,et(this,"fragments",e.map((t=>Ce.from(t))).filter((t=>null!=t))),et(this,"_abiCoder",rt(new.target,"getAbiCoder")()),et(this,"functions",{}),et(this,"errors",{}),et(this,"events",{}),et(this,"structs",{}),this.fragments.forEach((t=>{let e=null;switch(t.type){case"constructor":return this.deploy?void We.warn("duplicate definition - constructor"):void et(this,"deploy",t);case"function":e=this.functions;break;case"event":e=this.events;break;case"error":e=this.errors;break;default:return}let r=t.format();e[r]?We.warn("duplicate definition - "+r):e[r]=t})),this.deploy||et(this,"deploy",Oe.from({payable:!1,type:"constructor"})),et(this,"_isInterface",!0)}format(t){t||(t=Pe.full),t===Pe.sighash&&We.throwArgumentError("interface does not support formatting sighash","format",t);const e=this.fragments.map((e=>e.format(t)));return t===Pe.json?JSON.stringify(e.map((t=>JSON.parse(t)))):e}static getAbiCoder(){return Ve}static getAddress(t){return Bt(t)}static getSighash(t){return R(Xt(t.format()),0,4)}static getEventTopic(t){return Xt(t.format())}getFunction(t){if(x(t)){for(const e in this.functions)if(t===this.getSighash(e))return this.functions[e];We.throwArgumentError("no matching function","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.functions).filter((t=>t.split("(")[0]===e));return 0===r.length?We.throwArgumentError("no matching function","name",e):r.length>1&&We.throwArgumentError("multiple matching functions","name",e),this.functions[r[0]]}const e=this.functions[Fe.fromString(t).format()];return e||We.throwArgumentError("no matching function","signature",t),e}getEvent(t){if(x(t)){const e=t.toLowerCase();for(const t in this.events)if(e===this.getEventTopic(t))return this.events[t];We.throwArgumentError("no matching event","topichash",e)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.events).filter((t=>t.split("(")[0]===e));return 0===r.length?We.throwArgumentError("no matching event","name",e):r.length>1&&We.throwArgumentError("multiple matching events","name",e),this.events[r[0]]}const e=this.events[Ie.fromString(t).format()];return e||We.throwArgumentError("no matching event","signature",t),e}getError(t){if(x(t)){const e=rt(this.constructor,"getSighash");for(const r in this.errors){if(t===e(this.errors[r]))return this.errors[r]}We.throwArgumentError("no matching error","sighash",t)}if(-1===t.indexOf("(")){const e=t.trim(),r=Object.keys(this.errors).filter((t=>t.split("(")[0]===e));return 0===r.length?We.throwArgumentError("no matching error","name",e):r.length>1&&We.throwArgumentError("multiple matching errors","name",e),this.errors[r[0]]}const e=this.errors[Fe.fromString(t).format()];return e||We.throwArgumentError("no matching error","signature",t),e}getSighash(t){if("string"==typeof t)try{t=this.getFunction(t)}catch(e){try{t=this.getError(t)}catch(r){throw e}}return rt(this.constructor,"getSighash")(t)}getEventTopic(t){return"string"==typeof t&&(t=this.getEvent(t)),rt(this.constructor,"getEventTopic")(t)}_decodeParams(t,e){return this._abiCoder.decode(t,e)}_encodeParams(t,e){return this._abiCoder.encode(t,e)}encodeDeploy(t){return this._encodeParams(this.deploy.inputs,t||[])}decodeErrorResult(t,e){"string"==typeof t&&(t=this.getError(t));const r=S(e);return I(r.slice(0,4))!==this.getSighash(t)&&We.throwArgumentError(`data signature does not match error ${t.name}.`,"data",I(r)),this._decodeParams(t.inputs,r.slice(4))}encodeErrorResult(t,e){return"string"==typeof t&&(t=this.getError(t)),I(P([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionData(t,e){"string"==typeof t&&(t=this.getFunction(t));const r=S(e);return I(r.slice(0,4))!==this.getSighash(t)&&We.throwArgumentError(`data signature does not match function ${t.name}.`,"data",I(r)),this._decodeParams(t.inputs,r.slice(4))}encodeFunctionData(t,e){return"string"==typeof t&&(t=this.getFunction(t)),I(P([this.getSighash(t),this._encodeParams(t.inputs,e||[])]))}decodeFunctionResult(t,e){"string"==typeof t&&(t=this.getFunction(t));let r=S(e),n=null,i="",o=null,s=null,a=null;switch(r.length%this._abiCoder._getWordSize()){case 0:try{return this._abiCoder.decode(t.outputs,r)}catch(u){}break;case 4:{const t=I(r.slice(0,4)),e=$e[t];if(e)o=this._abiCoder.decode(e.inputs,r.slice(4)),s=e.name,a=e.signature,e.reason&&(n=o[0]),"Error"===s?i=`; VM Exception while processing transaction: reverted with reason string ${JSON.stringify(o[0])}`:"Panic"===s&&(i=`; VM Exception while processing transaction: reverted with panic code ${o[0]}`);else try{const e=this.getError(t);o=this._abiCoder.decode(e.inputs,r.slice(4)),s=e.name,a=e.format()}catch(u){}break}}return We.throwError("call revert exception"+i,v.errors.CALL_EXCEPTION,{method:t.format(),data:I(e),errorArgs:o,errorName:s,errorSignature:a,reason:n})}encodeFunctionResult(t,e){return"string"==typeof t&&(t=this.getFunction(t)),I(this._abiCoder.encode(t.outputs,e||[]))}encodeFilterTopics(t,e){"string"==typeof t&&(t=this.getEvent(t)),e.length>t.inputs.length&&We.throwError("too many arguments for "+t.format(),v.errors.UNEXPECTED_ARGUMENT,{argument:"values",value:e});let r=[];t.anonymous||r.push(this.getEventTopic(t));const n=(t,e)=>"string"===t.type?Xt(e):"bytes"===t.type?wt(I(e)):("bool"===t.type&&"boolean"==typeof e&&(e=e?"0x01":"0x00"),t.type.match(/^u?int/)&&(e=W.from(e).toHexString()),"address"===t.type&&this._abiCoder.encode(["address"],[e]),D(I(e),32));for(e.forEach(((e,i)=>{let o=t.inputs[i];o.indexed?null==e?r.push(null):"array"===o.baseType||"tuple"===o.baseType?We.throwArgumentError("filtering with tuples or arrays not supported","contract."+o.name,e):Array.isArray(e)?r.push(e.map((t=>n(o,t)))):r.push(n(o,e)):null!=e&&We.throwArgumentError("cannot filter non-indexed parameters; must be null","contract."+o.name,e)}));r.length&&null===r[r.length-1];)r.pop();return r}encodeEventLog(t,e){"string"==typeof t&&(t=this.getEvent(t));const r=[],n=[],i=[];return t.anonymous||r.push(this.getEventTopic(t)),e.length!==t.inputs.length&&We.throwArgumentError("event arguments/values mismatch","values",e),t.inputs.forEach(((t,o)=>{const s=e[o];if(t.indexed)if("string"===t.type)r.push(Xt(s));else if("bytes"===t.type)r.push(wt(s));else{if("tuple"===t.baseType||"array"===t.baseType)throw new Error("not implemented");r.push(this._abiCoder.encode([t.type],[s]))}else n.push(t),i.push(s)})),{data:this._abiCoder.encode(n,i),topics:r}}decodeEventLog(t,e,r){if("string"==typeof t&&(t=this.getEvent(t)),null!=r&&!t.anonymous){let e=this.getEventTopic(t);x(r[0],32)&&r[0].toLowerCase()===e||We.throwError("fragment/topic mismatch",v.errors.INVALID_ARGUMENT,{argument:"topics[0]",expected:e,value:r[0]}),r=r.slice(1)}let n=[],i=[],o=[];t.inputs.forEach(((t,e)=>{t.indexed?"string"===t.type||"bytes"===t.type||"tuple"===t.baseType||"array"===t.baseType?(n.push(Me.fromObject({type:"bytes32",name:t.name})),o.push(!0)):(n.push(t),o.push(!1)):(i.push(t),o.push(!1))}));let s=null!=r?this._abiCoder.decode(n,P(r)):null,a=this._abiCoder.decode(i,e,!0),u=[],l=0,c=0;t.inputs.forEach(((t,e)=>{if(t.indexed)if(null==s)u[e]=new Ze({_isIndexed:!0,hash:null});else if(o[e])u[e]=new Ze({_isIndexed:!0,hash:s[c++]});else try{u[e]=s[c++]}catch(r){u[e]=r}else try{u[e]=a[l++]}catch(r){u[e]=r}if(t.name&&null==u[t.name]){const r=u[e];r instanceof Error?Object.defineProperty(u,t.name,{enumerable:!0,get:()=>{throw tr(`property ${JSON.stringify(t.name)}`,r)}}):u[t.name]=r}}));for(let h=0;h{throw tr(`index ${h}`,t)}})}return Object.freeze(u)}parseTransaction(t){let e=this.getFunction(t.data.substring(0,10).toLowerCase());return e?new Ye({args:this._abiCoder.decode(e.inputs,"0x"+t.data.substring(10)),functionFragment:e,name:e.name,signature:e.format(),sighash:this.getSighash(e),value:W.from(t.value||"0")}):null}parseLog(t){let e=this.getEvent(t.topics[0]);return!e||e.anonymous?null:new Qe({eventFragment:e,name:e.name,signature:e.format(),topic:this.getEventTopic(e),args:this.decodeEventLog(e,t.data,t.topics)})}parseError(t){const e=I(t);let r=this.getError(e.substring(0,10).toLowerCase());return r?new Xe({args:this._abiCoder.decode(r.inputs,"0x"+e.substring(10)),errorFragment:r,name:r.name,signature:r.format(),sighash:this.getSighash(r)}):null}static isInterface(t){return!(!t||!t._isInterface)}}var rr=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const nr=new v("abstract-provider/5.7.0");class ir extends ct{static isForkEvent(t){return!(!t||!t._isForkEvent)}}class or{constructor(){nr.checkAbstract(new.target,or),et(this,"_isProvider",!0)}getFeeData(){return rr(this,void 0,void 0,(function*(){const{block:t,gasPrice:e}=yield nt({block:this.getBlock("latest"),gasPrice:this.getGasPrice().catch((t=>null))});let r=null,n=null,i=null;return t&&t.baseFeePerGas&&(r=t.baseFeePerGas,i=W.from("1500000000"),n=t.baseFeePerGas.mul(2).add(i)),{lastBaseFeePerGas:r,maxFeePerGas:n,maxPriorityFeePerGas:i,gasPrice:e}}))}addListener(t,e){return this.on(t,e)}removeListener(t,e){return this.off(t,e)}static isProvider(t){return!(!t||!t._isProvider)}}var sr=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ar=new v("abstract-signer/5.7.0"),ur=["accessList","ccipReadEnabled","chainId","customData","data","from","gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","nonce","to","type","value"],lr=[v.errors.INSUFFICIENT_FUNDS,v.errors.NONCE_EXPIRED,v.errors.REPLACEMENT_UNDERPRICED];class cr{constructor(){ar.checkAbstract(new.target,cr),et(this,"_isSigner",!0)}getBalance(t){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getBalance"),yield this.provider.getBalance(this.getAddress(),t)}))}getTransactionCount(t){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getTransactionCount"),yield this.provider.getTransactionCount(this.getAddress(),t)}))}estimateGas(t){return sr(this,void 0,void 0,(function*(){this._checkProvider("estimateGas");const e=yield nt(this.checkTransaction(t));return yield this.provider.estimateGas(e)}))}call(t,e){return sr(this,void 0,void 0,(function*(){this._checkProvider("call");const r=yield nt(this.checkTransaction(t));return yield this.provider.call(r,e)}))}sendTransaction(t){return sr(this,void 0,void 0,(function*(){this._checkProvider("sendTransaction");const e=yield this.populateTransaction(t),r=yield this.signTransaction(e);return yield this.provider.sendTransaction(r)}))}getChainId(){return sr(this,void 0,void 0,(function*(){this._checkProvider("getChainId");return(yield this.provider.getNetwork()).chainId}))}getGasPrice(){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getGasPrice"),yield this.provider.getGasPrice()}))}getFeeData(){return sr(this,void 0,void 0,(function*(){return this._checkProvider("getFeeData"),yield this.provider.getFeeData()}))}resolveName(t){return sr(this,void 0,void 0,(function*(){return this._checkProvider("resolveName"),yield this.provider.resolveName(t)}))}checkTransaction(t){for(const r in t)-1===ur.indexOf(r)&&ar.throwArgumentError("invalid transaction key: "+r,"transaction",t);const e=ot(t);return null==e.from?e.from=this.getAddress():e.from=Promise.all([Promise.resolve(e.from),this.getAddress()]).then((e=>(e[0].toLowerCase()!==e[1].toLowerCase()&&ar.throwArgumentError("from address mismatch","transaction",t),e[0]))),e}populateTransaction(t){return sr(this,void 0,void 0,(function*(){const e=yield nt(this.checkTransaction(t));null!=e.to&&(e.to=Promise.resolve(e.to).then((t=>sr(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.resolveName(t);return null==e&&ar.throwArgumentError("provided ENS name resolves to null","tx.to",t),e})))),e.to.catch((t=>{})));const r=null!=e.maxFeePerGas||null!=e.maxPriorityFeePerGas;if(null==e.gasPrice||2!==e.type&&!r?0!==e.type&&1!==e.type||!r||ar.throwArgumentError("pre-eip-1559 transaction do not support maxFeePerGas/maxPriorityFeePerGas","transaction",t):ar.throwArgumentError("eip-1559 transaction do not support gasPrice","transaction",t),2!==e.type&&null!=e.type||null==e.maxFeePerGas||null==e.maxPriorityFeePerGas)if(0===e.type||1===e.type)null==e.gasPrice&&(e.gasPrice=this.getGasPrice());else{const t=yield this.getFeeData();if(null==e.type)if(null!=t.maxFeePerGas&&null!=t.maxPriorityFeePerGas)if(e.type=2,null!=e.gasPrice){const t=e.gasPrice;delete e.gasPrice,e.maxFeePerGas=t,e.maxPriorityFeePerGas=t}else null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas);else null!=t.gasPrice?(r&&ar.throwError("network does not support EIP-1559",v.errors.UNSUPPORTED_OPERATION,{operation:"populateTransaction"}),null==e.gasPrice&&(e.gasPrice=t.gasPrice),e.type=0):ar.throwError("failed to get consistent fee data",v.errors.UNSUPPORTED_OPERATION,{operation:"signer.getFeeData"});else 2===e.type&&(null==e.maxFeePerGas&&(e.maxFeePerGas=t.maxFeePerGas),null==e.maxPriorityFeePerGas&&(e.maxPriorityFeePerGas=t.maxPriorityFeePerGas))}else e.type=2;return null==e.nonce&&(e.nonce=this.getTransactionCount("pending")),null==e.gasLimit&&(e.gasLimit=this.estimateGas(e).catch((t=>{if(lr.indexOf(t.code)>=0)throw t;return ar.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{error:t,tx:e})}))),null==e.chainId?e.chainId=this.getChainId():e.chainId=Promise.all([Promise.resolve(e.chainId),this.getChainId()]).then((e=>(0!==e[1]&&e[0]!==e[1]&&ar.throwArgumentError("chainId address mismatch","transaction",t),e[0]))),yield nt(e)}))}_checkProvider(t){this.provider||ar.throwError("missing provider",v.errors.UNSUPPORTED_OPERATION,{operation:t||"_checkProvider"})}static isSigner(t){return!(!t||!t._isSigner)}}class hr extends cr{constructor(t,e){super(),et(this,"address",t),et(this,"provider",e||null)}getAddress(){return Promise.resolve(this.address)}_fail(t,e){return Promise.resolve().then((()=>{ar.throwError(t,v.errors.UNSUPPORTED_OPERATION,{operation:e})}))}signMessage(t){return this._fail("VoidSigner cannot sign messages","signMessage")}signTransaction(t){return this._fail("VoidSigner cannot sign transactions","signTransaction")}_signTypedData(t,e,r){return this._fail("VoidSigner cannot sign typed data","signTypedData")}connect(t){return new hr(this.address,t)}}var fr=r(33715),dr=r.n(fr);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self&&self;function pr(t,e,r){return r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},t(r,r.exports),r.exports}var mr=gr;function gr(t,e){if(!t)throw new Error(e||"Assertion failed")}gr.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)};var yr=pr((function(t,e){var r=e;function n(t){return 1===t.length?"0"+t:t}function i(t){for(var e="",r=0;r>8,s=255&i;o?r.push(o,s):r.push(s)}return r},r.zero2=n,r.toHex=i,r.encode=function(t,e){return"hex"===e?i(t):t}})),vr=pr((function(t,e){var r=e;r.assert=mr,r.toArray=yr.toArray,r.zero2=yr.zero2,r.toHex=yr.toHex,r.encode=yr.encode,r.getNAF=function(t,e,r){var n=new Array(Math.max(t.bitLength(),r)+1);n.fill(0);for(var i=1<(i>>1)-1?(i>>1)-u:u,o.isubn(a)):a=0,n[s]=a,o.iushrn(1)}return n},r.getJSF=function(t,e){var r=[[],[]];t=t.clone(),e=e.clone();for(var n,i=0,o=0;t.cmpn(-i)>0||e.cmpn(-o)>0;){var s,a,u=t.andln(3)+i&3,l=e.andln(3)+o&3;3===u&&(u=-1),3===l&&(l=-1),s=0==(1&u)?0:3!==(n=t.andln(7)+i&7)&&5!==n||2!==l?u:-u,r[0].push(s),a=0==(1&l)?0:3!==(n=e.andln(7)+o&7)&&5!==n||2!==u?l:-l,r[1].push(a),2*i===s+1&&(i=1-i),2*o===a+1&&(o=1-o),t.iushrn(1),e.iushrn(1)}return r},r.cachedProperty=function(t,e,r){var n="_"+e;t.prototype[e]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},r.parseBytes=function(t){return"string"==typeof t?r.toArray(t,"hex"):t},r.intFromLE=function(t){return new(j())(t,"hex","le")}})),wr=vr.getNAF,br=vr.getJSF,Ar=vr.assert;function Er(t,e){this.type=t,this.p=new(j())(e.p,16),this.red=e.prime?j().red(e.prime):j().mont(this.p),this.zero=new(j())(0).toRed(this.red),this.one=new(j())(1).toRed(this.red),this.two=new(j())(2).toRed(this.red),this.n=e.n&&new(j())(e.n,16),this.g=e.g&&this.pointFromJSON(e.g,e.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}var kr=Er;function _r(t,e){this.curve=t,this.type=e,this.precomputed=null}Er.prototype.point=function(){throw new Error("Not implemented")},Er.prototype.validate=function(){throw new Error("Not implemented")},Er.prototype._fixedNafMul=function(t,e){Ar(t.precomputed);var r=t._getDoubles(),n=wr(e,1,this._bitLength),i=(1<=o;u--)s=(s<<1)+n[u];a.push(s)}for(var l=this.jpoint(null,null,null),c=this.jpoint(null,null,null),h=i;h>0;h--){for(o=0;o=0;a--){for(var u=0;a>=0&&0===o[a];a--)u++;if(a>=0&&u++,s=s.dblp(u),a<0)break;var l=o[a];Ar(0!==l),s="affine"===t.type?l>0?s.mixedAdd(i[l-1>>1]):s.mixedAdd(i[-l-1>>1].neg()):l>0?s.add(i[l-1>>1]):s.add(i[-l-1>>1].neg())}return"affine"===t.type?s.toP():s},Er.prototype._wnafMulAdd=function(t,e,r,n,i){var o,s,a,u=this._wnafT1,l=this._wnafT2,c=this._wnafT3,h=0;for(o=0;o=1;o-=2){var d=o-1,p=o;if(1===u[d]&&1===u[p]){var m=[e[d],null,null,e[p]];0===e[d].y.cmp(e[p].y)?(m[1]=e[d].add(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg())):0===e[d].y.cmp(e[p].y.redNeg())?(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].add(e[p].neg())):(m[1]=e[d].toJ().mixedAdd(e[p]),m[2]=e[d].toJ().mixedAdd(e[p].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],y=br(r[d],r[p]);for(h=Math.max(y[0].length,h),c[d]=new Array(h),c[p]=new Array(h),s=0;s=0;o--){for(var E=0;o>=0;){var k=!0;for(s=0;s=0&&E++,b=b.dblp(E),o<0)break;for(s=0;s0?a=l[s][_-1>>1]:_<0&&(a=l[s][-_-1>>1].neg()),b="affine"===a.type?b.mixedAdd(a):b.add(a))}}for(o=0;o=Math.ceil((t.bitLength()+1)/e.step)},_r.prototype._getDoubles=function(t,e){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i=0&&(o=e,s=r),n.negative&&(n=n.neg(),i=i.neg()),o.negative&&(o=o.neg(),s=s.neg()),[{a:n,b:i},{a:o,b:s}]},Nr.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),o=r.b.neg().mul(t).divRound(this.n),s=i.mul(r.a),a=o.mul(n.a),u=i.mul(r.b),l=o.mul(n.b);return{k1:t.sub(s).sub(a),k2:u.add(l).neg()}},Nr.prototype.pointFromX=function(t,e){(t=new(j())(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var i=n.fromRed().isOdd();return(e&&!i||!e&&i)&&(n=n.redNeg()),this.point(t,n)},Nr.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},Nr.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o":""},xr.prototype.isInfinity=function(){return this.inf},xr.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},xr.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),s=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,s)},xr.prototype.getX=function(){return this.x.fromRed()},xr.prototype.getY=function(){return this.y.fromRed()},xr.prototype.mul=function(t){return t=new(j())(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},xr.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},xr.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},xr.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},xr.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},xr.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},Sr(Cr,kr.BasePoint),Nr.prototype.jpoint=function(t,e,r){return new Cr(this,t,e,r)},Cr.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},Cr.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},Cr.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),o=this.y.redMul(e.redMul(t.z)),s=t.y.redMul(r.redMul(this.z)),a=n.redSub(i),u=o.redSub(s);if(0===a.cmpn(0))return 0!==u.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),c=l.redMul(a),h=n.redMul(l),f=u.redSqr().redIAdd(c).redISub(h).redISub(h),d=u.redMul(h.redISub(f)).redISub(o.redMul(c)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(f,d,p)},Cr.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,o=t.y.redMul(e).redMul(this.z),s=r.redSub(n),a=i.redSub(o);if(0===s.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),l=u.redMul(s),c=r.redMul(u),h=a.redSqr().redIAdd(l).redISub(c).redISub(c),f=a.redMul(c.redISub(h)).redISub(i.redMul(l)),d=this.z.redMul(s);return this.curve.jpoint(h,f,d)},Cr.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var r=this;for(e=0;e=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},Cr.prototype.inspect=function(){return this.isInfinity()?"":""},Cr.prototype.isInfinity=function(){return 0===this.z.cmpn(0)};var Ir=pr((function(t,e){var r=e;r.base=kr,r.short=Mr,r.mont=null,r.edwards=null})),Tr=pr((function(t,e){var r,n=e,i=vr.assert;function o(t){"short"===t.type?this.curve=new Ir.short(t):"edwards"===t.type?this.curve=new Ir.edwards(t):this.curve=new Ir.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,i(this.g.validate(),"Invalid curve"),i(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function s(t,e){Object.defineProperty(n,t,{configurable:!0,enumerable:!0,get:function(){var r=new o(e);return Object.defineProperty(n,t,{configurable:!0,enumerable:!0,value:r}),r}})}n.PresetCurve=o,s("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:dr().sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),s("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:dr().sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),s("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:dr().sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),s("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:dr().sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),s("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:dr().sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),s("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:dr().sha256,gRed:!1,g:["9"]}),s("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:dr().sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=null.crash()}catch(a){r=void 0}s("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:dr().sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})}));function Rr(t){if(!(this instanceof Rr))return new Rr(t);this.hash=t.hash,this.predResist=!!t.predResist,this.outLen=this.hash.outSize,this.minEntropy=t.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var e=yr.toArray(t.entropy,t.entropyEnc||"hex"),r=yr.toArray(t.nonce,t.nonceEnc||"hex"),n=yr.toArray(t.pers,t.persEnc||"hex");mr(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}var Br=Rr;Rr.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},Rr.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=yr.toArray(r,n||"hex"),this._update(r));for(var i=[];i.length"};var Ur=vr.assert;function Lr(t,e){if(t instanceof Lr)return t;this._importDER(t,e)||(Ur(t.r&&t.s,"Signature without r or s"),this.r=new(j())(t.r,16),this.s=new(j())(t.s,16),void 0===t.recoveryParam?this.recoveryParam=null:this.recoveryParam=t.recoveryParam)}var Gr=Lr;function jr(){this.place=0}function zr(t,e){var r=t[e.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;for(var i=0,o=0,s=e.place;o>>=0;return!(i<=127)&&(e.place=s,i)}function Kr(t){for(var e=0,r=t.length-1;!t[e]&&!(128&t[e+1])&&e>>3);for(t.push(128|r);--r;)t.push(e>>>(r<<3)&255);t.push(e)}}Lr.prototype._importDER=function(t,e){t=vr.toArray(t,e);var r=new jr;if(48!==t[r.place++])return!1;var n=zr(t,r);if(!1===n)return!1;if(n+r.place!==t.length)return!1;if(2!==t[r.place++])return!1;var i=zr(t,r);if(!1===i)return!1;var o=t.slice(r.place,i+r.place);if(r.place+=i,2!==t[r.place++])return!1;var s=zr(t,r);if(!1===s)return!1;if(t.length!==s+r.place)return!1;var a=t.slice(r.place,s+r.place);if(0===o[0]){if(!(128&o[1]))return!1;o=o.slice(1)}if(0===a[0]){if(!(128&a[1]))return!1;a=a.slice(1)}return this.r=new(j())(o),this.s=new(j())(a),this.recoveryParam=null,!0},Lr.prototype.toDER=function(t){var e=this.r.toArray(),r=this.s.toArray();for(128&e[0]&&(e=[0].concat(e)),128&r[0]&&(r=[0].concat(r)),e=Kr(e),r=Kr(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];qr(n,e.length),(n=n.concat(e)).push(2),qr(n,r.length);var i=n.concat(r),o=[48];return qr(o,i.length),o=o.concat(i),vr.encode(o,t)};var Hr=function(){throw new Error("unsupported")},Jr=vr.assert;function Vr(t){if(!(this instanceof Vr))return new Vr(t);"string"==typeof t&&(Jr(Object.prototype.hasOwnProperty.call(Tr,t),"Unknown curve "+t),t=Tr[t]),t instanceof Tr.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}var Wr=Vr;Vr.prototype.keyPair=function(t){return new Dr(this,t)},Vr.prototype.keyFromPrivate=function(t,e){return Dr.fromPrivate(this,t,e)},Vr.prototype.keyFromPublic=function(t,e){return Dr.fromPublic(this,t,e)},Vr.prototype.genKeyPair=function(t){t||(t={});for(var e=new Br({hash:this.hash,pers:t.pers,persEnc:t.persEnc||"utf8",entropy:t.entropy||Hr(this.hash.hmacStrength),entropyEnc:t.entropy&&t.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),n=this.n.sub(new(j())(2));;){var i=new(j())(e.generate(r));if(!(i.cmp(n)>0))return i.iaddn(1),this.keyFromPrivate(i)}},Vr.prototype._truncateToN=function(t,e){var r=8*t.byteLength()-this.n.bitLength();return r>0&&(t=t.ushrn(r)),!e&&t.cmp(this.n)>=0?t.sub(this.n):t},Vr.prototype.sign=function(t,e,r,n){"object"==typeof r&&(n=r,r=null),n||(n={}),e=this.keyFromPrivate(e,r),t=this._truncateToN(new(j())(t,16));for(var i=this.n.byteLength(),o=e.getPrivate().toArray("be",i),s=t.toArray("be",i),a=new Br({hash:this.hash,entropy:o,nonce:s,pers:n.pers,persEnc:n.persEnc||"utf8"}),u=this.n.sub(new(j())(1)),l=0;;l++){var c=n.k?n.k(l):new(j())(a.generate(this.n.byteLength()));if(!((c=this._truncateToN(c,!0)).cmpn(1)<=0||c.cmp(u)>=0)){var h=this.g.mul(c);if(!h.isInfinity()){var f=h.getX(),d=f.umod(this.n);if(0!==d.cmpn(0)){var p=c.invm(this.n).mul(d.mul(e.getPrivate()).iadd(t));if(0!==(p=p.umod(this.n)).cmpn(0)){var m=(h.getY().isOdd()?1:0)|(0!==f.cmp(d)?2:0);return n.canonical&&p.cmp(this.nh)>0&&(p=this.n.sub(p),m^=1),new Gr({r:d,s:p,recoveryParam:m})}}}}}},Vr.prototype.verify=function(t,e,r,n){t=this._truncateToN(new(j())(t,16)),r=this.keyFromPublic(r,n);var i=(e=new Gr(e,"hex")).r,o=e.s;if(i.cmpn(1)<0||i.cmp(this.n)>=0)return!1;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;var s,a=o.invm(this.n),u=a.mul(t).umod(this.n),l=a.mul(i).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),l)).isInfinity()&&s.eqXToP(i):!(s=this.g.mulAdd(u,r.getPublic(),l)).isInfinity()&&0===s.getX().umod(this.n).cmp(i)},Vr.prototype.recoverPubKey=function(t,e,r,n){Jr((3&r)===r,"The recovery param is more than two bits"),e=new Gr(e,n);var i=this.n,o=new(j())(t),s=e.r,a=e.s,u=1&r,l=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&l)throw new Error("Unable to find sencond key candinate");s=l?this.curve.pointFromX(s.add(this.curve.n),u):this.curve.pointFromX(s,u);var c=e.r.invm(i),h=i.sub(o).mul(c).umod(i),f=a.mul(c).umod(i);return this.g.mulAdd(h,s,f)},Vr.prototype.getKeyRecoveryParam=function(t,e,r,n){if(null!==(e=new Gr(e,n)).recoveryParam)return e.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(t,e,i)}catch(t){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")};var Qr=pr((function(t,e){var r=e;r.version="6.5.4",r.utils=vr,r.rand=function(){throw new Error("unsupported")},r.curve=Ir,r.curves=Tr,r.ec=Wr,r.eddsa=null})).ec;const Yr=new v("signing-key/5.7.0");let Xr=null;function Zr(){return Xr||(Xr=new Qr("secp256k1")),Xr}class $r{constructor(t){et(this,"curve","secp256k1"),et(this,"privateKey",I(t)),32!==T(this.privateKey)&&Yr.throwArgumentError("invalid private key","privateKey","[[ REDACTED ]]");const e=Zr().keyFromPrivate(S(this.privateKey));et(this,"publicKey","0x"+e.getPublic(!1,"hex")),et(this,"compressedPublicKey","0x"+e.getPublic(!0,"hex")),et(this,"_isSigningKey",!0)}_addPoint(t){const e=Zr().keyFromPublic(S(this.publicKey)),r=Zr().keyFromPublic(S(t));return"0x"+e.pub.add(r.pub).encodeCompressed("hex")}signDigest(t){const e=Zr().keyFromPrivate(S(this.privateKey)),r=S(t);32!==r.length&&Yr.throwArgumentError("bad digest length","digest",t);const n=e.sign(r,{canonical:!0});return U({recoveryParam:n.recoveryParam,r:D("0x"+n.r.toString(16),32),s:D("0x"+n.s.toString(16),32)})}computeSharedSecret(t){const e=Zr().keyFromPrivate(S(this.privateKey)),r=Zr().keyFromPublic(S(en(t)));return D("0x"+e.derive(r.getPublic()).toString(16),32)}static isSigningKey(t){return!(!t||!t._isSigningKey)}}function tn(t,e){const r=U(e),n={r:S(r.r),s:S(r.s)};return"0x"+Zr().recoverPubKey(S(t),n,r.recoveryParam).encode("hex",!1)}function en(t,e){const r=S(t);if(32===r.length){const t=new $r(r);return e?"0x"+Zr().keyFromPrivate(r).getPublic(!0,"hex"):t.publicKey}return 33===r.length?e?I(r):"0x"+Zr().keyFromPublic(r).getPublic(!1,"hex"):65===r.length?e?"0x"+Zr().keyFromPublic(r).getPublic(!0,"hex"):I(r):Yr.throwArgumentError("invalid public or private key","key","[REDACTED]")}const rn=new v("transactions/5.7.0");var nn;function on(t){return"0x"===t?null:Bt(t)}function sn(t){return"0x"===t?ce:W.from(t)}!function(t){t[t.legacy=0]="legacy",t[t.eip2930=1]="eip2930",t[t.eip1559=2]="eip1559"}(nn||(nn={}));const an=[{name:"nonce",maxLength:32,numeric:!0},{name:"gasPrice",maxLength:32,numeric:!0},{name:"gasLimit",maxLength:32,numeric:!0},{name:"to",length:20},{name:"value",maxLength:32,numeric:!0},{name:"data"}],un={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,type:!0,value:!0};function ln(t){return Bt(R(wt(R(en(t),1)),12))}function cn(t,e){return ln(tn(S(t),e))}function hn(t,e){const r=N(W.from(t).toHexString());return r.length>32&&rn.throwArgumentError("invalid length for "+e,"transaction:"+e,t),r}function fn(t,e){return{address:Bt(t),storageKeys:(e||[]).map(((e,r)=>(32!==T(e)&&rn.throwArgumentError("invalid access list storageKey",`accessList[${t}:${r}]`,e),e.toLowerCase())))}}function dn(t){if(Array.isArray(t))return t.map(((t,e)=>Array.isArray(t)?(t.length>2&&rn.throwArgumentError("access list expected to be [ address, storageKeys[] ]",`value[${e}]`,t),fn(t[0],t[1])):fn(t.address,t.storageKeys)));const e=Object.keys(t).map((e=>{const r=t[e].reduce(((t,e)=>(t[e]=!0,t)),{});return fn(e,Object.keys(r).sort())}));return e.sort(((t,e)=>t.address.localeCompare(e.address))),e}function pn(t){return dn(t).map((t=>[t.address,t.storageKeys]))}function mn(t,e){if(null!=t.gasPrice){const e=W.from(t.gasPrice),r=W.from(t.maxFeePerGas||0);e.eq(r)||rn.throwArgumentError("mismatch EIP-1559 gasPrice != maxFeePerGas","tx",{gasPrice:e,maxFeePerGas:r})}const r=[hn(t.chainId||0,"chainId"),hn(t.nonce||0,"nonce"),hn(t.maxPriorityFeePerGas||0,"maxPriorityFeePerGas"),hn(t.maxFeePerGas||0,"maxFeePerGas"),hn(t.gasLimit||0,"gasLimit"),null!=t.to?Bt(t.to):"0x",hn(t.value||0,"value"),t.data||"0x",pn(t.accessList||[])];if(e){const t=U(e);r.push(hn(t.recoveryParam,"recoveryParam")),r.push(N(t.r)),r.push(N(t.s))}return B(["0x02",_t(r)])}function gn(t,e){const r=[hn(t.chainId||0,"chainId"),hn(t.nonce||0,"nonce"),hn(t.gasPrice||0,"gasPrice"),hn(t.gasLimit||0,"gasLimit"),null!=t.to?Bt(t.to):"0x",hn(t.value||0,"value"),t.data||"0x",pn(t.accessList||[])];if(e){const t=U(e);r.push(hn(t.recoveryParam,"recoveryParam")),r.push(N(t.r)),r.push(N(t.s))}return B(["0x01",_t(r)])}function yn(t,e){if(null==t.type||0===t.type)return null!=t.accessList&&rn.throwArgumentError("untyped transactions do not support accessList; include type: 1","transaction",t),function(t,e){it(t,un);const r=[];an.forEach((function(e){let n=t[e.name]||[];const i={};e.numeric&&(i.hexPad="left"),n=S(I(n,i)),e.length&&n.length!==e.length&&n.length>0&&rn.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n),e.maxLength&&(n=N(n),n.length>e.maxLength&&rn.throwArgumentError("invalid length for "+e.name,"transaction:"+e.name,n)),r.push(I(n))}));let n=0;if(null!=t.chainId?(n=t.chainId,"number"!=typeof n&&rn.throwArgumentError("invalid transaction.chainId","transaction",t)):e&&!E(e)&&e.v>28&&(n=Math.floor((e.v-35)/2)),0!==n&&(r.push(I(n)),r.push("0x"),r.push("0x")),!e)return _t(r);const i=U(e);let o=27+i.recoveryParam;return 0!==n?(r.pop(),r.pop(),r.pop(),o+=2*n+8,i.v>28&&i.v!==o&&rn.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e)):i.v!==o&&rn.throwArgumentError("transaction.chainId/signature.v mismatch","signature",e),r.push(I(o)),r.push(N(S(i.r))),r.push(N(S(i.s))),_t(r)}(t,e);switch(t.type){case 1:return gn(t,e);case 2:return mn(t,e)}return rn.throwError(`unsupported transaction type: ${t.type}`,v.errors.UNSUPPORTED_OPERATION,{operation:"serializeTransaction",transactionType:t.type})}function vn(t,e,r){try{const r=sn(e[0]).toNumber();if(0!==r&&1!==r)throw new Error("bad recid");t.v=r}catch(n){rn.throwArgumentError("invalid v for transaction type: 1","v",e[0])}t.r=D(e[1],32),t.s=D(e[2],32);try{const e=wt(r(t));t.from=cn(e,{r:t.r,s:t.s,recoveryParam:t.v})}catch(n){}}function wn(t){const e=S(t);if(e[0]>127)return function(t){const e=Nt(t);9!==e.length&&6!==e.length&&rn.throwArgumentError("invalid raw transaction","rawTransaction",t);const r={nonce:sn(e[0]).toNumber(),gasPrice:sn(e[1]),gasLimit:sn(e[2]),to:on(e[3]),value:sn(e[4]),data:e[5],chainId:0};if(6===e.length)return r;try{r.v=W.from(e[6]).toNumber()}catch(n){return r}if(r.r=D(e[7],32),r.s=D(e[8],32),W.from(r.r).isZero()&&W.from(r.s).isZero())r.chainId=r.v,r.v=0;else{r.chainId=Math.floor((r.v-35)/2),r.chainId<0&&(r.chainId=0);let i=r.v-27;const o=e.slice(0,6);0!==r.chainId&&(o.push(I(r.chainId)),o.push("0x"),o.push("0x"),i-=2*r.chainId+8);const s=wt(_t(o));try{r.from=cn(s,{r:I(r.r),s:I(r.s),recoveryParam:i})}catch(n){}r.hash=wt(t)}return r.type=null,r}(e);switch(e[0]){case 1:return function(t){const e=Nt(t.slice(1));8!==e.length&&11!==e.length&&rn.throwArgumentError("invalid component count for transaction type: 1","payload",I(t));const r={type:1,chainId:sn(e[0]).toNumber(),nonce:sn(e[1]).toNumber(),gasPrice:sn(e[2]),gasLimit:sn(e[3]),to:on(e[4]),value:sn(e[5]),data:e[6],accessList:dn(e[7])};return 8===e.length||(r.hash=wt(t),vn(r,e.slice(8),gn)),r}(e);case 2:return function(t){const e=Nt(t.slice(1));9!==e.length&&12!==e.length&&rn.throwArgumentError("invalid component count for transaction type: 2","payload",I(t));const r=sn(e[2]),n=sn(e[3]),i={type:2,chainId:sn(e[0]).toNumber(),nonce:sn(e[1]).toNumber(),maxPriorityFeePerGas:r,maxFeePerGas:n,gasPrice:null,gasLimit:sn(e[4]),to:on(e[5]),value:sn(e[6]),data:e[7],accessList:dn(e[8])};return 9===e.length||(i.hash=wt(t),vn(i,e.slice(9),mn)),i}(e)}return rn.throwError(`unsupported transaction type: ${e[0]}`,v.errors.UNSUPPORTED_OPERATION,{operation:"parseTransaction",transactionType:e[0]})}var bn=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const An=new v("contracts/5.7.0"),En={chainId:!0,data:!0,from:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0,customData:!0,ccipReadEnabled:!0};function kn(t,e){return bn(this,void 0,void 0,(function*(){const r=yield e;"string"!=typeof r&&An.throwArgumentError("invalid address or ENS name","name",r);try{return Bt(r)}catch(i){}t||An.throwError("a provider or signer is needed to resolve ENS names",v.errors.UNSUPPORTED_OPERATION,{operation:"resolveName"});const n=yield t.resolveName(r);return null==n&&An.throwArgumentError("resolver or addr is not configured for ENS name","name",r),n}))}function _n(t,e,r){return bn(this,void 0,void 0,(function*(){return Array.isArray(r)?yield Promise.all(r.map(((r,n)=>_n(t,Array.isArray(e)?e[n]:e[r.name],r)))):"address"===r.type?yield kn(t,e):"tuple"===r.type?yield _n(t,e,r.components):"array"===r.baseType?Array.isArray(e)?yield Promise.all(e.map((e=>_n(t,e,r.arrayChildren)))):Promise.reject(An.makeError("invalid value for array",v.errors.INVALID_ARGUMENT,{argument:"value",value:e})):e}))}function Sn(t,e,r){return bn(this,void 0,void 0,(function*(){let n={};r.length===e.inputs.length+1&&"object"==typeof r[r.length-1]&&(n=ot(r.pop())),An.checkArgumentCount(r.length,e.inputs.length,"passed to contract"),t.signer?n.from?n.from=nt({override:kn(t.signer,n.from),signer:t.signer.getAddress()}).then((t=>bn(this,void 0,void 0,(function*(){return Bt(t.signer)!==t.override&&An.throwError("Contract with a Signer cannot override from",v.errors.UNSUPPORTED_OPERATION,{operation:"overrides.from"}),t.override})))):n.from=t.signer.getAddress():n.from&&(n.from=kn(t.provider,n.from));const i=yield nt({args:_n(t.signer||t.provider,r,e.inputs),address:t.resolvedAddress,overrides:nt(n)||{}}),o=t.interface.encodeFunctionData(e,i.args),s={data:o,to:i.address},a=i.overrides;if(null!=a.nonce&&(s.nonce=W.from(a.nonce).toNumber()),null!=a.gasLimit&&(s.gasLimit=W.from(a.gasLimit)),null!=a.gasPrice&&(s.gasPrice=W.from(a.gasPrice)),null!=a.maxFeePerGas&&(s.maxFeePerGas=W.from(a.maxFeePerGas)),null!=a.maxPriorityFeePerGas&&(s.maxPriorityFeePerGas=W.from(a.maxPriorityFeePerGas)),null!=a.from&&(s.from=a.from),null!=a.type&&(s.type=a.type),null!=a.accessList&&(s.accessList=dn(a.accessList)),null==s.gasLimit&&null!=e.gas){let t=21e3;const r=S(o);for(let e=0;enull!=n[t]));return u.length&&An.throwError(`cannot override ${u.map((t=>JSON.stringify(t))).join(",")}`,v.errors.UNSUPPORTED_OPERATION,{operation:"overrides",overrides:u}),s}))}function Pn(t,e){const r=e.wait.bind(e);e.wait=e=>r(e).then((e=>(e.events=e.logs.map((r=>{let n=lt(r),i=null;try{i=t.interface.parseLog(r)}catch(o){}return i&&(n.args=i.args,n.decode=(e,r)=>t.interface.decodeEventLog(i.eventFragment,e,r),n.event=i.name,n.eventSignature=i.signature),n.removeListener=()=>t.provider,n.getBlock=()=>t.provider.getBlock(e.blockHash),n.getTransaction=()=>t.provider.getTransaction(e.transactionHash),n.getTransactionReceipt=()=>Promise.resolve(e),n})),e)))}function Nn(t,e,r){const n=t.signer||t.provider;return function(...i){return bn(this,void 0,void 0,(function*(){let o;if(i.length===e.inputs.length+1&&"object"==typeof i[i.length-1]){const t=ot(i.pop());null!=t.blockTag&&(o=yield t.blockTag),delete t.blockTag,i.push(t)}null!=t.deployTransaction&&(yield t._deployed(o));const s=yield Sn(t,e,i),a=yield n.call(s,o);try{let n=t.interface.decodeFunctionResult(e,a);return r&&1===e.outputs.length&&(n=n[0]),n}catch(u){throw u.code===v.errors.CALL_EXCEPTION&&(u.address=t.address,u.args=i,u.transaction=s),u}}))}}function Mn(t,e,r){return e.constant?Nn(t,e,r):function(t,e){return function(...r){return bn(this,void 0,void 0,(function*(){t.signer||An.throwError("sending a transaction requires a signer",v.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction"}),null!=t.deployTransaction&&(yield t._deployed());const n=yield Sn(t,e,r),i=yield t.signer.sendTransaction(n);return Pn(t,i),i}))}}(t,e)}function xn(t){return!t.address||null!=t.topics&&0!==t.topics.length?(t.address||"*")+"@"+(t.topics?t.topics.map((t=>Array.isArray(t)?t.join("|"):t)).join(":"):""):"*"}class Cn{constructor(t,e){et(this,"tag",t),et(this,"filter",e),this._listeners=[]}addListener(t,e){this._listeners.push({listener:t,once:e})}removeListener(t){let e=!1;this._listeners=this._listeners.filter((r=>!(!e&&r.listener===t)||(e=!0,!1)))}removeAllListeners(){this._listeners=[]}listeners(){return this._listeners.map((t=>t.listener))}listenerCount(){return this._listeners.length}run(t){const e=this.listenerCount();return this._listeners=this._listeners.filter((e=>{const r=t.slice();return setTimeout((()=>{e.listener.apply(this,r)}),0),!e.once})),e}prepareEvent(t){}getEmit(t){return[t]}}class In extends Cn{constructor(){super("error",null)}}class Tn extends Cn{constructor(t,e,r,n){const i={address:t};let o=e.getEventTopic(r);n?(o!==n[0]&&An.throwArgumentError("topic mismatch","topics",n),i.topics=n.slice()):i.topics=[o],super(xn(i),i),et(this,"address",t),et(this,"interface",e),et(this,"fragment",r)}prepareEvent(t){super.prepareEvent(t),t.event=this.fragment.name,t.eventSignature=this.fragment.format(),t.decode=(t,e)=>this.interface.decodeEventLog(this.fragment,t,e);try{t.args=this.interface.decodeEventLog(this.fragment,t.data,t.topics)}catch(e){t.args=null,t.decodeError=e}}getEmit(t){const e=dt(t.args);if(e.length)throw e[0].error;const r=(t.args||[]).slice();return r.push(t),r}}class Rn extends Cn{constructor(t,e){super("*",{address:t}),et(this,"address",t),et(this,"interface",e)}prepareEvent(t){super.prepareEvent(t);try{const e=this.interface.parseLog(t);t.event=e.name,t.eventSignature=e.signature,t.decode=(t,r)=>this.interface.decodeEventLog(e.eventFragment,t,r),t.args=e.args}catch(e){}}}class Bn{constructor(t,e,r){et(this,"interface",rt(new.target,"getInterface")(e)),null==r?(et(this,"provider",null),et(this,"signer",null)):cr.isSigner(r)?(et(this,"provider",r.provider||null),et(this,"signer",r)):or.isProvider(r)?(et(this,"provider",r),et(this,"signer",null)):An.throwArgumentError("invalid signer or provider","signerOrProvider",r),et(this,"callStatic",{}),et(this,"estimateGas",{}),et(this,"functions",{}),et(this,"populateTransaction",{}),et(this,"filters",{});{const t={};Object.keys(this.interface.events).forEach((e=>{const r=this.interface.events[e];et(this.filters,e,((...t)=>({address:this.address,topics:this.interface.encodeFilterTopics(r,t)}))),t[r.name]||(t[r.name]=[]),t[r.name].push(e)})),Object.keys(t).forEach((e=>{const r=t[e];1===r.length?et(this.filters,e,this.filters[r[0]]):An.warn(`Duplicate definition of ${e} (${r.join(", ")})`)}))}if(et(this,"_runningEvents",{}),et(this,"_wrappedEmits",{}),null==t&&An.throwArgumentError("invalid contract address or ENS name","addressOrName",t),et(this,"address",t),this.provider)et(this,"resolvedAddress",kn(this.provider,t));else try{et(this,"resolvedAddress",Promise.resolve(Bt(t)))}catch(o){An.throwError("provider is required to use ENS name as contract address",v.errors.UNSUPPORTED_OPERATION,{operation:"new Contract"})}this.resolvedAddress.catch((t=>{}));const n={},i={};Object.keys(this.interface.functions).forEach((t=>{const e=this.interface.functions[t];if(i[t])An.warn(`Duplicate ABI entry for ${JSON.stringify(t)}`);else{i[t]=!0;{const r=e.name;n[`%${r}`]||(n[`%${r}`]=[]),n[`%${r}`].push(t)}null==this[t]&&et(this,t,Mn(this,e,!0)),null==this.functions[t]&&et(this.functions,t,Mn(this,e,!1)),null==this.callStatic[t]&&et(this.callStatic,t,Nn(this,e,!0)),null==this.populateTransaction[t]&&et(this.populateTransaction,t,function(t,e){return function(...r){return Sn(t,e,r)}}(this,e)),null==this.estimateGas[t]&&et(this.estimateGas,t,function(t,e){const r=t.signer||t.provider;return function(...n){return bn(this,void 0,void 0,(function*(){r||An.throwError("estimate require a provider or signer",v.errors.UNSUPPORTED_OPERATION,{operation:"estimateGas"});const i=yield Sn(t,e,n);return yield r.estimateGas(i)}))}}(this,e))}})),Object.keys(n).forEach((t=>{const e=n[t];if(e.length>1)return;t=t.substring(1);const r=e[0];try{null==this[t]&&et(this,t,this[r])}catch(i){}null==this.functions[t]&&et(this.functions,t,this.functions[r]),null==this.callStatic[t]&&et(this.callStatic,t,this.callStatic[r]),null==this.populateTransaction[t]&&et(this.populateTransaction,t,this.populateTransaction[r]),null==this.estimateGas[t]&&et(this.estimateGas,t,this.estimateGas[r])}))}static getContractAddress(t){return Dt(t)}static getInterface(t){return er.isInterface(t)?t:new er(t)}deployed(){return this._deployed()}_deployed(t){return this._deployedPromise||(this.deployTransaction?this._deployedPromise=this.deployTransaction.wait().then((()=>this)):this._deployedPromise=this.provider.getCode(this.address,t).then((t=>("0x"===t&&An.throwError("contract not deployed",v.errors.UNSUPPORTED_OPERATION,{contractAddress:this.address,operation:"getDeployed"}),this)))),this._deployedPromise}fallback(t){this.signer||An.throwError("sending a transactions require a signer",v.errors.UNSUPPORTED_OPERATION,{operation:"sendTransaction(fallback)"});const e=ot(t||{});return["from","to"].forEach((function(t){null!=e[t]&&An.throwError("cannot override "+t,v.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.to=this.resolvedAddress,this.deployed().then((()=>this.signer.sendTransaction(e)))}connect(t){"string"==typeof t&&(t=new hr(t,this.provider));const e=new this.constructor(this.address,this.interface,t);return this.deployTransaction&&et(e,"deployTransaction",this.deployTransaction),e}attach(t){return new this.constructor(t,this.interface,this.signer||this.provider)}static isIndexed(t){return Ze.isIndexed(t)}_normalizeRunningEvent(t){return this._runningEvents[t.tag]?this._runningEvents[t.tag]:t}_getRunningEvent(t){if("string"==typeof t){if("error"===t)return this._normalizeRunningEvent(new In);if("event"===t)return this._normalizeRunningEvent(new Cn("event",null));if("*"===t)return this._normalizeRunningEvent(new Rn(this.address,this.interface));const e=this.interface.getEvent(t);return this._normalizeRunningEvent(new Tn(this.address,this.interface,e))}if(t.topics&&t.topics.length>0){try{const e=t.topics[0];if("string"!=typeof e)throw new Error("invalid topic");const r=this.interface.getEvent(e);return this._normalizeRunningEvent(new Tn(this.address,this.interface,r,t.topics))}catch(e){}const r={address:this.address,topics:t.topics};return this._normalizeRunningEvent(new Cn(xn(r),r))}return this._normalizeRunningEvent(new Rn(this.address,this.interface))}_checkRunningEvents(t){if(0===t.listenerCount()){delete this._runningEvents[t.tag];const e=this._wrappedEmits[t.tag];e&&t.filter&&(this.provider.off(t.filter,e),delete this._wrappedEmits[t.tag])}}_wrapEvent(t,e,r){const n=lt(e);return n.removeListener=()=>{r&&(t.removeListener(r),this._checkRunningEvents(t))},n.getBlock=()=>this.provider.getBlock(e.blockHash),n.getTransaction=()=>this.provider.getTransaction(e.transactionHash),n.getTransactionReceipt=()=>this.provider.getTransactionReceipt(e.transactionHash),t.prepareEvent(n),n}_addEventListener(t,e,r){if(this.provider||An.throwError("events require a provider or a signer with a provider",v.errors.UNSUPPORTED_OPERATION,{operation:"once"}),t.addListener(e,r),this._runningEvents[t.tag]=t,!this._wrappedEmits[t.tag]){const r=r=>{let n=this._wrapEvent(t,r,e);if(null==n.decodeError)try{const e=t.getEmit(n);this.emit(t.filter,...e)}catch(i){n.decodeError=i.error}null!=t.filter&&this.emit("event",n),null!=n.decodeError&&this.emit("error",n.decodeError,n)};this._wrappedEmits[t.tag]=r,null!=t.filter&&this.provider.on(t.filter,r)}}queryFilter(t,e,r){const n=this._getRunningEvent(t),i=ot(n.filter);return"string"==typeof e&&x(e,32)?(null!=r&&An.throwArgumentError("cannot specify toBlock with blockhash","toBlock",r),i.blockHash=e):(i.fromBlock=null!=e?e:0,i.toBlock=null!=r?r:"latest"),this.provider.getLogs(i).then((t=>t.map((t=>this._wrapEvent(n,t,null)))))}on(t,e){return this._addEventListener(this._getRunningEvent(t),e,!1),this}once(t,e){return this._addEventListener(this._getRunningEvent(t),e,!0),this}emit(t,...e){if(!this.provider)return!1;const r=this._getRunningEvent(t),n=r.run(e)>0;return this._checkRunningEvents(r),n}listenerCount(t){return this.provider?null==t?Object.keys(this._runningEvents).reduce(((t,e)=>t+this._runningEvents[e].listenerCount()),0):this._getRunningEvent(t).listenerCount():0}listeners(t){if(!this.provider)return[];if(null==t){const t=[];for(let e in this._runningEvents)this._runningEvents[e].listeners().forEach((e=>{t.push(e)}));return t}return this._getRunningEvent(t).listeners()}removeAllListeners(t){if(!this.provider)return this;if(null==t){for(const t in this._runningEvents){const e=this._runningEvents[t];e.removeAllListeners(),this._checkRunningEvents(e)}return this}const e=this._getRunningEvent(t);return e.removeAllListeners(),this._checkRunningEvents(e),this}off(t,e){if(!this.provider)return this;const r=this._getRunningEvent(t);return r.removeListener(e),this._checkRunningEvents(r),this}removeListener(t,e){return this.off(t,e)}}class On extends Bn{}class Fn{constructor(t,e,r){let n=null;n="string"==typeof e?e:_(e)?I(e):e&&"string"==typeof e.object?e.object:"!","0x"!==n.substring(0,2)&&(n="0x"+n),(!x(n)||n.length%2)&&An.throwArgumentError("invalid bytecode","bytecode",e),r&&!cr.isSigner(r)&&An.throwArgumentError("invalid signer","signer",r),et(this,"bytecode",n),et(this,"interface",rt(new.target,"getInterface")(t)),et(this,"signer",r||null)}getDeployTransaction(...t){let e={};if(t.length===this.interface.deploy.inputs.length+1&&"object"==typeof t[t.length-1]){e=ot(t.pop());for(const t in e)if(!En[t])throw new Error("unknown transaction override "+t)}if(["data","from","to"].forEach((t=>{null!=e[t]&&An.throwError("cannot override "+t,v.errors.UNSUPPORTED_OPERATION,{operation:t})})),e.value){W.from(e.value).isZero()||this.interface.deploy.payable||An.throwError("non-payable constructor cannot override value",v.errors.UNSUPPORTED_OPERATION,{operation:"overrides.value",value:e.value})}return An.checkArgumentCount(t.length,this.interface.deploy.inputs.length," in Contract constructor"),e.data=I(P([this.bytecode,this.interface.encodeDeploy(t)])),e}deploy(...t){return bn(this,void 0,void 0,(function*(){let e={};t.length===this.interface.deploy.inputs.length+1&&(e=t.pop()),An.checkArgumentCount(t.length,this.interface.deploy.inputs.length," in Contract constructor");const r=yield _n(this.signer,t,this.interface.deploy.inputs);r.push(e);const n=this.getDeployTransaction(...r),i=yield this.signer.sendTransaction(n),o=rt(this.constructor,"getContractAddress")(i),s=rt(this.constructor,"getContract")(o,this.interface,this.signer);return Pn(s,i),et(s,"deployTransaction",i),s}))}attach(t){return this.constructor.getContract(t,this.interface,this.signer)}connect(t){return new this.constructor(this.interface,this.bytecode,t)}static fromSolidity(t,e){null==t&&An.throwError("missing compiler output",v.errors.MISSING_ARGUMENT,{argument:"compilerOutput"}),"string"==typeof t&&(t=JSON.parse(t));const r=t.abi;let n=null;return t.bytecode?n=t.bytecode:t.evm&&t.evm.bytecode&&(n=t.evm.bytecode),new this(r,n,e)}static getInterface(t){return On.getInterface(t)}static getContractAddress(t){return Dt(t)}static getContract(t,e,r){return new On(t,e,r)}}const Dn=new v(z),Un={},Ln=W.from(0),Gn=W.from(-1);function jn(t,e,r,n){const i={fault:e,operation:r};return void 0!==n&&(i.value=n),Dn.throwError(t,v.errors.NUMERIC_FAULT,i)}let zn="0";for(;zn.length<256;)zn+=zn;function Kn(t){if("number"!=typeof t)try{t=W.from(t).toNumber()}catch(e){}return"number"==typeof t&&t>=0&&t<=256&&!(t%1)?"1"+zn.substring(0,t):Dn.throwArgumentError("invalid decimal size","decimals",t)}function qn(t,e){null==e&&(e=0);const r=Kn(e),n=(t=W.from(t)).lt(Ln);n&&(t=t.mul(Gn));let i=t.mod(r).toString();for(;i.length2&&Dn.throwArgumentError("too many decimal points","value",t);let o=i[0],s=i[1];for(o||(o="0"),s||(s="0");"0"===s[s.length-1];)s=s.substring(0,s.length-1);for(s.length>r.length-1&&jn("fractional component exceeds decimals","underflow","parseFixed"),""===s&&(s="0");s.lengthnull==t[e]?n:(typeof t[e]!==r&&Dn.throwArgumentError("invalid fixed format ("+e+" not "+r+")","format."+e,t[e]),t[e]);e=i("signed","boolean",e),r=i("width","number",r),n=i("decimals","number",n)}return r%8&&Dn.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",r),n>80&&Dn.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new Jn(Un,e,r,n)}}class Vn{constructor(t,e,r,n){t!==Un&&Dn.throwError("cannot use FixedNumber constructor; use FixedNumber.from",v.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=e,this._value=r,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(t){this.format.name!==t.format.name&&Dn.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",t)}addUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.add(r),this.format.decimals,this.format)}subUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.sub(r),this.format.decimals,this.format)}mulUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.mul(r).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(t){this._checkFormat(t);const e=Hn(this._value,this.format.decimals),r=Hn(t._value,t.format.decimals);return Vn.fromValue(e.mul(this.format._multiplier).div(r),this.format.decimals,this.format)}floor(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=Vn.from(t[0],this.format);const r=!t[1].match(/^(0*)$/);return this.isNegative()&&r&&(e=e.subUnsafe(Wn.toFormat(e.format))),e}ceiling(){const t=this.toString().split(".");1===t.length&&t.push("0");let e=Vn.from(t[0],this.format);const r=!t[1].match(/^(0*)$/);return!this.isNegative()&&r&&(e=e.addUnsafe(Wn.toFormat(e.format))),e}round(t){null==t&&(t=0);const e=this.toString().split(".");if(1===e.length&&e.push("0"),(t<0||t>80||t%1)&&Dn.throwArgumentError("invalid decimal count","decimals",t),e[1].length<=t)return this;const r=Vn.from("1"+zn.substring(0,t),this.format),n=Qn.toFormat(this.format);return this.mulUnsafe(r).addUnsafe(n).floor().divUnsafe(r)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(t){if(null==t)return this._hex;t%8&&Dn.throwArgumentError("invalid byte width","width",t);return D(W.from(this._hex).fromTwos(this.format.width).toTwos(t).toHexString(),t/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(t){return Vn.fromString(this._value,t)}static fromValue(t,e,r){return null!=r||null==e||function(t){return null!=t&&(W.isBigNumber(t)||"number"==typeof t&&t%1==0||"string"==typeof t&&!!t.match(/^-?[0-9]+$/)||x(t)||"bigint"==typeof t||_(t))}(e)||(r=e,e=null),null==e&&(e=0),null==r&&(r="fixed"),Vn.fromString(qn(t,e),Jn.from(r))}static fromString(t,e){null==e&&(e="fixed");const r=Jn.from(e),n=Hn(t,r.decimals);!r.signed&&n.lt(Ln)&&jn("unsigned value cannot be negative","overflow","value",t);let i=null;r.signed?i=n.toTwos(r.width).toHexString():(i=n.toHexString(),i=D(i,r.width/8));const o=qn(n,r.decimals);return new Vn(Un,i,o,r)}static fromBytes(t,e){null==e&&(e="fixed");const r=Jn.from(e);if(S(t).length>r.width/8)throw new Error("overflow");let n=W.from(t);r.signed&&(n=n.fromTwos(r.width));const i=n.toTwos((r.signed?0:1)+r.width).toHexString(),o=qn(n,r.decimals);return new Vn(Un,i,o,r)}static from(t,e){if("string"==typeof t)return Vn.fromString(t,e);if(_(t))return Vn.fromBytes(t,e);try{return Vn.fromValue(t,0,e)}catch(r){if(r.code!==v.errors.INVALID_ARGUMENT)throw r}return Dn.throwArgumentError("invalid FixedNumber value","value",t)}static isFixedNumber(t){return!(!t||!t._isFixedNumber)}}const Wn=Vn.from(1),Qn=Vn.from("0.5"),Yn="\x19Ethereum Signed Message:\n";function Xn(t){return"string"==typeof t&&(t=Ht(t)),wt(P([Ht(Yn),Ht(String(t.length)),t]))}const Zn="hash/5.7.0";var $n=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ti=new v(Zn),ei=new Uint8Array(32);ei.fill(0);const ri=W.from(-1),ni=W.from(0),ii=W.from(1),oi=W.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");const si=D(ii.toHexString(),32),ai=D(ni.toHexString(),32),ui={name:"string",version:"string",chainId:"uint256",verifyingContract:"address",salt:"bytes32"},li=["name","version","chainId","verifyingContract","salt"];function ci(t){return function(e){return"string"!=typeof e&&ti.throwArgumentError(`invalid domain value for ${JSON.stringify(t)}`,`domain.${t}`,e),e}}const hi={name:ci("name"),version:ci("version"),chainId:function(t){try{return W.from(t).toString()}catch(e){}return ti.throwArgumentError('invalid domain value for "chainId"',"domain.chainId",t)},verifyingContract:function(t){try{return Bt(t).toLowerCase()}catch(e){}return ti.throwArgumentError('invalid domain value "verifyingContract"',"domain.verifyingContract",t)},salt:function(t){try{const e=S(t);if(32!==e.length)throw new Error("bad length");return I(e)}catch(e){}return ti.throwArgumentError('invalid domain value "salt"',"domain.salt",t)}};function fi(t){{const e=t.match(/^(u?)int(\d*)$/);if(e){const r=""===e[1],n=parseInt(e[2]||"256");(n%8!=0||n>256||e[2]&&e[2]!==String(n))&&ti.throwArgumentError("invalid numeric width","type",t);const i=oi.mask(r?n-1:n),o=r?i.add(ii).mul(ri):ni;return function(e){const r=W.from(e);return(r.lt(o)||r.gt(i))&&ti.throwArgumentError(`value out-of-bounds for ${t}`,"value",e),D(r.toTwos(256).toHexString(),32)}}}{const e=t.match(/^bytes(\d+)$/);if(e){const r=parseInt(e[1]);return(0===r||r>32||e[1]!==String(r))&&ti.throwArgumentError("invalid bytes width","type",t),function(e){return S(e).length!==r&&ti.throwArgumentError(`invalid length for ${t}`,"value",e),function(t){const e=S(t),r=e.length%32;return r?B([e,ei.slice(r)]):I(e)}(e)}}}switch(t){case"address":return function(t){return D(Bt(t),32)};case"bool":return function(t){return t?si:ai};case"bytes":return function(t){return wt(t)};case"string":return function(t){return Xt(t)}}return null}function di(t,e){return`${t}(${e.map((({name:t,type:e})=>e+" "+t)).join(",")})`}class pi{constructor(t){et(this,"types",Object.freeze(lt(t))),et(this,"_encoderCache",{}),et(this,"_types",{});const e={},r={},n={};Object.keys(t).forEach((t=>{e[t]={},r[t]=[],n[t]={}}));for(const o in t){const n={};t[o].forEach((i=>{n[i.name]&&ti.throwArgumentError(`duplicate variable name ${JSON.stringify(i.name)} in ${JSON.stringify(o)}`,"types",t),n[i.name]=!0;const s=i.type.match(/^([^\x5b]*)(\x5b|$)/)[1];s===o&&ti.throwArgumentError(`circular type reference to ${JSON.stringify(s)}`,"types",t);fi(s)||(r[s]||ti.throwArgumentError(`unknown type ${JSON.stringify(s)}`,"types",t),r[s].push(o),e[o][s]=!0)}))}const i=Object.keys(r).filter((t=>0===r[t].length));0===i.length?ti.throwArgumentError("missing primary type","types",t):i.length>1&&ti.throwArgumentError(`ambiguous primary types or unused types: ${i.map((t=>JSON.stringify(t))).join(", ")}`,"types",t),et(this,"primaryType",i[0]),function i(o,s){s[o]&&ti.throwArgumentError(`circular type reference to ${JSON.stringify(o)}`,"types",t),s[o]=!0,Object.keys(e[o]).forEach((t=>{r[t]&&(i(t,s),Object.keys(s).forEach((e=>{n[e][t]=!0})))})),delete s[o]}(this.primaryType,{});for(const o in n){const e=Object.keys(n[o]);e.sort(),this._types[o]=di(o,t[o])+e.map((e=>di(e,t[e]))).join("")}}getEncoder(t){let e=this._encoderCache[t];return e||(e=this._encoderCache[t]=this._getEncoder(t)),e}_getEncoder(t){{const e=fi(t);if(e)return e}const e=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(e){const t=e[1],r=this.getEncoder(t),n=parseInt(e[3]);return e=>{n>=0&&e.length!==n&&ti.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e);let i=e.map(r);return this._types[t]&&(i=i.map(wt)),wt(B(i))}}const r=this.types[t];if(r){const e=Xt(this._types[t]);return t=>{const n=r.map((({name:e,type:r})=>{const n=this.getEncoder(r)(t[e]);return this._types[r]?wt(n):n}));return n.unshift(e),B(n)}}return ti.throwArgumentError(`unknown type: ${t}`,"type",t)}encodeType(t){const e=this._types[t];return e||ti.throwArgumentError(`unknown type: ${JSON.stringify(t)}`,"name",t),e}encodeData(t,e){return this.getEncoder(t)(e)}hashStruct(t,e){return wt(this.encodeData(t,e))}encode(t){return this.encodeData(this.primaryType,t)}hash(t){return this.hashStruct(this.primaryType,t)}_visit(t,e,r){if(fi(t))return r(t,e);const n=t.match(/^(.*)(\x5b(\d*)\x5d)$/);if(n){const t=n[1],i=parseInt(n[3]);return i>=0&&e.length!==i&&ti.throwArgumentError("array length mismatch; expected length ${ arrayLength }","value",e),e.map((e=>this._visit(t,e,r)))}const i=this.types[t];return i?i.reduce(((t,{name:n,type:i})=>(t[n]=this._visit(i,e[n],r),t)),{}):ti.throwArgumentError(`unknown type: ${t}`,"type",t)}visit(t,e){return this._visit(this.primaryType,t,e)}static from(t){return new pi(t)}static getPrimaryType(t){return pi.from(t).primaryType}static hashStruct(t,e,r){return pi.from(e).hashStruct(t,r)}static hashDomain(t){const e=[];for(const r in t){const n=ui[r];n||ti.throwArgumentError(`invalid typed-data domain key: ${JSON.stringify(r)}`,"domain",t),e.push({name:r,type:n})}return e.sort(((t,e)=>li.indexOf(t.name)-li.indexOf(e.name))),pi.hashStruct("EIP712Domain",{EIP712Domain:e},t)}static encode(t,e,r){return B(["0x1901",pi.hashDomain(t),pi.from(e).hash(r)])}static hash(t,e,r){return wt(pi.encode(t,e,r))}static resolveNames(t,e,r,n){return $n(this,void 0,void 0,(function*(){t=ot(t);const i={};t.verifyingContract&&!x(t.verifyingContract,20)&&(i[t.verifyingContract]="0x");const o=pi.from(e);o.visit(r,((t,e)=>("address"!==t||x(e,20)||(i[e]="0x"),e)));for(const t in i)i[t]=yield n(t);return t.verifyingContract&&i[t.verifyingContract]&&(t.verifyingContract=i[t.verifyingContract]),r=o.visit(r,((t,e)=>"address"===t&&i[e]?i[e]:e)),{domain:t,value:r}}))}static getPayload(t,e,r){pi.hashDomain(t);const n={},i=[];li.forEach((e=>{const r=t[e];null!=r&&(n[e]=hi[e](r),i.push({name:e,type:ui[e]}))}));const o=pi.from(e),s=ot(e);return s.EIP712Domain?ti.throwArgumentError("types must not contain EIP712Domain type","types.EIP712Domain",e):s.EIP712Domain=i,o.encode(r),{types:s,domain:n,primaryType:o.primaryType,message:o.visit(r,((t,e)=>{if(t.match(/^bytes(\d*)/))return I(S(e));if(t.match(/^u?int/))return W.from(e).toString();switch(t){case"address":return e.toLowerCase();case"bool":return!!e;case"string":return"string"!=typeof e&&ti.throwArgumentError("invalid string","value",e),e}return ti.throwArgumentError("unsupported type","type",t)}))}}}class mi{constructor(t){et(this,"alphabet",t),et(this,"base",t.length),et(this,"_alphabetMap",{}),et(this,"_leader",t.charAt(0));for(let e=0;e0;)r.push(t%this.base),t=t/this.base|0}let n="";for(let i=0;0===e[i]&&i=0;--i)n+=this.alphabet[r[i]];return n}decode(t){if("string"!=typeof t)throw new TypeError("Expected String");let e=[];if(0===t.length)return new Uint8Array(e);e.push(0);for(let r=0;r>=8;for(;i>0;)e.push(255&i),i>>=8}for(let r=0;t[r]===this._leader&&r>24&255,u[e.length+1]=h>>16&255,u[e.length+2]=h>>8&255,u[e.length+3]=255&h;let f=S(Ei(i,t,u));o||(o=f.length,c=new Uint8Array(o),s=Math.ceil(n/o),l=n-(s-1)*o),c.set(f);for(let e=1;e=256)throw new Error("Depth too large!");return Fi(P([null!=this.privateKey?"0x0488ADE4":"0x0488B21E",I(this.depth),this.parentFingerprint,D(I(this.index),4),this.chainCode,null!=this.privateKey?P(["0x00",this.privateKey]):this.publicKey]))}neuter(){return new Gi(Ui,null,this.publicKey,this.parentFingerprint,this.chainCode,this.index,this.depth,this.path)}_derive(t){if(t>4294967295)throw new Error("invalid index - "+String(t));let e=this.path;e&&(e+="/"+(t&~Ri));const r=new Uint8Array(37);if(t&Ri){if(!this.privateKey)throw new Error("cannot derive child of neutered node");r.set(S(this.privateKey),1),e&&(e+="'")}else r.set(S(this.publicKey));for(let c=24;c>=0;c-=8)r[33+(c>>3)]=t>>24-c&255;const n=S(Ei(yi.sha512,this.chainCode,r)),i=n.slice(0,32),o=n.slice(32);let s=null,a=null;if(this.privateKey)s=Oi(W.from(i).add(this.privateKey).mod(Ii));else{a=new $r(I(i))._addPoint(this.publicKey)}let u=e;const l=this.mnemonic;return l&&(u=Object.freeze({phrase:l.phrase,path:e,locale:l.locale||"en"})),new Gi(Ui,s,a,this.fingerprint,Oi(o),t,this.depth+1,u)}derivePath(t){const e=t.split("/");if(0===e.length||"m"===e[0]&&0!==this.depth)throw new Error("invalid path - "+t);"m"===e[0]&&e.shift();let r=this;for(let n=0;n=Ri)throw new Error("invalid path index - "+t);r=r._derive(Ri+e)}else{if(!t.match(/^[0-9]+$/))throw new Error("invalid path component - "+t);{const e=parseInt(t);if(e>=Ri)throw new Error("invalid path index - "+t);r=r._derive(e)}}}return r}static _fromSeed(t,e){const r=S(t);if(r.length<16||r.length>64)throw new Error("invalid seed");const n=S(Ei(yi.sha512,Ti,r));return new Gi(Ui,Oi(n.slice(0,32)),null,"0x00000000",Oi(n.slice(32)),0,0,e)}static fromMnemonic(t,e,r){return t=Ki(zi(t,r=Di(r)),r),Gi._fromSeed(ji(t,e),{phrase:t,path:"m",locale:r.locale})}static fromSeed(t){return Gi._fromSeed(t,null)}static fromExtendedKey(t){const e=gi.decode(t);82===e.length&&Fi(e.slice(0,78))===t||Ci.throwArgumentError("invalid extended key","extendedKey","[REDACTED]");const r=e[4],n=I(e.slice(5,9)),i=parseInt(I(e.slice(9,13)).substring(2),16),o=I(e.slice(13,45)),s=e.slice(45,78);switch(I(e.slice(0,4))){case"0x0488b21e":case"0x043587cf":return new Gi(Ui,null,I(s),n,o,i,r,null);case"0x0488ade4":case"0x04358394 ":if(0!==s[0])break;return new Gi(Ui,I(s.slice(1)),null,n,o,i,r,null)}return Ci.throwArgumentError("invalid extended key","extendedKey","[REDACTED]")}}function ji(t,e){e||(e="");const r=Ht("mnemonic"+e,Gt.NFKD);return ki(Ht(t,Gt.NFKD),r,2048,64,"sha512")}function zi(t,e){e=Di(e),Ci.checkNormalize();const r=e.split(t);if(r.length%3!=0)throw new Error("invalid mnemonic");const n=S(new Uint8Array(Math.ceil(11*r.length/8)));let i=0;for(let a=0;a>3]|=1<<7-i%8),i++}const o=32*r.length/3,s=Bi(r.length/3);if((S(bi(n.slice(0,o/8)))[0]&s)!==(n[n.length-1]&s))throw new Error("invalid checksum");return I(n.slice(0,o/8))}function Ki(t,e){if(e=Di(e),(t=S(t)).length%4!=0||t.length<16||t.length>32)throw new Error("invalid entropy");const r=[0];let n=11;for(let s=0;s8?(r[r.length-1]<<=8,r[r.length-1]|=t[s],n-=8):(r[r.length-1]<<=n,r[r.length-1]|=t[s]>>8-n,r.push(t[s]&(1<<8-n)-1),n+=3);const i=t.length/4,o=S(bi(t))[0]&Bi(i);return r[r.length-1]<<=i,r[r.length-1]|=o>>8-i,e.join(r.map((t=>e.getWord(t))))}function qi(t,e){try{return zi(t,e),!0}catch(r){}return!1}function Hi(t){return("number"!=typeof t||t<0||t>=Ri||t%1)&&Ci.throwArgumentError("invalid account index","index",t),`m/44'/60'/${t}'/0/0`}const Ji=new v("random/5.7.0");const Vi=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r.g)return r.g;throw new Error("unable to locate global object")}();let Wi=Vi.crypto||Vi.msCrypto;function Qi(t){(t<=0||t>1024||t%1||t!=t)&&Ji.throwArgumentError("invalid length","length",t);const e=new Uint8Array(t);return Wi.getRandomValues(e),S(e)}Wi&&Wi.getRandomValues||(Ji.warn("WARNING: Missing strong random number source"),Wi={getRandomValues:function(t){return Ji.throwError("no secure random source avaialble",v.errors.UNSUPPORTED_OPERATION,{operation:"crypto.getRandomValues"})}});var Yi=r(78826),Xi=r.n(Yi),Zi=r(17635),$i=r.n(Zi);function to(t){return"string"==typeof t&&"0x"!==t.substring(0,2)&&(t="0x"+t),S(t)}function eo(t,e){for(t=String(t);t.lengthe)),et(this,"address",ln(this.publicKey)),this.address!==Bt(t.address)&&_o.throwArgumentError("privateKey/address mismatch","privateKey","[REDACTED]"),function(t){const e=t.mnemonic;return e&&e.phrase}(t)){const e=t.mnemonic;et(this,"_mnemonic",(()=>({phrase:e.phrase,path:e.path||Li,locale:e.locale||"en"})));const r=this.mnemonic;ln(Gi.fromMnemonic(r.phrase,null,r.locale).derivePath(r.path).privateKey)!==this.address&&_o.throwArgumentError("mnemonic/address mismatch","privateKey","[REDACTED]")}else et(this,"_mnemonic",(()=>null))}else{if($r.isSigningKey(t))"secp256k1"!==t.curve&&_o.throwArgumentError("unsupported curve; must be secp256k1","privateKey","[REDACTED]"),et(this,"_signingKey",(()=>t));else{"string"==typeof t&&t.match(/^[0-9a-f]*$/i)&&64===t.length&&(t="0x"+t);const e=new $r(t);et(this,"_signingKey",(()=>e))}et(this,"_mnemonic",(()=>null)),et(this,"address",ln(this.publicKey))}var r;e&&!or.isProvider(e)&&_o.throwArgumentError("invalid provider","provider",e),et(this,"provider",e||null)}get mnemonic(){return this._mnemonic()}get privateKey(){return this._signingKey().privateKey}get publicKey(){return this._signingKey().publicKey}getAddress(){return Promise.resolve(this.address)}connect(t){return new So(this,t)}signTransaction(t){return nt(t).then((e=>{null!=e.from&&(Bt(e.from)!==this.address&&_o.throwArgumentError("transaction from address mismatch","transaction.from",t.from),delete e.from);const r=this._signingKey().signDigest(wt(yn(e)));return yn(e,r)}))}signMessage(t){return ko(this,void 0,void 0,(function*(){return L(this._signingKey().signDigest(Xn(t)))}))}_signTypedData(t,e,r){return ko(this,void 0,void 0,(function*(){const n=yield pi.resolveNames(t,e,r,(t=>(null==this.provider&&_o.throwError("cannot resolve ENS names without a provider",v.errors.UNSUPPORTED_OPERATION,{operation:"resolveName",value:t}),this.provider.resolveName(t))));return L(this._signingKey().signDigest(pi.hash(n.domain,e,n.value)))}))}encrypt(t,e,r){if("function"!=typeof e||r||(r=e,e={}),r&&"function"!=typeof r)throw new Error("invalid callback");return e||(e={}),function(t,e,r,n){try{if(Bt(t.address)!==ln(t.privateKey))throw new Error("address/privateKey mismatch");if(uo(t)){const e=t.mnemonic;if(Gi.fromMnemonic(e.phrase,null,e.locale).derivePath(e.path||Li).privateKey!=t.privateKey)throw new Error("mnemonic mismatch")}}catch(g){return Promise.reject(g)}"function"!=typeof r||n||(n=r,r={}),r||(r={});const i=S(t.privateKey),o=ro(e);let s=null,a=null,u=null;if(uo(t)){const e=t.mnemonic;s=S(zi(e.phrase,e.locale||"en")),a=e.path||Li,u=e.locale||"en"}let l=r.client;l||(l="ethers.js");let c=null;c=r.salt?S(r.salt):Qi(32);let h=null;if(r.iv){if(h=S(r.iv),16!==h.length)throw new Error("invalid iv")}else h=Qi(16);let f=null;if(r.uuid){if(f=S(r.uuid),16!==f.length)throw new Error("invalid uuid")}else f=Qi(16);let d=1<<17,p=8,m=1;return r.scrypt&&(r.scrypt.N&&(d=r.scrypt.N),r.scrypt.r&&(p=r.scrypt.r),r.scrypt.p&&(m=r.scrypt.p)),$i().scrypt(o,c,d,p,m,64,n).then((e=>{const r=(e=S(e)).slice(0,16),n=e.slice(16,32),o=e.slice(32,64),g=new(Xi().Counter)(h),y=S(new(Xi().ModeOfOperation.ctr)(r,g).encrypt(i)),v=wt(P([n,y])),w={address:t.address.substring(2).toLowerCase(),id:io(f),version:3,crypto:{cipher:"aes-128-ctr",cipherparams:{iv:I(h).substring(2)},ciphertext:I(y).substring(2),kdf:"scrypt",kdfparams:{salt:I(c).substring(2),n:d,dklen:32,p:m,r:p},mac:v.substring(2)}};if(s){const t=Qi(16),e=new(Xi().Counter)(t),r=S(new(Xi().ModeOfOperation.ctr)(o,e).encrypt(s)),n=new Date,i=n.getUTCFullYear()+"-"+eo(n.getUTCMonth()+1,2)+"-"+eo(n.getUTCDate(),2)+"T"+eo(n.getUTCHours(),2)+"-"+eo(n.getUTCMinutes(),2)+"-"+eo(n.getUTCSeconds(),2)+".0Z";w["x-ethers"]={client:l,gethFilename:"UTC--"+i+"--"+w.address,mnemonicCounter:I(t).substring(2),mnemonicCiphertext:I(r).substring(2),path:a,locale:u,version:"0.1"}}return JSON.stringify(w)}))}(this,t,e,r)}static createRandom(t){let e=Qi(16);t||(t={}),t.extraEntropy&&(e=S(R(wt(P([e,t.extraEntropy])),0,16)));const r=Ki(e,t.locale);return So.fromMnemonic(r,t.path,t.locale)}static fromEncryptedJson(t,e,r){return Ao(t,e,r).then((t=>new So(t)))}static fromEncryptedJsonSync(t,e){return new So(Eo(t,e))}static fromMnemonic(t,e,r){return e||(e=Li),new So(Gi.fromMnemonic(t,null,r).derivePath(e))}}function Po(t,e){return cn(Xn(t),e)}function No(t,e,r,n){return cn(pi.hash(t,e,r),n)}const Mo="0x0000000000000000000000000000000000000000",xo="0x0000000000000000000000000000000000000000000000000000000000000000",Co="\u039e",Io=new v("networks/5.7.1");function To(t){const e=function(e,r){null==r&&(r={});const n=[];if(e.InfuraProvider&&"-"!==r.infura)try{n.push(new e.InfuraProvider(t,r.infura))}catch(i){}if(e.EtherscanProvider&&"-"!==r.etherscan)try{n.push(new e.EtherscanProvider(t,r.etherscan))}catch(i){}if(e.AlchemyProvider&&"-"!==r.alchemy)try{n.push(new e.AlchemyProvider(t,r.alchemy))}catch(i){}if(e.PocketProvider&&"-"!==r.pocket){const o=["goerli","ropsten","rinkeby","sepolia"];try{const i=new e.PocketProvider(t,r.pocket);i.network&&-1===o.indexOf(i.network.name)&&n.push(i)}catch(i){}}if(e.CloudflareProvider&&"-"!==r.cloudflare)try{n.push(new e.CloudflareProvider(t))}catch(i){}if(e.AnkrProvider&&"-"!==r.ankr)try{const i=["ropsten"],o=new e.AnkrProvider(t,r.ankr);o.network&&-1===i.indexOf(o.network.name)&&n.push(o)}catch(i){}if(0===n.length)return null;if(e.FallbackProvider){let i=1;return null!=r.quorum?i=r.quorum:"homestead"===t&&(i=2),new e.FallbackProvider(n,i)}return n[0]};return e.renetwork=function(t){return To(t)},e}function Ro(t,e){const r=function(r,n){return r.JsonRpcProvider?new r.JsonRpcProvider(t,e):null};return r.renetwork=function(e){return Ro(t,e)},r}const Bo={chainId:1,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"homestead",_defaultProvider:To("homestead")},Oo={chainId:3,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"ropsten",_defaultProvider:To("ropsten")},Fo={chainId:63,name:"classicMordor",_defaultProvider:Ro("https://www.ethercluster.com/mordor","classicMordor")},Do={unspecified:{chainId:0,name:"unspecified"},homestead:Bo,mainnet:Bo,morden:{chainId:2,name:"morden"},ropsten:Oo,testnet:Oo,rinkeby:{chainId:4,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"rinkeby",_defaultProvider:To("rinkeby")},kovan:{chainId:42,name:"kovan",_defaultProvider:To("kovan")},goerli:{chainId:5,ensAddress:"0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",name:"goerli",_defaultProvider:To("goerli")},kintsugi:{chainId:1337702,name:"kintsugi"},sepolia:{chainId:11155111,name:"sepolia",_defaultProvider:To("sepolia")},classic:{chainId:61,name:"classic",_defaultProvider:Ro("https://www.ethercluster.com/etc","classic")},classicMorden:{chainId:62,name:"classicMorden"},classicMordor:Fo,classicTestnet:Fo,classicKotti:{chainId:6,name:"classicKotti",_defaultProvider:Ro("https://www.ethercluster.com/kotti","classicKotti")},xdai:{chainId:100,name:"xdai"},matic:{chainId:137,name:"matic",_defaultProvider:To("matic")},maticmum:{chainId:80001,name:"maticmum"},optimism:{chainId:10,name:"optimism",_defaultProvider:To("optimism")},"optimism-kovan":{chainId:69,name:"optimism-kovan"},"optimism-goerli":{chainId:420,name:"optimism-goerli"},arbitrum:{chainId:42161,name:"arbitrum"},"arbitrum-rinkeby":{chainId:421611,name:"arbitrum-rinkeby"},"arbitrum-goerli":{chainId:421613,name:"arbitrum-goerli"},bnb:{chainId:56,name:"bnb"},bnbt:{chainId:97,name:"bnbt"}};function Uo(t){if(null==t)return null;if("number"==typeof t){for(const e in Do){const r=Do[e];if(r.chainId===t)return{name:r.name,chainId:r.chainId,ensAddress:r.ensAddress||null,_defaultProvider:r._defaultProvider||null}}return{chainId:t,name:"unknown"}}if("string"==typeof t){const e=Do[t];return null==e?null:{name:e.name,chainId:e.chainId,ensAddress:e.ensAddress,_defaultProvider:e._defaultProvider||null}}const e=Do[t.name];if(!e)return"number"!=typeof t.chainId&&Io.throwArgumentError("invalid network chainId","network",t),t;0!==t.chainId&&t.chainId!==e.chainId&&Io.throwArgumentError("network chainId mismatch","network",t);let r=t._defaultProvider||null;var n;return null==r&&e._defaultProvider&&(r=(n=e._defaultProvider)&&"function"==typeof n.renetwork?e._defaultProvider.renetwork(t):e._defaultProvider),{name:t.name,chainId:e.chainId,ensAddress:t.ensAddress||e.ensAddress||null,_defaultProvider:r}}function Lo(t){t=atob(t);const e=[];for(let r=0;r0&&Array.isArray(t)?i(t,e-1):r.push(t)}))};return i(t,e),r}function zo(t){return function(t){let e=0;return()=>t[e++]}(function(t){let e=0;function r(){return t[e++]<<8|t[e++]}let n=r(),i=1,o=[0,1];for(let b=1;b>--u&1}const h=Math.pow(2,31),f=h>>>1,d=f>>1,p=h-1;let m=0;for(let b=0;b<31;b++)m=m<<1|c();let g=[],y=0,v=h;for(;;){let t=Math.floor(((m-y+1)*i-1)/v),e=0,r=n;for(;r-e>1;){let n=e+r>>>1;t>>1|c(),s=s<<1^f,a=(a^f)<<1|f|1;y=s,v=1+a-s}let w=n-4;return g.map((e=>{switch(e-w){case 3:return w+65792+(t[a++]<<16|t[a++]<<8|t[a++]);case 2:return w+256+(t[a++]<<8|t[a++]);case 1:return w+t[a++];default:return e-1}}))}(t))}function Ko(t){return 1&t?~t>>1:t>>1}function qo(t,e){let r=Array(t);for(let n=0,i=-1;ne[t])):r}function Vo(t,e,r){let n=Array(t).fill(void 0).map((()=>[]));for(let i=0;in[e].push(t)));return n}function Wo(t,e){let r=1+e(),n=e(),i=function(t){let e=[];for(;;){let r=t();if(0==r)break;e.push(r)}return e}(e);return jo(Vo(i.length,1+t,e).map(((t,e)=>{const o=t[0],s=t.slice(1);return Array(i[e]).fill(void 0).map(((t,e)=>{let i=e*n;return[o+e*r,s.map((t=>t+i))]}))})))}function Qo(t,e){return Vo(1+e(),1+t,e).map((t=>[t[0],t.slice(1)]))}const Yo=zo(Lo("AEQF2AO2DEsA2wIrAGsBRABxAN8AZwCcAEwAqgA0AGwAUgByADcATAAVAFYAIQAyACEAKAAYAFgAGwAjABQAMAAmADIAFAAfABQAKwATACoADgAbAA8AHQAYABoAGQAxADgALAAoADwAEwA9ABMAGgARAA4ADwAWABMAFgAIAA8AHgQXBYMA5BHJAS8JtAYoAe4AExozi0UAH21tAaMnBT8CrnIyhrMDhRgDygIBUAEHcoFHUPe8AXBjAewCjgDQR8IICIcEcQLwATXCDgzvHwBmBoHNAqsBdBcUAykgDhAMShskMgo8AY8jqAQfAUAfHw8BDw87MioGlCIPBwZCa4ELatMAAMspJVgsDl8AIhckSg8XAHdvTwBcIQEiDT4OPhUqbyECAEoAS34Aej8Ybx83JgT/Xw8gHxZ/7w8RICxPHA9vBw+Pfw8PHwAPFv+fAsAvCc8vEr8ivwD/EQ8Bol8OEBa/A78hrwAPCU8vESNvvwWfHwNfAVoDHr+ZAAED34YaAdJPAK7PLwSEgDLHAGo1Pz8Pvx9fUwMrpb8O/58VTzAPIBoXIyQJNF8hpwIVAT8YGAUADDNBaX3RAMomJCg9EhUeA29MABsZBTMNJipjOhc19gcIDR8bBwQHEggCWi6DIgLuAQYA+BAFCha3A5XiAEsqM7UFFgFLhAMjFTMYE1Klnw74nRVBG/ASCm0BYRN/BrsU3VoWy+S0vV8LQx+vN8gF2AC2AK5EAWwApgYDKmAAroQ0NDQ0AT+OCg7wAAIHRAbpNgVcBV0APTA5BfbPFgMLzcYL/QqqA82eBALKCjQCjqYCht0/k2+OAsXQAoP3ASTKDgDw6ACKAUYCMpIKJpRaAE4A5womABzZvs0REEKiACIQAd5QdAECAj4Ywg/wGqY2AVgAYADYvAoCGAEubA0gvAY2ALAAbpbvqpyEAGAEpgQAJgAG7gAgAEACmghUFwCqAMpAINQIwC4DthRAAPcycKgApoIdABwBfCisABoATwBqASIAvhnSBP8aH/ECeAKXAq40NjgDBTwFYQU6AXs3oABgAD4XNgmcCY1eCl5tIFZeUqGgyoNHABgAEQAaABNwWQAmABMATPMa3T34ADldyprmM1M2XociUQgLzvwAXT3xABgAEQAaABNwIGFAnADD8AAgAD4BBJWzaCcIAIEBFMAWwKoAAdq9BWAF5wLQpALEtQAKUSGkahR4GnJM+gsAwCgeFAiUAECQ0BQuL8AAIAAAADKeIheclvFqQAAETr4iAMxIARMgAMIoHhQIAn0E0pDQFC4HhznoAAAAIAI2C0/4lvFqQAAETgBJJwYCAy4ABgYAFAA8MBKYEH4eRhTkAjYeFcgACAYAeABsOqyQ5gRwDayqugEgaIIAtgoACgDmEABmBAWGme5OBJJA2m4cDeoAmITWAXwrMgOgAGwBCh6CBXYF1Tzg1wKAAFdiuABRAFwAXQBsAG8AdgBrAHYAbwCEAHEwfxQBVE5TEQADVFhTBwBDANILAqcCzgLTApQCrQL6vAAMAL8APLhNBKkE6glGKTAU4Dr4N2EYEwBCkABKk8rHAbYBmwIoAiU4Ajf/Aq4CowCAANIChzgaNBsCsTgeODcFXrgClQKdAqQBiQGYAqsCsjTsNHsfNPA0ixsAWTWiOAMFPDQSNCk2BDZHNow2TTZUNhk28Jk9VzI3QkEoAoICoQKwAqcAQAAxBV4FXbS9BW47YkIXP1ciUqs05DS/FwABUwJW11e6nHuYZmSh/RAYA8oMKvZ8KASoUAJYWAJ6ILAsAZSoqjpgA0ocBIhmDgDWAAawRDQoAAcuAj5iAHABZiR2AIgiHgCaAU68ACxuHAG0ygM8MiZIAlgBdF4GagJqAPZOHAMuBgoATkYAsABiAHgAMLoGDPj0HpKEBAAOJgAuALggTAHWAeAMEDbd20Uege0ADwAWADkAQgA9OHd+2MUQZBBhBgNNDkxxPxUQArEPqwvqERoM1irQ090ANK4H8ANYB/ADWANYB/AH8ANYB/ADWANYA1gDWBwP8B/YxRBkD00EcgWTBZAE2wiIJk4RhgctCNdUEnQjHEwDSgEBIypJITuYMxAlR0wRTQgIATZHbKx9PQNMMbBU+pCnA9AyVDlxBgMedhKlAC8PeCE1uk6DekxxpQpQT7NX9wBFBgASqwAS5gBJDSgAUCwGPQBI4zTYABNGAE2bAE3KAExdGABKaAbgAFBXAFCOAFBJABI2SWdObALDOq0//QomCZhvwHdTBkIQHCemEPgMNAG2ATwN7kvZBPIGPATKH34ZGg/OlZ0Ipi3eDO4m5C6igFsj9iqEBe5L9TzeC05RaQ9aC2YJ5DpkgU8DIgEOIowK3g06CG4Q9ArKbA3mEUYHOgPWSZsApgcCCxIdNhW2JhFirQsKOXgG/Br3C5AmsBMqev0F1BoiBk4BKhsAANAu6IWxWjJcHU9gBgQLJiPIFKlQIQ0mQLh4SRocBxYlqgKSQ3FKiFE3HpQh9zw+DWcuFFF9B/Y8BhlQC4I8n0asRQ8R0z6OPUkiSkwtBDaALDAnjAnQD4YMunxzAVoJIgmyDHITMhEYN8YIOgcaLpclJxYIIkaWYJsE+KAD9BPSAwwFQAlCBxQDthwuEy8VKgUOgSXYAvQ21i60ApBWgQEYBcwPJh/gEFFH4Q7qCJwCZgOEJewALhUiABginAhEZABgj9lTBi7MCMhqbSN1A2gU6GIRdAeSDlgHqBw0FcAc4nDJXgyGCSiksAlcAXYJmgFgBOQICjVcjKEgQmdUi1kYnCBiQUBd/QIyDGYVoES+h3kCjA9sEhwBNgF0BzoNAgJ4Ee4RbBCWCOyGBTW2M/k6JgRQIYQgEgooA1BszwsoJvoM+WoBpBJjAw00PnfvZ6xgtyUX/gcaMsZBYSHyC5NPzgydGsIYQ1QvGeUHwAP0GvQn60FYBgADpAQUOk4z7wS+C2oIjAlAAEoOpBgH2BhrCnKM0QEyjAG4mgNYkoQCcJAGOAcMAGgMiAV65gAeAqgIpAAGANADWAA6Aq4HngAaAIZCAT4DKDABIuYCkAOUCDLMAZYwAfQqBBzEDBYA+DhuSwLDsgKAa2ajBd5ZAo8CSjYBTiYEBk9IUgOwcuIA3ABMBhTgSAEWrEvMG+REAeBwLADIAPwABjYHBkIBzgH0bgC4AWALMgmjtLYBTuoqAIQAFmwB2AKKAN4ANgCA8gFUAE4FWvoF1AJQSgESMhksWGIBvAMgATQBDgB6BsyOpsoIIARuB9QCEBwV4gLvLwe2AgMi4BPOQsYCvd9WADIXUu5eZwqoCqdeaAC0YTQHMnM9UQAPH6k+yAdy/BZIiQImSwBQ5gBQQzSaNTFWSTYBpwGqKQK38AFtqwBI/wK37gK3rQK3sAK6280C0gK33AK3zxAAUEIAUD9SklKDArekArw5AEQAzAHCO147WTteO1k7XjtZO147WTteO1kDmChYI03AVU0oJqkKbV9GYewMpw3VRMk6ShPcYFJgMxPJLbgUwhXPJVcZPhq9JwYl5VUKDwUt1GYxCC00dhe9AEApaYNCY4ceMQpMHOhTklT5LRwAskujM7ANrRsWREEFSHXuYisWDwojAmSCAmJDXE6wXDchAqH4AmiZAmYKAp+FOBwMAmY8AmYnBG8EgAN/FAN+kzkHOXgYOYM6JCQCbB4CMjc4CwJtyAJtr/CLADRoRiwBaADfAOIASwYHmQyOAP8MwwAOtgJ3MAJ2o0ACeUxEAni7Hl3cRa9G9AJ8QAJ6yQJ9CgJ88UgBSH5kJQAsFklZSlwWGErNAtECAtDNSygDiFADh+dExpEzAvKiXQQDA69Lz0wuJgTQTU1NsAKLQAKK2cIcCB5EaAa4Ao44Ao5dQZiCAo7aAo5deVG1UzYLUtVUhgKT/AKTDQDqAB1VH1WwVdEHLBwplocy4nhnRTw6ApegAu+zWCKpAFomApaQApZ9nQCqWa1aCoJOADwClrYClk9cRVzSApnMApllXMtdCBoCnJw5wzqeApwXAp+cAp65iwAeEDIrEAKd8gKekwC2PmE1YfACntQCoG8BqgKeoCACnk+mY8lkKCYsAiewAiZ/AqD8AqBN2AKmMAKlzwKoAAB+AqfzaH1osgAESmodatICrOQCrK8CrWgCrQMCVx4CVd0CseLYAx9PbJgCsr4OArLpGGzhbWRtSWADJc4Ctl08QG6RAylGArhfArlIFgK5K3hwN3DiAr0aAy2zAzISAr6JcgMDM3ICvhtzI3NQAsPMAsMFc4N0TDZGdOEDPKgDPJsDPcACxX0CxkgCxhGKAshqUgLIRQLJUALJLwJkngLd03h6YniveSZL0QMYpGcDAmH1GfSVJXsMXpNevBICz2wCz20wTFTT9BSgAMeuAs90ASrrA04TfkwGAtwoAtuLAtJQA1JdA1NgAQIDVY2AikABzBfuYUZ2AILPg44C2sgC2d+EEYRKpz0DhqYAMANkD4ZyWvoAVgLfZgLeuXR4AuIw7RUB8zEoAfScAfLTiALr9ALpcXoAAur6AurlAPpIAboC7ooC652Wq5cEAu5AA4XhmHpw4XGiAvMEAGoDjheZlAL3FAORbwOSiAL3mQL52gL4Z5odmqy8OJsfA52EAv77ARwAOp8dn7QDBY4DpmsDptoA0sYDBmuhiaIGCgMMSgFgASACtgNGAJwEgLpoBgC8BGzAEowcggCEDC6kdjoAJAM0C5IKRoABZCgiAIzw3AYBLACkfng9ogigkgNmWAN6AEQCvrkEVqTGAwCsBRbAA+4iQkMCHR072jI2PTbUNsk2RjY5NvA23TZKNiU3EDcZN5I+RTxDRTBCJkK5VBYKFhZfwQCWygU3AJBRHpu+OytgNxa61A40GMsYjsn7BVwFXQVcBV0FaAVdBVwFXQVcBV0FXAVdBVwFXUsaCNyKAK4AAQUHBwKU7oICoW1e7jAEzgPxA+YDwgCkBFDAwADABKzAAOxFLhitA1UFTDeyPkM+bj51QkRCuwTQWWQ8X+0AWBYzsACNA8xwzAGm7EZ/QisoCTAbLDs6fnLfb8H2GccsbgFw13M1HAVkBW/Jxsm9CNRO8E8FDD0FBQw9FkcClOYCoMFegpDfADgcMiA2AJQACB8AsigKAIzIEAJKeBIApY5yPZQIAKQiHb4fvj5BKSRPQrZCOz0oXyxgOywfKAnGbgMClQaCAkILXgdeCD9IIGUgQj5fPoY+dT52Ao5CM0dAX9BTVG9SDzFwWTQAbxBzJF/lOEIQQglCCkKJIAls5AcClQICoKPMODEFxhi6KSAbiyfIRrMjtCgdWCAkPlFBIitCsEJRzAbMAV/OEyQzDg0OAQQEJ36i328/Mk9AybDJsQlq3tDRApUKAkFzXf1d/j9uALYP6hCoFgCTGD8kPsFKQiobrm0+zj0KSD8kPnVCRBwMDyJRTHFgMTJa5rwXQiQ2YfI/JD7BMEJEHGINTw4TOFlIRzwJO0icMQpyPyQ+wzJCRBv6DVgnKB01NgUKj2bwYzMqCoBkznBgEF+zYDIocwRIX+NgHj4HICNfh2C4CwdwFWpTG/lgUhYGAwRfv2Ts8mAaXzVgml/XYIJfuWC4HI1gUF9pYJZgMR6ilQHMAOwLAlDRefC0in4AXAEJA6PjCwc0IamOANMMCAECRQDFNRTZBgd+CwQlRA+r6+gLBDEFBnwUBXgKATIArwAGRAAHA3cDdAN2A3kDdwN9A3oDdQN7A30DfAN4A3oDfQAYEAAlAtYASwMAUAFsAHcKAHcAmgB3AHUAdQB2AHVu8UgAygDAAHcAdQB1AHYAdQALCgB3AAsAmgB3AAsCOwB3AAtu8UgAygDAAHgKAJoAdwB3AHUAdQB2AHUAeAB1AHUAdgB1bvFIAMoAwAALCgCaAHcACwB3AAsCOwB3AAtu8UgAygDAAH4ACwGgALcBpwC6AahdAu0COwLtbvFIAMoAwAALCgCaAu0ACwLtAAsCOwLtAAtu8UgAygDAA24ACwNvAAu0VsQAAzsAABCkjUIpAAsAUIusOggWcgMeBxVsGwL67U/2HlzmWOEeOgALASvuAAseAfpKUpnpGgYJDCIZM6YyARUE9ThqAD5iXQgnAJYJPnOzw0ZAEZxEKsIAkA4DhAHnTAIDxxUDK0lxCQlPYgIvIQVYJQBVqE1GakUAKGYiDToSBA1EtAYAXQJYAIF8GgMHRyAAIAjOe9YncekRAA0KACUrjwE7Ayc6AAYWAqaiKG4McEcqANoN3+Mg9TwCBhIkuCny+JwUQ29L008JluRxu3K+oAdqiHOqFH0AG5SUIfUJ5SxCGfxdipRzqTmT4V5Zb+r1Uo4Vm+NqSSEl2mNvR2JhIa8SpYO6ntdwFXHCWTCK8f2+Hxo7uiG3drDycAuKIMP5bhi06ACnqArH1rz4Rqg//lm6SgJGEVbF9xJHISaR6HxqxSnkw6shDnelHKNEfGUXSJRJ1GcsmtJw25xrZMDK9gXSm1/YMkdX4/6NKYOdtk/NQ3/NnDASjTc3fPjIjW/5sVfVObX2oTDWkr1dF9f3kxBsD3/3aQO8hPfRz+e0uEiJqt1161griu7gz8hDDwtpy+F+BWtefnKHZPAxcZoWbnznhJpy0e842j36bcNzGnIEusgGX0a8ZxsnjcSsPDZ09yZ36fCQbriHeQ72JRMILNl6ePPf2HWoVwgWAm1fb3V2sAY0+B6rAXqSwPBgseVmoqsBTSrm91+XasMYYySI8eeRxH3ZvHkMz3BQ5aJ3iUVbYPNM3/7emRtjlsMgv/9VyTsyt/mK+8fgWeT6SoFaclXqn42dAIsvAarF5vNNWHzKSkKQ/8Hfk5ZWK7r9yliOsooyBjRhfkHP4Q2DkWXQi6FG/9r/IwbmkV5T7JSopHKn1pJwm9tb5Ot0oyN1Z2mPpKXHTxx2nlK08fKk1hEYA8WgVVWL5lgx0iTv+KdojJeU23ZDjmiubXOxVXJKKi2Wjuh2HLZOFLiSC7Tls5SMh4f+Pj6xUSrNjFqLGehRNB8lC0QSLNmkJJx/wSG3MnjE9T1CkPwJI0wH2lfzwETIiVqUxg0dfu5q39Gt+hwdcxkhhNvQ4TyrBceof3Mhs/IxFci1HmHr4FMZgXEEczPiGCx0HRwzAqDq2j9AVm1kwN0mRVLWLylgtoPNapF5cY4Y1wJh/e0BBwZj44YgZrDNqvD/9Hv7GFYdUQeDJuQ3EWI4HaKqavU1XjC/n41kT4L79kqGq0kLhdTZvgP3TA3fS0ozVz+5piZsoOtIvBUFoMKbNcmBL6YxxaUAusHB38XrS8dQMnQwJfUUkpRoGr5AUeWicvBTzyK9g77+yCkf5PAysL7r/JjcZgrbvRpMW9iyaxZvKO6ceZN2EwIxKwVFPuvFuiEPGCoagbMo+SpydLrXqBzNCDGFCrO/rkcwa2xhokQZ5CdZ0AsU3JfSqJ6n5I14YA+P/uAgfhPU84Tlw7cEFfp7AEE8ey4sP12PTt4Cods1GRgDOB5xvyiR5m+Bx8O5nBCNctU8BevfV5A08x6RHd5jcwPTMDSZJOedIZ1cGQ704lxbAzqZOP05ZxaOghzSdvFBHYqomATARyAADK4elP8Ly3IrUZKfWh23Xy20uBUmLS4Pfagu9+oyVa2iPgqRP3F2CTUsvJ7+RYnN8fFZbU/HVvxvcFFDKkiTqV5UBZ3Gz54JAKByi9hkKMZJvuGgcSYXFmw08UyoQyVdfTD1/dMkCHXcTGAKeROgArsvmRrQTLUOXioOHGK2QkjHuoYFgXciZoTJd6Fs5q1QX1G+p/e26hYsEf7QZD1nnIyl/SFkNtYYmmBhpBrxl9WbY0YpHWRuw2Ll/tj9mD8P4snVzJl4F9J+1arVeTb9E5r2ILH04qStjxQNwn3m4YNqxmaNbLAqW2TN6LidwuJRqS+NXbtqxoeDXpxeGWmxzSkWxjkyCkX4NQRme6q5SAcC+M7+9ETfA/EwrzQajKakCwYyeunP6ZFlxU2oMEn1Pz31zeStW74G406ZJFCl1wAXIoUKkWotYEpOuXB1uVNxJ63dpJEqfxBeptwIHNrPz8BllZoIcBoXwgfJ+8VAUnVPvRvexnw0Ma/WiGYuJO5y8QTvEYBigFmhUxY5RqzE8OcywN/8m4UYrlaniJO75XQ6KSo9+tWHlu+hMi0UVdiKQp7NelnoZUzNaIyBPVeOwK6GNp+FfHuPOoyhaWuNvTYFkvxscMQWDh+zeFCFkgwbXftiV23ywJ4+uwRqmg9k3KzwIQpzppt8DBBOMbrqwQM5Gb05sEwdKzMiAqOloaA/lr0KA+1pr0/+HiWoiIjHA/wir2nIuS3PeU/ji3O6ZwoxcR1SZ9FhtLC5S0FIzFhbBWcGVP/KpxOPSiUoAdWUpqKH++6Scz507iCcxYI6rdMBICPJZea7OcmeFw5mObJSiqpjg2UoWNIs+cFhyDSt6geV5qgi3FunmwwDoGSMgerFOZGX1m0dMCYo5XOruxO063dwENK9DbnVM9wYFREzh4vyU1WYYJ/LRRp6oxgjqP/X5a8/4Af6p6NWkQferzBmXme0zY/4nwMJm/wd1tIqSwGz+E3xPEAOoZlJit3XddD7/BT1pllzOx+8bmQtANQ/S6fZexc6qi3W+Q2xcmXTUhuS5mpHQRvcxZUN0S5+PL9lXWUAaRZhEH8hTdAcuNMMCuVNKTEGtSUKNi3O6KhSaTzck8csZ2vWRZ+d7mW8c4IKwXIYd25S/zIftPkwPzufjEvOHWVD1m+FjpDVUTV0DGDuHj6QnaEwLu/dEgdLQOg9E1Sro9XHJ8ykLAwtPu+pxqKDuFexqON1sKQm7rwbE1E68UCfA/erovrTCG+DBSNg0l4goDQvZN6uNlbyLpcZAwj2UclycvLpIZMgv4yRlpb3YuMftozorbcGVHt/VeDV3+Fdf1TP0iuaCsPi2G4XeGhsyF1ubVDxkoJhmniQ0/jSg/eYML9KLfnCFgISWkp91eauR3IQvED0nAPXK+6hPCYs+n3+hCZbiskmVMG2da+0EsZPonUeIY8EbfusQXjsK/eFDaosbPjEfQS0RKG7yj5GG69M7MeO1HmiUYocgygJHL6M1qzUDDwUSmr99V7Sdr2F3JjQAJY+F0yH33Iv3+C9M38eML7gTgmNu/r2bUMiPvpYbZ6v1/IaESirBHNa7mPKn4dEmYg7v/+HQgPN1G79jBQ1+soydfDC2r+h2Bl/KIc5KjMK7OH6nb1jLsNf0EHVe2KBiE51ox636uyG6Lho0t3J34L5QY/ilE3mikaF4HKXG1mG1rCevT1Vv6GavltxoQe/bMrpZvRggnBxSEPEeEzkEdOxTnPXHVjUYdw8JYvjB/o7Eegc3Ma+NUxLLnsK0kJlinPmUHzHGtrk5+CAbVzFOBqpyy3QVUnzTDfC/0XD94/okH+OB+i7g9lolhWIjSnfIb+Eq43ZXOWmwvjyV/qqD+t0e+7mTEM74qP/Ozt8nmC7mRpyu63OB4KnUzFc074SqoyPUAgM+/TJGFo6T44EHnQU4X4z6qannVqgw/U7zCpwcmXV1AubIrvOmkKHazJAR55ePjp5tLBsN8vAqs3NAHdcEHOR2xQ0lsNAFzSUuxFQCFYvXLZJdOj9p4fNq6p0HBGUik2YzaI4xySy91KzhQ0+q1hjxvImRwPRf76tChlRkhRCi74NXZ9qUNeIwP+s5p+3m5nwPdNOHgSLD79n7O9m1n1uDHiMntq4nkYwV5OZ1ENbXxFd4PgrlvavZsyUO4MqYlqqn1O8W/I1dEZq5dXhrbETLaZIbC2Kj/Aa/QM+fqUOHdf0tXAQ1huZ3cmWECWSXy/43j35+Mvq9xws7JKseriZ1pEWKc8qlzNrGPUGcVgOa9cPJYIJsGnJTAUsEcDOEVULO5x0rXBijc1lgXEzQQKhROf8zIV82w8eswc78YX11KYLWQRcgHNJElBxfXr72lS2RBSl07qTKorO2uUDZr3sFhYsvnhLZn0A94KRzJ/7DEGIAhW5ZWFpL8gEwu1aLA9MuWZzNwl8Oze9Y+bX+v9gywRVnoB5I/8kXTXU3141yRLYrIOOz6SOnyHNy4SieqzkBXharjfjqq1q6tklaEbA8Qfm2DaIPs7OTq/nvJBjKfO2H9bH2cCMh1+5gspfycu8f/cuuRmtDjyqZ7uCIMyjdV3a+p3fqmXsRx4C8lujezIFHnQiVTXLXuI1XrwN3+siYYj2HHTvESUx8DlOTXpak9qFRK+L3mgJ1WsD7F4cu1aJoFoYQnu+wGDMOjJM3kiBQWHCcvhJ/HRdxodOQp45YZaOTA22Nb4XKCVxqkbwMYFhzYQYIAnCW8FW14uf98jhUG2zrKhQQ0q0CEq0t5nXyvUyvR8DvD69LU+g3i+HFWQMQ8PqZuHD+sNKAV0+M6EJC0szq7rEr7B5bQ8BcNHzvDMc9eqB5ZCQdTf80Obn4uzjwpYU7SISdtV0QGa9D3Wrh2BDQtpBKxaNFV+/Cy2P/Sv+8s7Ud0Fd74X4+o/TNztWgETUapy+majNQ68Lq3ee0ZO48VEbTZYiH1Co4OlfWef82RWeyUXo7woM03PyapGfikTnQinoNq5z5veLpeMV3HCAMTaZmA1oGLAn7XS3XYsz+XK7VMQsc4XKrmDXOLU/pSXVNUq8dIqTba///3x6LiLS6xs1xuCAYSfcQ3+rQgmu7uvf3THKt5Ooo97TqcbRqxx7EASizaQCBQllG/rYxVapMLgtLbZS64w1MDBMXX+PQpBKNwqUKOf2DDRDUXQf9EhOS0Qj4nTmlA8dzSLz/G1d+Ud8MTy/6ghhdiLpeerGY/UlDOfiuqFsMUU5/UYlP+BAmgRLuNpvrUaLlVkrqDievNVEAwF+4CoM1MZTmjxjJMsKJq+u8Zd7tNCUFy6LiyYXRJQ4VyvEQFFaCGKsxIwQkk7EzZ6LTJq2hUuPhvAW+gQnSG6J+MszC+7QCRHcnqDdyNRJ6T9xyS87A6MDutbzKGvGktpbXqtzWtXb9HsfK2cBMomjN9a4y+TaJLnXxAeX/HWzmf4cR4vALt/P4w4qgKY04ml4ZdLOinFYS6cup3G/1ie4+t1eOnpBNlqGqs75ilzkT4+DsZQxNvaSKJ//6zIbbk/M7LOhFmRc/1R+kBtz7JFGdZm/COotIdvQoXpTqP/1uqEUmCb/QWoGLMwO5ANcHzxdY48IGP5+J+zKOTBFZ4Pid+GTM+Wq12MV/H86xEJptBa6T+p3kgpwLedManBHC2GgNrFpoN2xnrMz9WFWX/8/ygSBkavq2Uv7FdCsLEYLu9LLIvAU0bNRDtzYl+/vXmjpIvuJFYjmI0im6QEYqnIeMsNjXG4vIutIGHijeAG/9EDBozKV5cldkHbLxHh25vT+ZEzbhXlqvpzKJwcEgfNwLAKFeo0/pvEE10XDB+EXRTXtSzJozQKFFAJhMxYkVaCW+E9AL7tMeU8acxidHqzb6lX4691UsDpy/LLRmT+epgW56+5Cw8tB4kMUv6s9lh3eRKbyGs+H/4mQMaYzPTf2OOdokEn+zzgvoD3FqNKk8QqGAXVsqcGdXrT62fSPkR2vROFi68A6se86UxRUk4cajfPyCC4G5wDhD+zNq4jodQ4u4n/m37Lr36n4LIAAsVr02dFi9AiwA81MYs2rm4eDlDNmdMRvEKRHfBwW5DdMNp0jPFZMeARqF/wL4XBfd+EMLBfMzpH5GH6NaW+1vrvMdg+VxDzatk3MXgO3ro3P/DpcC6+Mo4MySJhKJhSR01SGGGp5hPWmrrUgrv3lDnP+HhcI3nt3YqBoVAVTBAQT5iuhTg8nvPtd8ZeYj6w1x6RqGUBrSku7+N1+BaasZvjTk64RoIDlL8brpEcJx3OmY7jLoZsswdtmhfC/G21llXhITOwmvRDDeTTPbyASOa16cF5/A1fZAidJpqju3wYAy9avPR1ya6eNp9K8XYrrtuxlqi+bDKwlfrYdR0RRiKRVTLOH85+ZY7XSmzRpfZBJjaTa81VDcJHpZnZnSQLASGYW9l51ZV/h7eVzTi3Hv6hUsgc/51AqJRTkpbFVLXXszoBL8nBX0u/0jBLT8nH+fJePbrwURT58OY+UieRjd1vs04w0VG5VN2U6MoGZkQzKN/ptz0Q366dxoTGmj7i1NQGHi9GgnquXFYdrCfZBmeb7s0T6yrdlZH5cZuwHFyIJ/kAtGsTg0xH5taAAq44BAk1CPk9KVVbqQzrCUiFdF/6gtlPQ8bHHc1G1W92MXGZ5HEHftyLYs8mbD/9xYRUWkHmlM0zC2ilJlnNgV4bfALpQghxOUoZL7VTqtCHIaQSXm+YUMnpkXybnV+A6xlm2CVy8fn0Xlm2XRa0+zzOa21JWWmixfiPMSCZ7qA4rS93VN3pkpF1s5TonQjisHf7iU9ZGvUPOAKZcR1pbeVf/Ul7OhepGCaId9wOtqo7pJ7yLcBZ0pFkOF28y4zEI/kcUNmutBHaQpBdNM8vjCS6HZRokkeo88TBAjGyG7SR+6vUgTcyK9Imalj0kuxz0wmK+byQU11AiJFk/ya5dNduRClcnU64yGu/ieWSeOos1t3ep+RPIWQ2pyTYVbZltTbsb7NiwSi3AV+8KLWk7LxCnfZUetEM8ThnsSoGH38/nyAwFguJp8FjvlHtcWZuU4hPva0rHfr0UhOOJ/F6vS62FW7KzkmRll2HEc7oUq4fyi5T70Vl7YVIfsPHUCdHesf9Lk7WNVWO75JDkYbMI8TOW8JKVtLY9d6UJRITO8oKo0xS+o99Yy04iniGHAaGj88kEWgwv0OrHdY/nr76DOGNS59hXCGXzTKUvDl9iKpLSWYN1lxIeyywdNpTkhay74w2jFT6NS8qkjo5CxA1yfSYwp6AJIZNKIeEK5PJAW7ORgWgwp0VgzYpqovMrWxbu+DGZ6Lhie1RAqpzm8VUzKJOH3mCzWuTOLsN3VT/dv2eeYe9UjbR8YTBsLz7q60VN1sU51k+um1f8JxD5pPhbhSC8rRaB454tmh6YUWrJI3+GWY0qeWioj/tbkYITOkJaeuGt4JrJvHA+l0Gu7kY7XOaa05alMnRWVCXqFgLIwSY4uF59Ue5SU4QKuc/HamDxbr0x6csCetXGoP7Qn1Bk/J9DsynO/UD6iZ1Hyrz+jit0hDCwi/E9OjgKTbB3ZQKQ/0ZOvevfNHG0NK4Aj3Cp7NpRk07RT1i/S0EL93Ag8GRgKI9CfpajKyK6+Jj/PI1KO5/85VAwz2AwzP8FTBb075IxCXv6T9RVvWT2tUaqxDS92zrGUbWzUYk9mSs82pECH+fkqsDt93VW++4YsR/dHCYcQSYTO/KaBMDj9LSD/J/+z20Kq8XvZUAIHtm9hRPP3ItbuAu2Hm5lkPs92pd7kCxgRs0xOVBnZ13ccdA0aunrwv9SdqElJRC3g+oCu+nXyCgmXUs9yMjTMAIHfxZV+aPKcZeUBWt057Xo85Ks1Ir5gzEHCWqZEhrLZMuF11ziGtFQUds/EESajhagzcKsxamcSZxGth4UII+adPhQkUnx2WyN+4YWR+r3f8MnkyGFuR4zjzxJS8WsQYR5PTyRaD9ixa6Mh741nBHbzfjXHskGDq179xaRNrCIB1z1xRfWfjqw2pHc1zk9xlPpL8sQWAIuETZZhbnmL54rceXVNRvUiKrrqIkeogsl0XXb17ylNb0f4GA9Wd44vffEG8FSZGHEL2fbaTGRcSiCeA8PmA/f6Hz8HCS76fXUHwgwkzSwlI71ekZ7Fapmlk/KC+Hs8hUcw3N2LN5LhkVYyizYFl/uPeVP5lsoJHhhfWvvSWruCUW1ZcJOeuTbrDgywJ/qG07gZJplnTvLcYdNaH0KMYOYMGX+rB4NGPFmQsNaIwlWrfCezxre8zXBrsMT+edVLbLqN1BqB76JH4BvZTqUIMfGwPGEn+EnmTV86fPBaYbFL3DFEhjB45CewkXEAtJxk4/Ms2pPXnaRqdky0HOYdcUcE2zcXq4vaIvW2/v0nHFJH2XXe22ueDmq/18XGtELSq85j9X8q0tcNSSKJIX8FTuJF/Pf8j5PhqG2u+osvsLxYrvvfeVJL+4tkcXcr9JV7v0ERmj/X6fM3NC4j6dS1+9Umr2oPavqiAydTZPLMNRGY23LO9zAVDly7jD+70G5TPPLdhRIl4WxcYjLnM+SNcJ26FOrkrISUtPObIz5Zb3AG612krnpy15RMW+1cQjlnWFI6538qky9axd2oJmHIHP08KyP0ubGO+TQNOYuv2uh17yCIvR8VcStw7o1g0NM60sk+8Tq7YfIBJrtp53GkvzXH7OA0p8/n/u1satf/VJhtR1l8Wa6Gmaug7haSpaCaYQax6ta0mkutlb+eAOSG1aobM81D9A4iS1RRlzBBoVX6tU1S6WE2N9ORY6DfeLRC4l9Rvr5h95XDWB2mR1d4WFudpsgVYwiTwT31ljskD8ZyDOlm5DkGh9N/UB/0AI5Xvb8ZBmai2hQ4BWMqFwYnzxwB26YHSOv9WgY3JXnvoN+2R4rqGVh/LLDMtpFP+SpMGJNWvbIl5SOodbCczW2RKleksPoUeGEzrjtKHVdtZA+kfqO+rVx/iclCqwoopepvJpSTDjT+b9GWylGRF8EDbGlw6eUzmJM95Ovoz+kwLX3c2fTjFeYEsE7vUZm3mqdGJuKh2w9/QGSaqRHs99aScGOdDqkFcACoqdbBoQqqjamhH6Q9ng39JCg3lrGJwd50Qk9ovnqBTr8MME7Ps2wiVfygUmPoUBJJfJWX5Nda0nuncbFkA==")),Xo=new Set(Jo(Yo)),Zo=new Set(Jo(Yo)),$o=function(t){let e=[];for(;;){let r=t();if(0==r)break;e.push(Wo(r,t))}for(;;){let r=t()-1;if(r<0)break;e.push(Qo(r,t))}return function(t){const e={};for(let r=0;rt-e));return function r(){let n=[];for(;;){let i=Jo(t,e);if(0==i.length)break;n.push({set:new Set(i),node:r()})}n.sort(((t,e)=>e.set.size-t.set.size));let i=t(),o=i%3;i=i/3|0;let s=!!(1&i);return i>>=1,{branches:n,valid:o,fe0f:s,save:1==i,check:2==i}}()}(Yo),es=45,rs=95;function ns(t){return Yt(t)}function is(t){return t.filter((t=>65039!=t))}function os(t){for(let r of t.split(".")){let t=ns(r);try{for(let e=t.lastIndexOf(rs)-1;e>=0;e--)if(t[e]!==rs)throw new Error("underscore only allowed at start");if(t.length>=4&&t.every((t=>t<128))&&t[2]===es&&t[3]===es)throw new Error("invalid label extension")}catch(e){throw new Error(`Invalid label "${r}": ${e.message}`)}}return t}function ss(t){return os(function(t,e){let r=ns(t).reverse(),n=[];for(;r.length;){let t=as(r);if(t){n.push(...e(t));continue}let i=r.pop();if(Xo.has(i)){n.push(i);continue}if(Zo.has(i))continue;let o=$o[i];if(!o)throw new Error(`Disallowed codepoint: 0x${i.toString(16).toUpperCase()}`);n.push(...o)}return os((i=String.fromCodePoint(...n),i.normalize("NFC")));var i}(t,is))}function as(t,e){var r;let n,i,o=ts,s=[],a=t.length;for(e&&(e.length=0);a;){let u=t[--a];if(o=null===(r=o.branches.find((t=>t.set.has(u))))||void 0===r?void 0:r.node,!o)break;if(o.save)i=u;else if(o.check&&u===i)break;s.push(u),o.fe0f&&(s.push(65039),a>0&&65039==t[a-1]&&a--),o.valid&&(n=s.slice(),2==o.valid&&n.splice(1,1),e&&e.push(...t.slice(a).reverse()),t.length=a)}return n}const us=new v(Zn),ls=new Uint8Array(32);function cs(t){if(0===t.length)throw new Error("invalid ENS name; empty component");return t}function hs(t){const e=Ht(ss(t)),r=[];if(0===t.length)return r;let n=0;for(let i=0;i=e.length)throw new Error("invalid ENS name; empty component");return r.push(cs(e.slice(n))),r}function fs(t){try{return 0!==hs(t).length}catch(e){}return!1}function ds(t){"string"!=typeof t&&us.throwArgumentError("invalid ENS name; not a string","name",t);let e=ls;const r=hs(t);for(;r.length;)e=wt(P([e,wt(r.pop())]));return I(e)}function ps(t){return I(P(hs(t).map((t=>{if(t.length>63)throw new Error("invalid DNS encoded entry; length exceeds 63 bytes");const e=new Uint8Array(t.length+1);return e.set(t,1),e[0]=e.length-1,e}))))+"00"}ls.fill(0);var ms=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};function gs(t,e){return ms(this,void 0,void 0,(function*(){null==e&&(e={});const r={method:e.method||"GET",headers:e.headers||{},body:e.body||void 0};if(!0!==e.skipFetchSetup&&(r.mode="cors",r.cache="no-cache",r.credentials="same-origin",r.redirect="follow",r.referrer="client"),null!=e.fetchOptions){const t=e.fetchOptions;t.mode&&(r.mode=t.mode),t.cache&&(r.cache=t.cache),t.credentials&&(r.credentials=t.credentials),t.redirect&&(r.redirect=t.redirect),t.referrer&&(r.referrer=t.referrer)}const n=yield fetch(t,r),i=yield n.arrayBuffer(),o={};return n.headers.forEach?n.headers.forEach(((t,e)=>{o[e.toLowerCase()]=t})):n.headers.keys().forEach((t=>{o[t.toLowerCase()]=n.headers.get(t)})),{headers:o,statusCode:n.status,statusMessage:n.statusText,body:S(new Uint8Array(i))}}))}var ys=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const vs=new v("web/5.7.1");function ws(t){return new Promise((e=>{setTimeout(e,t)}))}function bs(t,e){if(null==t)return null;if("string"==typeof t)return t;if(E(t)){if(e&&("text"===e.split("/")[0]||"application/json"===e.split(";")[0].trim()))try{return Qt(t)}catch(r){}return I(t)}return t}function As(t,e,r){const n="object"==typeof t&&null!=t.throttleLimit?t.throttleLimit:12;vs.assertArgument(n>0&&n%1==0,"invalid connection throttle limit","connection.throttleLimit",n);const i="object"==typeof t?t.throttleCallback:null,o="object"==typeof t&&"number"==typeof t.throttleSlotInterval?t.throttleSlotInterval:100;vs.assertArgument(o>0&&o%1==0,"invalid connection throttle slot interval","connection.throttleSlotInterval",o);const s="object"==typeof t&&!!t.errorPassThrough,a={};let u=null;const l={method:"GET"};let c=!1,h=12e4;if("string"==typeof t)u=t;else if("object"==typeof t){if(null!=t&&null!=t.url||vs.throwArgumentError("missing URL","connection.url",t),u=t.url,"number"==typeof t.timeout&&t.timeout>0&&(h=t.timeout),t.headers)for(const e in t.headers)a[e.toLowerCase()]={key:e,value:String(t.headers[e])},["if-none-match","if-modified-since"].indexOf(e.toLowerCase())>=0&&(c=!0);if(l.allowGzip=!!t.allowGzip,null!=t.user&&null!=t.password){"https:"!==u.substring(0,6)&&!0!==t.allowInsecureAuthentication&&vs.throwError("basic authentication requires a secure https url",v.errors.INVALID_ARGUMENT,{argument:"url",url:u,user:t.user,password:"[REDACTED]"});const e=t.user+":"+t.password;a.authorization={key:"Authorization",value:"Basic "+Go(Ht(e))}}null!=t.skipFetchSetup&&(l.skipFetchSetup=!!t.skipFetchSetup),null!=t.fetchOptions&&(l.fetchOptions=ot(t.fetchOptions))}const f=new RegExp("^data:([^;:]*)?(;base64)?,(.*)$","i"),d=u?u.match(f):null;if(d)try{const t={statusCode:200,statusMessage:"OK",headers:{"content-type":d[1]||"text/plain"},body:d[2]?Lo(d[3]):(p=d[3],Ht(p.replace(/%([0-9a-f][0-9a-f])/gi,((t,e)=>String.fromCharCode(parseInt(e,16))))))};let e=t.body;return r&&(e=r(t.body,t)),Promise.resolve(e)}catch(w){vs.throwError("processing response error",v.errors.SERVER_ERROR,{body:bs(d[1],d[2]),error:w,requestBody:null,requestMethod:"GET",url:u})}var p;e&&(l.method="POST",l.body=e,null==a["content-type"]&&(a["content-type"]={key:"Content-Type",value:"application/octet-stream"}),null==a["content-length"]&&(a["content-length"]={key:"Content-Length",value:String(e.length)}));const m={};Object.keys(a).forEach((t=>{const e=a[t];m[e.key]=e.value})),l.headers=m;const g=function(){let t=null;return{promise:new Promise((function(e,r){h&&(t=setTimeout((()=>{null!=t&&(t=null,r(vs.makeError("timeout",v.errors.TIMEOUT,{requestBody:bs(l.body,m["content-type"]),requestMethod:l.method,timeout:h,url:u})))}),h))})),cancel:function(){null!=t&&(clearTimeout(t),t=null)}}}(),y=function(){return ys(this,void 0,void 0,(function*(){for(let t=0;t=300)&&(g.cancel(),vs.throwError("bad response",v.errors.SERVER_ERROR,{status:e.statusCode,headers:e.headers,body:bs(a,e.headers?e.headers["content-type"]:null),requestBody:bs(l.body,m["content-type"]),requestMethod:l.method,url:u})),r)try{const t=yield r(a,e);return g.cancel(),t}catch(w){if(w.throttleRetry&&t"content-type"===t.toLowerCase())).length||(r.headers=ot(r.headers),r.headers["content-type"]="application/json")}else r.headers={"content-type":"application/json"};t=r}return As(t,n,((t,e)=>{let n=null;if(null!=t)try{n=JSON.parse(Qt(t))}catch(i){vs.throwError("invalid JSON",v.errors.SERVER_ERROR,{body:t,error:i})}return r&&(n=r(n,e)),n}))}function ks(t,e){return e||(e={}),null==(e=ot(e)).floor&&(e.floor=0),null==e.ceiling&&(e.ceiling=1e4),null==e.interval&&(e.interval=250),new Promise((function(r,n){let i=null,o=!1;const s=()=>!o&&(o=!0,i&&clearTimeout(i),!0);e.timeout&&(i=setTimeout((()=>{s()&&n(new Error("timeout"))}),e.timeout));const a=e.retryLimit;let u=0;!function i(){return t().then((function(t){if(void 0!==t)s()&&r(t);else if(e.oncePoll)e.oncePoll.once("poll",i);else if(e.onceBlock)e.onceBlock.once("block",i);else if(!o){if(u++,u>a)return void(s()&&n(new Error("retry limit reached")));let t=e.interval*parseInt(String(Math.random()*Math.pow(2,u)));te.ceiling&&(t=e.ceiling),setTimeout(i,t)}return null}),(function(t){s()&&n(t)}))}()}))}var _s=r(92882),Ss=r.n(_s);const Ps="providers/5.7.2",Ns=new v(Ps);class Ms{constructor(){this.formats=this.getDefaultFormats()}getDefaultFormats(){const t={},e=this.address.bind(this),r=this.bigNumber.bind(this),n=this.blockTag.bind(this),i=this.data.bind(this),o=this.hash.bind(this),s=this.hex.bind(this),a=this.number.bind(this),u=this.type.bind(this);return t.transaction={hash:o,type:u,accessList:Ms.allowNull(this.accessList.bind(this),null),blockHash:Ms.allowNull(o,null),blockNumber:Ms.allowNull(a,null),transactionIndex:Ms.allowNull(a,null),confirmations:Ms.allowNull(a,null),from:e,gasPrice:Ms.allowNull(r),maxPriorityFeePerGas:Ms.allowNull(r),maxFeePerGas:Ms.allowNull(r),gasLimit:r,to:Ms.allowNull(e,null),value:r,nonce:a,data:i,r:Ms.allowNull(this.uint256),s:Ms.allowNull(this.uint256),v:Ms.allowNull(a),creates:Ms.allowNull(e,null),raw:Ms.allowNull(i)},t.transactionRequest={from:Ms.allowNull(e),nonce:Ms.allowNull(a),gasLimit:Ms.allowNull(r),gasPrice:Ms.allowNull(r),maxPriorityFeePerGas:Ms.allowNull(r),maxFeePerGas:Ms.allowNull(r),to:Ms.allowNull(e),value:Ms.allowNull(r),data:Ms.allowNull((t=>this.data(t,!0))),type:Ms.allowNull(a),accessList:Ms.allowNull(this.accessList.bind(this),null)},t.receiptLog={transactionIndex:a,blockNumber:a,transactionHash:o,address:e,topics:Ms.arrayOf(o),data:i,logIndex:a,blockHash:o},t.receipt={to:Ms.allowNull(this.address,null),from:Ms.allowNull(this.address,null),contractAddress:Ms.allowNull(e,null),transactionIndex:a,root:Ms.allowNull(s),gasUsed:r,logsBloom:Ms.allowNull(i),blockHash:o,transactionHash:o,logs:Ms.arrayOf(this.receiptLog.bind(this)),blockNumber:a,confirmations:Ms.allowNull(a,null),cumulativeGasUsed:r,effectiveGasPrice:Ms.allowNull(r),status:Ms.allowNull(a),type:u},t.block={hash:Ms.allowNull(o),parentHash:o,number:a,timestamp:a,nonce:Ms.allowNull(s),difficulty:this.difficulty.bind(this),gasLimit:r,gasUsed:r,miner:Ms.allowNull(e),extraData:i,transactions:Ms.allowNull(Ms.arrayOf(o)),baseFeePerGas:Ms.allowNull(r)},t.blockWithTransactions=ot(t.block),t.blockWithTransactions.transactions=Ms.allowNull(Ms.arrayOf(this.transactionResponse.bind(this))),t.filter={fromBlock:Ms.allowNull(n,void 0),toBlock:Ms.allowNull(n,void 0),blockHash:Ms.allowNull(o,void 0),address:Ms.allowNull(e,void 0),topics:Ms.allowNull(this.topics.bind(this),void 0)},t.filterLog={blockNumber:Ms.allowNull(a),blockHash:Ms.allowNull(o),transactionIndex:a,removed:Ms.allowNull(this.boolean.bind(this)),address:e,data:Ms.allowFalsish(i,"0x"),topics:Ms.arrayOf(o),transactionHash:o,logIndex:a},t}accessList(t){return dn(t||[])}number(t){return"0x"===t?0:W.from(t).toNumber()}type(t){return"0x"===t||null==t?0:W.from(t).toNumber()}bigNumber(t){return W.from(t)}boolean(t){if("boolean"==typeof t)return t;if("string"==typeof t){if("true"===(t=t.toLowerCase()))return!0;if("false"===t)return!1}throw new Error("invalid boolean - "+t)}hex(t,e){return"string"==typeof t&&(e||"0x"===t.substring(0,2)||(t="0x"+t),x(t))?t.toLowerCase():Ns.throwArgumentError("invalid hash","value",t)}data(t,e){const r=this.hex(t,e);if(r.length%2!=0)throw new Error("invalid data; odd-length - "+t);return r}address(t){return Bt(t)}callAddress(t){if(!x(t,32))return null;const e=Bt(R(t,12));return e===Mo?null:e}contractAddress(t){return Dt(t)}blockTag(t){if(null==t)return"latest";if("earliest"===t)return"0x0";switch(t){case"earliest":return"0x0";case"latest":case"pending":case"safe":case"finalized":return t}if("number"==typeof t||x(t))return O(t);throw new Error("invalid blockTag")}hash(t,e){const r=this.hex(t,e);return 32!==T(r)?Ns.throwArgumentError("invalid hash","value",t):r}difficulty(t){if(null==t)return null;const e=W.from(t);try{return e.toNumber()}catch(r){}return null}uint256(t){if(!x(t))throw new Error("invalid uint256");return D(t,32)}_block(t,e){null!=t.author&&null==t.miner&&(t.miner=t.author);const r=null!=t._difficulty?t._difficulty:t.difficulty,n=Ms.check(e,t);return n._difficulty=null==r?null:W.from(r),n}block(t){return this._block(t,this.formats.block)}blockWithTransactions(t){return this._block(t,this.formats.blockWithTransactions)}transactionRequest(t){return Ms.check(this.formats.transactionRequest,t)}transactionResponse(t){null!=t.gas&&null==t.gasLimit&&(t.gasLimit=t.gas),t.to&&W.from(t.to).isZero()&&(t.to="0x0000000000000000000000000000000000000000"),null!=t.input&&null==t.data&&(t.data=t.input),null==t.to&&null==t.creates&&(t.creates=this.contractAddress(t)),1!==t.type&&2!==t.type||null!=t.accessList||(t.accessList=[]);const e=Ms.check(this.formats.transaction,t);if(null!=t.chainId){let r=t.chainId;x(r)&&(r=W.from(r).toNumber()),e.chainId=r}else{let r=t.networkId;null==r&&null==e.v&&(r=t.chainId),x(r)&&(r=W.from(r).toNumber()),"number"!=typeof r&&null!=e.v&&(r=(e.v-35)/2,r<0&&(r=0),r=parseInt(r)),"number"!=typeof r&&(r=0),e.chainId=r}return e.blockHash&&"x"===e.blockHash.replace(/0/g,"")&&(e.blockHash=null),e}transaction(t){return wn(t)}receiptLog(t){return Ms.check(this.formats.receiptLog,t)}receipt(t){const e=Ms.check(this.formats.receipt,t);if(null!=e.root)if(e.root.length<=4){const t=W.from(e.root).toNumber();0===t||1===t?(null!=e.status&&e.status!==t&&Ns.throwArgumentError("alt-root-status/status mismatch","value",{root:e.root,status:e.status}),e.status=t,delete e.root):Ns.throwArgumentError("invalid alt-root-status","value.root",e.root)}else 66!==e.root.length&&Ns.throwArgumentError("invalid root hash","value.root",e.root);return null!=e.status&&(e.byzantium=!0),e}topics(t){return Array.isArray(t)?t.map((t=>this.topics(t))):null!=t?this.hash(t,!0):null}filter(t){return Ms.check(this.formats.filter,t)}filterLog(t){return Ms.check(this.formats.filterLog,t)}static check(t,e){const r={};for(const i in t)try{const n=t[i](e[i]);void 0!==n&&(r[i]=n)}catch(n){throw n.checkKey=i,n.checkValue=e[i],n}return r}static allowNull(t,e){return function(r){return null==r?e:t(r)}}static allowFalsish(t,e){return function(r){return r?t(r):e}}static arrayOf(t){return function(e){if(!Array.isArray(e))throw new Error("not an array");const r=[];return e.forEach((function(e){r.push(t(e))})),r}}}function xs(t){return t&&"function"==typeof t.isCommunityResource}function Cs(t){return xs(t)&&t.isCommunityResource()}let Is=!1;function Ts(){Is||(Is=!0,console.log("========= NOTICE ========="),console.log("Request-Rate Exceeded (this message will not be repeated)"),console.log(""),console.log("The default API keys for each service are provided as a highly-throttled,"),console.log("community resource for low-traffic projects and early prototyping."),console.log(""),console.log("While your application will continue to function, we highly recommended"),console.log("signing up for your own API keys to improve performance, increase your"),console.log("request rate/limit and enable other perks, such as metrics and advanced APIs."),console.log(""),console.log("For more details: https://docs.ethers.io/api-keys/"),console.log("=========================="))}var Rs=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Bs=new v(Ps);function Os(t){return null==t?"null":(32!==T(t)&&Bs.throwArgumentError("invalid topic","topic",t),t.toLowerCase())}function Fs(t){for(t=t.slice();t.length>0&&null==t[t.length-1];)t.pop();return t.map((t=>{if(Array.isArray(t)){const e={};t.forEach((t=>{e[Os(t)]=!0}));const r=Object.keys(e);return r.sort(),r.join("|")}return Os(t)})).join("&")}function Ds(t){if("string"==typeof t){if(32===T(t=t.toLowerCase()))return"tx:"+t;if(-1===t.indexOf(":"))return t}else{if(Array.isArray(t))return"filter:*:"+Fs(t);if(ir.isForkEvent(t))throw Bs.warn("not implemented"),new Error("not implemented");if(t&&"object"==typeof t)return"filter:"+(t.address||"*")+":"+Fs(t.topics||[])}throw new Error("invalid event - "+t)}function Us(){return(new Date).getTime()}function Ls(t){return new Promise((e=>{setTimeout(e,t)}))}const Gs=["block","network","pending","poll"];class js{constructor(t,e,r){et(this,"tag",t),et(this,"listener",e),et(this,"once",r),this._lastBlockNumber=-2,this._inflight=!1}get event(){switch(this.type){case"tx":return this.hash;case"filter":return this.filter}return this.tag}get type(){return this.tag.split(":")[0]}get hash(){const t=this.tag.split(":");return"tx"!==t[0]?null:t[1]}get filter(){const t=this.tag.split(":");if("filter"!==t[0])return null;const e=t[1],r=""===(n=t[2])?[]:n.split(/&/g).map((t=>{if(""===t)return[];const e=t.split("|").map((t=>"null"===t?null:t));return 1===e.length?e[0]:e}));var n;const i={};return r.length>0&&(i.topics=r),e&&"*"!==e&&(i.address=e),i}pollable(){return this.tag.indexOf(":")>=0||Gs.indexOf(this.tag)>=0}}const zs={0:{symbol:"btc",p2pkh:0,p2sh:5,prefix:"bc"},2:{symbol:"ltc",p2pkh:48,p2sh:50,prefix:"ltc"},3:{symbol:"doge",p2pkh:30,p2sh:22},60:{symbol:"eth",ilk:"eth"},61:{symbol:"etc",ilk:"eth"},700:{symbol:"xdai",ilk:"eth"}};function Ks(t){return D(W.from(t).toHexString(),32)}function qs(t){return gi.encode(P([t,R(bi(bi(t)),0,4)]))}const Hs=new RegExp("^(ipfs)://(.*)$","i"),Js=[new RegExp("^(https)://(.*)$","i"),new RegExp("^(data):(.*)$","i"),Hs,new RegExp("^eip155:[0-9]+/(erc[0-9]+):(.*)$","i")];function Vs(t,e){try{return Qt(Ws(t,e))}catch(r){}return null}function Ws(t,e){if("0x"===t)return null;const r=W.from(R(t,e,e+32)).toNumber(),n=W.from(R(t,r,r+32)).toNumber();return R(t,r+32,r+32+n)}function Qs(t){return t.match(/^ipfs:\/\/ipfs\//i)?t=t.substring(12):t.match(/^ipfs:\/\//i)?t=t.substring(7):Bs.throwArgumentError("unsupported IPFS format","link",t),`https://gateway.ipfs.io/ipfs/${t}`}function Ys(t){const e=S(t);if(e.length>32)throw new Error("internal; should not happen");const r=new Uint8Array(32);return r.set(e,32-e.length),r}function Xs(t){if(t.length%32==0)return t;const e=new Uint8Array(32*Math.ceil(t.length/32));return e.set(t),e}function Zs(t){const e=[];let r=0;for(let n=0;nW.from(t).eq(1))).catch((t=>{if(t.code===v.errors.CALL_EXCEPTION)return!1;throw this._supportsEip2544=null,t}))),this._supportsEip2544}_fetch(t,e){return Rs(this,void 0,void 0,(function*(){const r={to:this.address,ccipReadEnabled:!0,data:B([t,ds(this.name),e||"0x"])};let n=!1;(yield this.supportsWildcard())&&(n=!0,r.data=B(["0x9061b923",Zs([ps(this.name),r.data])]));try{let t=yield this.provider.call(r);return S(t).length%32==4&&Bs.throwError("resolver threw error",v.errors.CALL_EXCEPTION,{transaction:r,data:t}),n&&(t=Ws(t,0)),t}catch(i){if(i.code===v.errors.CALL_EXCEPTION)return null;throw i}}))}_fetchBytes(t,e){return Rs(this,void 0,void 0,(function*(){const r=yield this._fetch(t,e);return null!=r?Ws(r,0):null}))}_getAddress(t,e){const r=zs[String(t)];if(null==r&&Bs.throwError(`unsupported coin type: ${t}`,v.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`}),"eth"===r.ilk)return this.provider.formatter.address(e);const n=S(e);if(null!=r.p2pkh){const t=e.match(/^0x76a9([0-9a-f][0-9a-f])([0-9a-f]*)88ac$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return qs(P([[r.p2pkh],"0x"+t[2]]))}}if(null!=r.p2sh){const t=e.match(/^0xa9([0-9a-f][0-9a-f])([0-9a-f]*)87$/);if(t){const e=parseInt(t[1],16);if(t[2].length===2*e&&e>=1&&e<=75)return qs(P([[r.p2sh],"0x"+t[2]]))}}if(null!=r.prefix){const t=n[1];let e=n[0];if(0===e?20!==t&&32!==t&&(e=-1):e=-1,e>=0&&n.length===2+t&&t>=1&&t<=75){const t=Ss().toWords(n.slice(2));return t.unshift(e),Ss().encode(r.prefix,t)}}return null}getAddress(t){return Rs(this,void 0,void 0,(function*(){if(null==t&&(t=60),60===t)try{const t=yield this._fetch("0x3b3b57de");return"0x"===t||t===xo?null:this.provider.formatter.callAddress(t)}catch(n){if(n.code===v.errors.CALL_EXCEPTION)return null;throw n}const e=yield this._fetchBytes("0xf1cb7e06",Ks(t));if(null==e||"0x"===e)return null;const r=this._getAddress(t,e);return null==r&&Bs.throwError("invalid or unsupported coin data",v.errors.UNSUPPORTED_OPERATION,{operation:`getAddress(${t})`,coinType:t,data:e}),r}))}getAvatar(){return Rs(this,void 0,void 0,(function*(){const t=[{type:"name",content:this.name}];try{const e=yield this.getText("avatar");if(null==e)return null;for(let r=0;rt[e]))}return Bs.throwError("invalid or unsupported content hash data",v.errors.UNSUPPORTED_OPERATION,{operation:"getContentHash()",data:t})}))}getText(t){return Rs(this,void 0,void 0,(function*(){let e=Ht(t);e=P([Ks(64),Ks(e.length),e]),e.length%32!=0&&(e=P([e,D("0x",32-t.length%32)]));const r=yield this._fetchBytes("0x59d1d43c",I(e));return null==r||"0x"===r?null:Qt(r)}))}}let ta=null,ea=1;class ra extends or{constructor(t){if(super(),this._events=[],this._emitted={block:-2},this.disableCcipRead=!1,this.formatter=new.target.getFormatter(),et(this,"anyNetwork","any"===t),this.anyNetwork&&(t=this.detectNetwork()),t instanceof Promise)this._networkPromise=t,t.catch((t=>{})),this._ready().catch((t=>{}));else{const e=rt(new.target,"getNetwork")(t);e?(et(this,"_network",e),this.emit("network",e,null)):Bs.throwArgumentError("invalid network","network",t)}this._maxInternalBlockNumber=-1024,this._lastBlockNumber=-2,this._maxFilterBlockRange=10,this._pollingInterval=4e3,this._fastQueryDate=0}_ready(){return Rs(this,void 0,void 0,(function*(){if(null==this._network){let e=null;if(this._networkPromise)try{e=yield this._networkPromise}catch(t){}null==e&&(e=yield this.detectNetwork()),e||Bs.throwError("no network detected",v.errors.UNKNOWN_ERROR,{}),null==this._network&&(this.anyNetwork?this._network=e:et(this,"_network",e),this.emit("network",e,null))}return this._network}))}get ready(){return ks((()=>this._ready().then((t=>t),(t=>{if(t.code!==v.errors.NETWORK_ERROR||"noNetwork"!==t.event)throw t}))))}static getFormatter(){return null==ta&&(ta=new Ms),ta}static getNetwork(t){return Uo(null==t?"homestead":t)}ccipReadFetch(t,e,r){return Rs(this,void 0,void 0,(function*(){if(this.disableCcipRead||0===r.length)return null;const n=t.to.toLowerCase(),i=e.toLowerCase(),o=[];for(let t=0;t=0?null:JSON.stringify({data:i,sender:n}),u=yield Es({url:s,errorPassThrough:!0},a,((t,e)=>(t.status=e.statusCode,t)));if(u.data)return u.data;const l=u.message||"unknown error";if(u.status>=400&&u.status<500)return Bs.throwError(`response not found during CCIP fetch: ${l}`,v.errors.SERVER_ERROR,{url:e,errorMessage:l});o.push(l)}return Bs.throwError(`error encountered during CCIP fetch: ${o.map((t=>JSON.stringify(t))).join(", ")}`,v.errors.SERVER_ERROR,{urls:r,errorMessages:o})}))}_getInternalBlockNumber(t){return Rs(this,void 0,void 0,(function*(){if(yield this._ready(),t>0)for(;this._internalBlockNumber;){const e=this._internalBlockNumber;try{const r=yield e;if(Us()-r.respTime<=t)return r.blockNumber;break}catch(n){if(this._internalBlockNumber===e)break}}const e=Us(),r=nt({blockNumber:this.perform("getBlockNumber",{}),networkError:this.getNetwork().then((t=>null),(t=>t))}).then((({blockNumber:t,networkError:n})=>{if(n)throw this._internalBlockNumber===r&&(this._internalBlockNumber=null),n;const i=Us();return(t=W.from(t).toNumber()){this._internalBlockNumber===r&&(this._internalBlockNumber=null)})),(yield r).blockNumber}))}poll(){return Rs(this,void 0,void 0,(function*(){const t=ea++,e=[];let r=null;try{r=yield this._getInternalBlockNumber(100+this.pollingInterval/2)}catch(n){return void this.emit("error",n)}if(this._setFastBlockNumber(r),this.emit("poll",t,r),r!==this._lastBlockNumber){if(-2===this._emitted.block&&(this._emitted.block=r-1),Math.abs(this._emitted.block-r)>1e3)Bs.warn(`network block skew detected; skipping block events (emitted=${this._emitted.block} blockNumber${r})`),this.emit("error",Bs.makeError("network block skew detected",v.errors.NETWORK_ERROR,{blockNumber:r,event:"blockSkew",previousBlockNumber:this._emitted.block})),this.emit("block",r);else for(let t=this._emitted.block+1;t<=r;t++)this.emit("block",t);this._emitted.block!==r&&(this._emitted.block=r,Object.keys(this._emitted).forEach((t=>{if("block"===t)return;const e=this._emitted[t];"pending"!==e&&r-e>12&&delete this._emitted[t]}))),-2===this._lastBlockNumber&&(this._lastBlockNumber=r-1),this._events.forEach((t=>{switch(t.type){case"tx":{const r=t.hash;let n=this.getTransactionReceipt(r).then((t=>t&&null!=t.blockNumber?(this._emitted["t:"+r]=t.blockNumber,this.emit(r,t),null):null)).catch((t=>{this.emit("error",t)}));e.push(n);break}case"filter":if(!t._inflight){t._inflight=!0,-2===t._lastBlockNumber&&(t._lastBlockNumber=r-1);const n=t.filter;n.fromBlock=t._lastBlockNumber+1,n.toBlock=r;const i=n.toBlock-this._maxFilterBlockRange;i>n.fromBlock&&(n.fromBlock=i),n.fromBlock<0&&(n.fromBlock=0);const o=this.getLogs(n).then((e=>{t._inflight=!1,0!==e.length&&e.forEach((e=>{e.blockNumber>t._lastBlockNumber&&(t._lastBlockNumber=e.blockNumber),this._emitted["b:"+e.blockHash]=e.blockNumber,this._emitted["t:"+e.transactionHash]=e.blockNumber,this.emit(n,e)}))})).catch((e=>{this.emit("error",e),t._inflight=!1}));e.push(o)}}})),this._lastBlockNumber=r,Promise.all(e).then((()=>{this.emit("didPoll",t)})).catch((t=>{this.emit("error",t)}))}else this.emit("didPoll",t)}))}resetEventsBlock(t){this._lastBlockNumber=t-1,this.polling&&this.poll()}get network(){return this._network}detectNetwork(){return Rs(this,void 0,void 0,(function*(){return Bs.throwError("provider does not support network detection",v.errors.UNSUPPORTED_OPERATION,{operation:"provider.detectNetwork"})}))}getNetwork(){return Rs(this,void 0,void 0,(function*(){const t=yield this._ready(),e=yield this.detectNetwork();if(t.chainId!==e.chainId){if(this.anyNetwork)return this._network=e,this._lastBlockNumber=-2,this._fastBlockNumber=null,this._fastBlockNumberPromise=null,this._fastQueryDate=0,this._emitted.block=-2,this._maxInternalBlockNumber=-1024,this._internalBlockNumber=null,this.emit("network",e,t),yield Ls(0),this._network;const r=Bs.makeError("underlying network changed",v.errors.NETWORK_ERROR,{event:"changed",network:t,detectedNetwork:e});throw this.emit("error",r),r}return t}))}get blockNumber(){return this._getInternalBlockNumber(100+this.pollingInterval/2).then((t=>{this._setFastBlockNumber(t)}),(t=>{})),null!=this._fastBlockNumber?this._fastBlockNumber:-1}get polling(){return null!=this._poller}set polling(t){t&&!this._poller?(this._poller=setInterval((()=>{this.poll()}),this.pollingInterval),this._bootstrapPoll||(this._bootstrapPoll=setTimeout((()=>{this.poll(),this._bootstrapPoll=setTimeout((()=>{this._poller||this.poll(),this._bootstrapPoll=null}),this.pollingInterval)}),0))):!t&&this._poller&&(clearInterval(this._poller),this._poller=null)}get pollingInterval(){return this._pollingInterval}set pollingInterval(t){if("number"!=typeof t||t<=0||parseInt(String(t))!=t)throw new Error("invalid polling interval");this._pollingInterval=t,this._poller&&(clearInterval(this._poller),this._poller=setInterval((()=>{this.poll()}),this._pollingInterval))}_getFastBlockNumber(){const t=Us();return t-this._fastQueryDate>2*this._pollingInterval&&(this._fastQueryDate=t,this._fastBlockNumberPromise=this.getBlockNumber().then((t=>((null==this._fastBlockNumber||t>this._fastBlockNumber)&&(this._fastBlockNumber=t),this._fastBlockNumber)))),this._fastBlockNumberPromise}_setFastBlockNumber(t){null!=this._fastBlockNumber&&tthis._fastBlockNumber)&&(this._fastBlockNumber=t,this._fastBlockNumberPromise=Promise.resolve(t)))}waitForTransaction(t,e,r){return Rs(this,void 0,void 0,(function*(){return this._waitForTransaction(t,null==e?1:e,r||0,null)}))}_waitForTransaction(t,e,r,n){return Rs(this,void 0,void 0,(function*(){const i=yield this.getTransactionReceipt(t);return(i?i.confirmations:0)>=e?i:new Promise(((i,o)=>{const s=[];let a=!1;const u=function(){return!!a||(a=!0,s.forEach((t=>{t()})),!1)},l=t=>{t.confirmations{this.removeListener(t,l)})),n){let r=n.startBlock,i=null;const l=s=>Rs(this,void 0,void 0,(function*(){a||(yield Ls(1e3),this.getTransactionCount(n.from).then((c=>Rs(this,void 0,void 0,(function*(){if(!a){if(c<=n.nonce)r=s;else{{const e=yield this.getTransaction(t);if(e&&null!=e.blockNumber)return}for(null==i&&(i=r-3,i{a||this.once("block",l)})))}));if(a)return;this.once("block",l),s.push((()=>{this.removeListener("block",l)}))}if("number"==typeof r&&r>0){const t=setTimeout((()=>{u()||o(Bs.makeError("timeout exceeded",v.errors.TIMEOUT,{timeout:r}))}),r);t.unref&&t.unref(),s.push((()=>{clearTimeout(t)}))}}))}))}getBlockNumber(){return Rs(this,void 0,void 0,(function*(){return this._getInternalBlockNumber(0)}))}getGasPrice(){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork();const t=yield this.perform("getGasPrice",{});try{return W.from(t)}catch(e){return Bs.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getGasPrice",result:t,error:e})}}))}getBalance(t,e){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getBalance",r);try{return W.from(n)}catch(i){return Bs.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getBalance",params:r,result:n,error:i})}}))}getTransactionCount(t,e){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getTransactionCount",r);try{return W.from(n).toNumber()}catch(i){return Bs.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getTransactionCount",params:r,result:n,error:i})}}))}getCode(t,e){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork();const r=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(e)}),n=yield this.perform("getCode",r);try{return I(n)}catch(i){return Bs.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getCode",params:r,result:n,error:i})}}))}getStorageAt(t,e,r){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork();const n=yield nt({address:this._getAddress(t),blockTag:this._getBlockTag(r),position:Promise.resolve(e).then((t=>O(t)))}),i=yield this.perform("getStorageAt",n);try{return I(i)}catch(o){return Bs.throwError("bad result from backend",v.errors.SERVER_ERROR,{method:"getStorageAt",params:n,result:i,error:o})}}))}_wrapTransaction(t,e,r){if(null!=e&&32!==T(e))throw new Error("invalid response - sendTransaction");const n=t;return null!=e&&t.hash!==e&&Bs.throwError("Transaction hash mismatch from Provider.sendTransaction.",v.errors.UNKNOWN_ERROR,{expectedHash:t.hash,returnedHash:e}),n.wait=(e,n)=>Rs(this,void 0,void 0,(function*(){let i;null==e&&(e=1),null==n&&(n=0),0!==e&&null!=r&&(i={data:t.data,from:t.from,nonce:t.nonce,to:t.to,value:t.value,startBlock:r});const o=yield this._waitForTransaction(t.hash,e,n,i);return null==o&&0===e?null:(this._emitted["t:"+t.hash]=o.blockNumber,0===o.status&&Bs.throwError("transaction failed",v.errors.CALL_EXCEPTION,{transactionHash:t.hash,transaction:t,receipt:o}),o)})),n}sendTransaction(t){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield Promise.resolve(t).then((t=>I(t))),r=this.formatter.transaction(t);null==r.confirmations&&(r.confirmations=0);const n=yield this._getInternalBlockNumber(100+2*this.pollingInterval);try{const t=yield this.perform("sendTransaction",{signedTransaction:e});return this._wrapTransaction(r,t,n)}catch(i){throw i.transaction=r,i.transactionHash=r.hash,i}}))}_getTransactionRequest(t){return Rs(this,void 0,void 0,(function*(){const e=yield t,r={};return["from","to"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?this._getAddress(t):null)))})),["gasLimit","gasPrice","maxFeePerGas","maxPriorityFeePerGas","value"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?W.from(t):null)))})),["type"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>null!=t?t:null)))})),e.accessList&&(r.accessList=this.formatter.accessList(e.accessList)),["data"].forEach((t=>{null!=e[t]&&(r[t]=Promise.resolve(e[t]).then((t=>t?I(t):null)))})),this.formatter.transactionRequest(yield nt(r))}))}_getFilter(t){return Rs(this,void 0,void 0,(function*(){t=yield t;const e={};return null!=t.address&&(e.address=this._getAddress(t.address)),["blockHash","topics"].forEach((r=>{null!=t[r]&&(e[r]=t[r])})),["fromBlock","toBlock"].forEach((r=>{null!=t[r]&&(e[r]=this._getBlockTag(t[r]))})),this.formatter.filter(yield nt(e))}))}_call(t,e,r){return Rs(this,void 0,void 0,(function*(){r>=10&&Bs.throwError("CCIP read exceeded maximum redirections",v.errors.SERVER_ERROR,{redirects:r,transaction:t});const n=t.to,i=yield this.perform("call",{transaction:t,blockTag:e});if(r>=0&&"latest"===e&&null!=n&&"0x556f1830"===i.substring(0,10)&&T(i)%32==4)try{const o=R(i,4),s=R(o,0,32);W.from(s).eq(n)||Bs.throwError("CCIP Read sender did not match",v.errors.CALL_EXCEPTION,{name:"OffchainLookup",signature:"OffchainLookup(address,string[],bytes,bytes4,bytes)",transaction:t,data:i});const a=[],u=W.from(R(o,32,64)).toNumber(),l=W.from(R(o,u,u+32)).toNumber(),c=R(o,u+32);for(let e=0;eRs(this,void 0,void 0,(function*(){const t=yield this.perform("getBlock",n);if(null==t)return null!=n.blockHash&&null==this._emitted["b:"+n.blockHash]||null!=n.blockTag&&r>this._emitted.block?null:void 0;if(e){let e=null;for(let n=0;nthis._wrapTransaction(t))),r}return this.formatter.block(t)}))),{oncePoll:this})}))}getBlock(t){return this._getBlock(t,!1)}getBlockWithTransactions(t){return this._getBlock(t,!0)}getTransaction(t){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return ks((()=>Rs(this,void 0,void 0,(function*(){const r=yield this.perform("getTransaction",e);if(null==r)return null==this._emitted["t:"+t]?null:void 0;const n=this.formatter.transactionResponse(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;t<=0&&(t=1),n.confirmations=t}return this._wrapTransaction(n)}))),{oncePoll:this})}))}getTransactionReceipt(t){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork(),t=yield t;const e={transactionHash:this.formatter.hash(t,!0)};return ks((()=>Rs(this,void 0,void 0,(function*(){const r=yield this.perform("getTransactionReceipt",e);if(null==r)return null==this._emitted["t:"+t]?null:void 0;if(null==r.blockHash)return;const n=this.formatter.receipt(r);if(null==n.blockNumber)n.confirmations=0;else if(null==n.confirmations){let t=(yield this._getInternalBlockNumber(100+2*this.pollingInterval))-n.blockNumber+1;t<=0&&(t=1),n.confirmations=t}return n}))),{oncePoll:this})}))}getLogs(t){return Rs(this,void 0,void 0,(function*(){yield this.getNetwork();const e=yield nt({filter:this._getFilter(t)}),r=yield this.perform("getLogs",e);return r.forEach((t=>{null==t.removed&&(t.removed=!1)})),Ms.arrayOf(this.formatter.filterLog.bind(this.formatter))(r)}))}getEtherPrice(){return Rs(this,void 0,void 0,(function*(){return yield this.getNetwork(),this.perform("getEtherPrice",{})}))}_getBlockTag(t){return Rs(this,void 0,void 0,(function*(){if("number"==typeof(t=yield t)&&t<0){t%1&&Bs.throwArgumentError("invalid BlockTag","blockTag",t);let e=yield this._getInternalBlockNumber(100+2*this.pollingInterval);return e+=t,e<0&&(e=0),this.formatter.blockTag(e)}return this.formatter.blockTag(t)}))}getResolver(t){return Rs(this,void 0,void 0,(function*(){let e=t;for(;;){if(""===e||"."===e)return null;if("eth"!==t&&"eth"===e)return null;const r=yield this._getResolver(e,"getResolver");if(null!=r){const n=new $s(this,r,t);return e===t||(yield n.supportsWildcard())?n:null}e=e.split(".").slice(1).join(".")}}))}_getResolver(t,e){return Rs(this,void 0,void 0,(function*(){null==e&&(e="ENS");const r=yield this.getNetwork();r.ensAddress||Bs.throwError("network does not support ENS",v.errors.UNSUPPORTED_OPERATION,{operation:e,network:r.name});try{const e=yield this.call({to:r.ensAddress,data:"0x0178b8bf"+ds(t).substring(2)});return this.formatter.callAddress(e)}catch(n){}return null}))}resolveName(t){return Rs(this,void 0,void 0,(function*(){t=yield t;try{return Promise.resolve(this.formatter.address(t))}catch(r){if(x(t))throw r}"string"!=typeof t&&Bs.throwArgumentError("invalid ENS name","name",t);const e=yield this.getResolver(t);return e?yield e.getAddress():null}))}lookupAddress(t){return Rs(this,void 0,void 0,(function*(){t=yield t;const e=(t=this.formatter.address(t)).substring(2).toLowerCase()+".addr.reverse",r=yield this._getResolver(e,"lookupAddress");if(null==r)return null;const n=Vs(yield this.call({to:r,data:"0x691f3431"+ds(e).substring(2)}),0);return(yield this.resolveName(n))!=t?null:n}))}getAvatar(t){return Rs(this,void 0,void 0,(function*(){let e=null;if(x(t)){const r=this.formatter.address(t).substring(2).toLowerCase()+".addr.reverse",i=yield this._getResolver(r,"getAvatar");if(!i)return null;e=new $s(this,i,r);try{const t=yield e.getAvatar();if(t)return t.url}catch(n){if(n.code!==v.errors.CALL_EXCEPTION)throw n}try{const t=Vs(yield this.call({to:i,data:"0x691f3431"+ds(r).substring(2)}),0);e=yield this.getResolver(t)}catch(n){if(n.code!==v.errors.CALL_EXCEPTION)throw n;return null}}else if(e=yield this.getResolver(t),!e)return null;const r=yield e.getAvatar();return null==r?null:r.url}))}perform(t,e){return Bs.throwError(t+" not implemented",v.errors.NOT_IMPLEMENTED,{operation:t})}_startEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_stopEvent(t){this.polling=this._events.filter((t=>t.pollable())).length>0}_addEventListener(t,e,r){const n=new js(Ds(t),e,r);return this._events.push(n),this._startEvent(n),this}on(t,e){return this._addEventListener(t,e,!1)}once(t,e){return this._addEventListener(t,e,!0)}emit(t,...e){let r=!1,n=[],i=Ds(t);return this._events=this._events.filter((t=>t.tag!==i||(setTimeout((()=>{t.listener.apply(this,e)}),0),r=!0,!t.once||(n.push(t),!1)))),n.forEach((t=>{this._stopEvent(t)})),r}listenerCount(t){if(!t)return this._events.length;let e=Ds(t);return this._events.filter((t=>t.tag===e)).length}listeners(t){if(null==t)return this._events.map((t=>t.listener));let e=Ds(t);return this._events.filter((t=>t.tag===e)).map((t=>t.listener))}off(t,e){if(null==e)return this.removeAllListeners(t);const r=[];let n=!1,i=Ds(t);return this._events=this._events.filter((t=>t.tag!==i||t.listener!=e||(!!n||(n=!0,r.push(t),!1)))),r.forEach((t=>{this._stopEvent(t)})),this}removeAllListeners(t){let e=[];if(null==t)e=this._events,this._events=[];else{const r=Ds(t);this._events=this._events.filter((t=>t.tag!==r||(e.push(t),!1)))}return e.forEach((t=>{this._stopEvent(t)})),this}}var na=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const ia=new v(Ps),oa=["call","estimateGas"];function sa(t,e){if(null==t)return null;if("string"==typeof t.message&&t.message.match("reverted")){const r=x(t.data)?t.data:null;if(!e||r)return{message:t.message,data:r}}if("object"==typeof t){for(const r in t){const n=sa(t[r],e);if(n)return n}return null}if("string"==typeof t)try{return sa(JSON.parse(t),e)}catch(r){}return null}function aa(t,e,r){const n=r.transaction||r.signedTransaction;if("call"===t){const t=sa(e,!0);if(t)return t.data;ia.throwError("missing revert data in call exception; Transaction reverted without a reason string",v.errors.CALL_EXCEPTION,{data:"0x",transaction:n,error:e})}if("estimateGas"===t){let r=sa(e.body,!1);null==r&&(r=sa(e,!1)),r&&ia.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{reason:r.message,method:t,transaction:n,error:e})}let i=e.message;throw e.code===v.errors.SERVER_ERROR&&e.error&&"string"==typeof e.error.message?i=e.error.message:"string"==typeof e.body?i=e.body:"string"==typeof e.responseText&&(i=e.responseText),i=(i||"").toLowerCase(),i.match(/insufficient funds|base fee exceeds gas limit|InsufficientFunds/i)&&ia.throwError("insufficient funds for intrinsic transaction cost",v.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:n}),i.match(/nonce (is )?too low/i)&&ia.throwError("nonce has already been used",v.errors.NONCE_EXPIRED,{error:e,method:t,transaction:n}),i.match(/replacement transaction underpriced|transaction gas price.*too low/i)&&ia.throwError("replacement fee too low",v.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:n}),i.match(/only replay-protected/i)&&ia.throwError("legacy pre-eip-155 transactions not supported",v.errors.UNSUPPORTED_OPERATION,{error:e,method:t,transaction:n}),oa.indexOf(t)>=0&&i.match(/gas required exceeds allowance|always failing transaction|execution reverted|revert/)&&ia.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:n}),e}function ua(t){return new Promise((function(e){setTimeout(e,t)}))}function la(t){if(t.error){const e=new Error(t.error.message);throw e.code=t.error.code,e.data=t.error.data,e}return t.result}function ca(t){return t?t.toLowerCase():t}const ha={};class fa extends cr{constructor(t,e,r){if(super(),t!==ha)throw new Error("do not call the JsonRpcSigner constructor directly; use provider.getSigner");et(this,"provider",e),null==r&&(r=0),"string"==typeof r?(et(this,"_address",this.provider.formatter.address(r)),et(this,"_index",null)):"number"==typeof r?(et(this,"_index",r),et(this,"_address",null)):ia.throwArgumentError("invalid address or index","addressOrIndex",r)}connect(t){return ia.throwError("cannot alter JSON-RPC Signer connection",v.errors.UNSUPPORTED_OPERATION,{operation:"connect"})}connectUnchecked(){return new da(ha,this.provider,this._address||this._index)}getAddress(){return this._address?Promise.resolve(this._address):this.provider.send("eth_accounts",[]).then((t=>(t.length<=this._index&&ia.throwError("unknown account #"+this._index,v.errors.UNSUPPORTED_OPERATION,{operation:"getAddress"}),this.provider.formatter.address(t[this._index]))))}sendUncheckedTransaction(t){t=ot(t);const e=this.getAddress().then((t=>(t&&(t=t.toLowerCase()),t)));if(null==t.gasLimit){const r=ot(t);r.from=e,t.gasLimit=this.provider.estimateGas(r)}return null!=t.to&&(t.to=Promise.resolve(t.to).then((t=>na(this,void 0,void 0,(function*(){if(null==t)return null;const e=yield this.provider.resolveName(t);return null==e&&ia.throwArgumentError("provided ENS name resolves to null","tx.to",t),e}))))),nt({tx:nt(t),sender:e}).then((({tx:e,sender:r})=>{null!=e.from?e.from.toLowerCase()!==r&&ia.throwArgumentError("from address mismatch","transaction",t):e.from=r;const n=this.provider.constructor.hexlifyTransaction(e,{from:!0});return this.provider.send("eth_sendTransaction",[n]).then((t=>t),(t=>("string"==typeof t.message&&t.message.match(/user denied/i)&&ia.throwError("user rejected transaction",v.errors.ACTION_REJECTED,{action:"sendTransaction",transaction:e}),aa("sendTransaction",t,n))))}))}signTransaction(t){return ia.throwError("signing transactions is unsupported",v.errors.UNSUPPORTED_OPERATION,{operation:"signTransaction"})}sendTransaction(t){return na(this,void 0,void 0,(function*(){const e=yield this.provider._getInternalBlockNumber(100+2*this.provider.pollingInterval),r=yield this.sendUncheckedTransaction(t);try{return yield ks((()=>na(this,void 0,void 0,(function*(){const t=yield this.provider.getTransaction(r);if(null!==t)return this.provider._wrapTransaction(t,r,e)}))),{oncePoll:this.provider})}catch(n){throw n.transactionHash=r,n}}))}signMessage(t){return na(this,void 0,void 0,(function*(){const e="string"==typeof t?Ht(t):t,r=yield this.getAddress();try{return yield this.provider.send("personal_sign",[I(e),r.toLowerCase()])}catch(n){throw"string"==typeof n.message&&n.message.match(/user denied/i)&&ia.throwError("user rejected signing",v.errors.ACTION_REJECTED,{action:"signMessage",from:r,messageData:t}),n}}))}_legacySignMessage(t){return na(this,void 0,void 0,(function*(){const e="string"==typeof t?Ht(t):t,r=yield this.getAddress();try{return yield this.provider.send("eth_sign",[r.toLowerCase(),I(e)])}catch(n){throw"string"==typeof n.message&&n.message.match(/user denied/i)&&ia.throwError("user rejected signing",v.errors.ACTION_REJECTED,{action:"_legacySignMessage",from:r,messageData:t}),n}}))}_signTypedData(t,e,r){return na(this,void 0,void 0,(function*(){const n=yield pi.resolveNames(t,e,r,(t=>this.provider.resolveName(t))),i=yield this.getAddress();try{return yield this.provider.send("eth_signTypedData_v4",[i.toLowerCase(),JSON.stringify(pi.getPayload(n.domain,e,n.value))])}catch(o){throw"string"==typeof o.message&&o.message.match(/user denied/i)&&ia.throwError("user rejected signing",v.errors.ACTION_REJECTED,{action:"_signTypedData",from:i,messageData:{domain:n.domain,types:e,value:n.value}}),o}}))}unlock(t){return na(this,void 0,void 0,(function*(){const e=this.provider,r=yield this.getAddress();return e.send("personal_unlockAccount",[r.toLowerCase(),t,null])}))}}class da extends fa{sendTransaction(t){return this.sendUncheckedTransaction(t).then((t=>({hash:t,nonce:null,gasLimit:null,gasPrice:null,data:null,value:null,chainId:null,confirmations:0,from:null,wait:e=>this.provider.waitForTransaction(t,e)})))}}const pa={chainId:!0,data:!0,gasLimit:!0,gasPrice:!0,nonce:!0,to:!0,value:!0,type:!0,accessList:!0,maxFeePerGas:!0,maxPriorityFeePerGas:!0};class ma extends ra{constructor(t,e){let r=e;null==r&&(r=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then((e=>{t(e)}),(t=>{e(t)}))}),0)}))),super(r),t||(t=rt(this.constructor,"defaultUrl")()),et(this,"connection","string"==typeof t?Object.freeze({url:t}):Object.freeze(ot(t))),this._nextId=42}get _cache(){return null==this._eventLoopCache&&(this._eventLoopCache={}),this._eventLoopCache}static defaultUrl(){return"http://localhost:8545"}detectNetwork(){return this._cache.detectNetwork||(this._cache.detectNetwork=this._uncachedDetectNetwork(),setTimeout((()=>{this._cache.detectNetwork=null}),0)),this._cache.detectNetwork}_uncachedDetectNetwork(){return na(this,void 0,void 0,(function*(){yield ua(0);let t=null;try{t=yield this.send("eth_chainId",[])}catch(e){try{t=yield this.send("net_version",[])}catch(e){}}if(null!=t){const r=rt(this.constructor,"getNetwork");try{return r(W.from(t).toNumber())}catch(e){return ia.throwError("could not detect network",v.errors.NETWORK_ERROR,{chainId:t,event:"invalidNetwork",serverError:e})}}return ia.throwError("could not detect network",v.errors.NETWORK_ERROR,{event:"noNetwork"})}))}getSigner(t){return new fa(ha,this,t)}getUncheckedSigner(t){return this.getSigner(t).connectUnchecked()}listAccounts(){return this.send("eth_accounts",[]).then((t=>t.map((t=>this.formatter.address(t)))))}send(t,e){const r={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};this.emit("debug",{action:"request",request:lt(r),provider:this});const n=["eth_chainId","eth_blockNumber"].indexOf(t)>=0;if(n&&this._cache[t])return this._cache[t];const i=Es(this.connection,JSON.stringify(r),la).then((t=>(this.emit("debug",{action:"response",request:r,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",error:t,request:r,provider:this}),t}));return n&&(this._cache[t]=i,setTimeout((()=>{this._cache[t]=null}),0)),i}prepareRequest(t,e){switch(t){case"getBlockNumber":return["eth_blockNumber",[]];case"getGasPrice":return["eth_gasPrice",[]];case"getBalance":return["eth_getBalance",[ca(e.address),e.blockTag]];case"getTransactionCount":return["eth_getTransactionCount",[ca(e.address),e.blockTag]];case"getCode":return["eth_getCode",[ca(e.address),e.blockTag]];case"getStorageAt":return["eth_getStorageAt",[ca(e.address),D(e.position,32),e.blockTag]];case"sendTransaction":return["eth_sendRawTransaction",[e.signedTransaction]];case"getBlock":return e.blockTag?["eth_getBlockByNumber",[e.blockTag,!!e.includeTransactions]]:e.blockHash?["eth_getBlockByHash",[e.blockHash,!!e.includeTransactions]]:null;case"getTransaction":return["eth_getTransactionByHash",[e.transactionHash]];case"getTransactionReceipt":return["eth_getTransactionReceipt",[e.transactionHash]];case"call":return["eth_call",[rt(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0}),e.blockTag]];case"estimateGas":return["eth_estimateGas",[rt(this.constructor,"hexlifyTransaction")(e.transaction,{from:!0})]];case"getLogs":return e.filter&&null!=e.filter.address&&(e.filter.address=ca(e.filter.address)),["eth_getLogs",[e.filter]]}return null}perform(t,e){return na(this,void 0,void 0,(function*(){if("call"===t||"estimateGas"===t){const t=e.transaction;if(t&&null!=t.type&&W.from(t.type).isZero()&&null==t.maxFeePerGas&&null==t.maxPriorityFeePerGas){const r=yield this.getFeeData();null==r.maxFeePerGas&&null==r.maxPriorityFeePerGas&&((e=ot(e)).transaction=ot(t),delete e.transaction.type)}}const r=this.prepareRequest(t,e);null==r&&ia.throwError(t+" not implemented",v.errors.NOT_IMPLEMENTED,{operation:t});try{return yield this.send(r[0],r[1])}catch(n){return aa(t,n,e)}}))}_startEvent(t){"pending"===t.tag&&this._startPending(),super._startEvent(t)}_startPending(){if(null!=this._pendingFilter)return;const t=this,e=this.send("eth_newPendingTransactionFilter",[]);this._pendingFilter=e,e.then((function(r){return function n(){t.send("eth_getFilterChanges",[r]).then((function(r){if(t._pendingFilter!=e)return null;let n=Promise.resolve();return r.forEach((function(e){t._emitted["t:"+e.toLowerCase()]="pending",n=n.then((function(){return t.getTransaction(e).then((function(e){return t.emit("pending",e),null}))}))})),n.then((function(){return ua(1e3)}))})).then((function(){if(t._pendingFilter==e)return setTimeout((function(){n()}),0),null;t.send("eth_uninstallFilter",[r])})).catch((t=>{}))}(),r})).catch((t=>{}))}_stopEvent(t){"pending"===t.tag&&0===this.listenerCount("pending")&&(this._pendingFilter=null),super._stopEvent(t)}static hexlifyTransaction(t,e){const r=ot(pa);if(e)for(const i in e)e[i]&&(r[i]=!0);it(t,r);const n={};return["chainId","gasLimit","gasPrice","type","maxFeePerGas","maxPriorityFeePerGas","nonce","value"].forEach((function(e){if(null==t[e])return;const r=O(W.from(t[e]));"gasLimit"===e&&(e="gas"),n[e]=r})),["from","to","data"].forEach((function(e){null!=t[e]&&(n[e]=I(t[e]))})),t.accessList&&(n.accessList=dn(t.accessList)),n}}let ga=null;try{if(ga=WebSocket,null==ga)throw new Error("inject please")}catch(tl){const t=new v(Ps);ga=function(){t.throwError("WebSockets not supported in this environment",v.errors.UNSUPPORTED_OPERATION,{operation:"new WebSocket()"})}}var ya=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const va=new v(Ps);let wa=1;class ba extends ma{constructor(t,e){"any"===e&&va.throwError("WebSocketProvider does not support 'any' network yet",v.errors.UNSUPPORTED_OPERATION,{operation:"network:any"}),super("string"==typeof t?t:"_websocket",e),this._pollingInterval=-1,this._wsReady=!1,et(this,"_websocket","string"==typeof t?new ga(this.connection.url):t),et(this,"_requests",{}),et(this,"_subs",{}),et(this,"_subIds",{}),et(this,"_detectNetwork",super.detectNetwork()),this.websocket.onopen=()=>{this._wsReady=!0,Object.keys(this._requests).forEach((t=>{this.websocket.send(this._requests[t].payload)}))},this.websocket.onmessage=t=>{const e=t.data,r=JSON.parse(e);if(null!=r.id){const t=String(r.id),n=this._requests[t];if(delete this._requests[t],void 0!==r.result)n.callback(null,r.result),this.emit("debug",{action:"response",request:JSON.parse(n.payload),response:r.result,provider:this});else{let t=null;r.error?(t=new Error(r.error.message||"unknown error"),et(t,"code",r.error.code||null),et(t,"response",e)):t=new Error("unknown error"),n.callback(t,void 0),this.emit("debug",{action:"response",error:t,request:JSON.parse(n.payload),provider:this})}}else if("eth_subscription"===r.method){const t=this._subs[r.params.subscription];t&&t.processFunc(r.params.result)}else console.warn("this should not happen")};const r=setInterval((()=>{this.emit("poll")}),1e3);r.unref&&r.unref()}get websocket(){return this._websocket}detectNetwork(){return this._detectNetwork}get pollingInterval(){return 0}resetEventsBlock(t){va.throwError("cannot reset events block on WebSocketProvider",v.errors.UNSUPPORTED_OPERATION,{operation:"resetEventBlock"})}set pollingInterval(t){va.throwError("cannot set polling interval on WebSocketProvider",v.errors.UNSUPPORTED_OPERATION,{operation:"setPollingInterval"})}poll(){return ya(this,void 0,void 0,(function*(){return null}))}set polling(t){t&&va.throwError("cannot set polling on WebSocketProvider",v.errors.UNSUPPORTED_OPERATION,{operation:"setPolling"})}send(t,e){const r=wa++;return new Promise(((n,i)=>{const o=JSON.stringify({method:t,params:e,id:r,jsonrpc:"2.0"});this.emit("debug",{action:"request",request:JSON.parse(o),provider:this}),this._requests[String(r)]={callback:function(t,e){return t?i(t):n(e)},payload:o},this._wsReady&&this.websocket.send(o)}))}static defaultUrl(){return"ws://localhost:8546"}_subscribe(t,e,r){return ya(this,void 0,void 0,(function*(){let n=this._subIds[t];null==n&&(n=Promise.all(e).then((t=>this.send("eth_subscribe",t))),this._subIds[t]=n);const i=yield n;this._subs[i]={tag:t,processFunc:r}}))}_startEvent(t){switch(t.type){case"block":this._subscribe("block",["newHeads"],(t=>{const e=W.from(t.number).toNumber();this._emitted.block=e,this.emit("block",e)}));break;case"pending":this._subscribe("pending",["newPendingTransactions"],(t=>{this.emit("pending",t)}));break;case"filter":this._subscribe(t.tag,["logs",this._getFilter(t.filter)],(e=>{null==e.removed&&(e.removed=!1),this.emit(t.filter,this.formatter.filterLog(e))}));break;case"tx":{const e=t=>{const e=t.hash;this.getTransactionReceipt(e).then((t=>{t&&this.emit(e,t)}))};e(t),this._subscribe("tx",["newHeads"],(t=>{this._events.filter((t=>"tx"===t.type)).forEach(e)}));break}case"debug":case"poll":case"willPoll":case"didPoll":case"error":break;default:console.log("unhandled:",t)}}_stopEvent(t){let e=t.tag;if("tx"===t.type){if(this._events.filter((t=>"tx"===t.type)).length)return;e="tx"}else if(this.listenerCount(t.event))return;const r=this._subIds[e];r&&(delete this._subIds[e],r.then((t=>{this._subs[t]&&(delete this._subs[t],this.send("eth_unsubscribe",[t]))})))}destroy(){return ya(this,void 0,void 0,(function*(){this.websocket.readyState===ga.CONNECTING&&(yield new Promise((t=>{this.websocket.onopen=function(){t(!0)},this.websocket.onerror=function(){t(!1)}}))),this.websocket.close(1e3)}))}}var Aa=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Ea=new v(Ps);class ka extends ma{detectNetwork(){const t=Object.create(null,{detectNetwork:{get:()=>super.detectNetwork}});return Aa(this,void 0,void 0,(function*(){let e=this.network;return null==e&&(e=yield t.detectNetwork.call(this),e||Ea.throwError("no network detected",v.errors.UNKNOWN_ERROR,{}),null==this._network&&(et(this,"_network",e),this.emit("network",e,null))),e}))}}class _a extends ka{constructor(t,e){Ea.checkAbstract(new.target,_a),t=rt(new.target,"getNetwork")(t),e=rt(new.target,"getApiKey")(e);super(rt(new.target,"getUrl")(t,e),t),"string"==typeof e?et(this,"apiKey",e):null!=e&&Object.keys(e).forEach((t=>{et(this,t,e[t])}))}_startPending(){Ea.warn("WARNING: API provider does not support pending filters")}isCommunityResource(){return!1}getSigner(t){return Ea.throwError("API provider does not support signing",v.errors.UNSUPPORTED_OPERATION,{operation:"getSigner"})}listAccounts(){return Promise.resolve([])}static getApiKey(t){return t}static getUrl(t,e){return Ea.throwError("not implemented; sub-classes must override getUrl",v.errors.NOT_IMPLEMENTED,{operation:"getUrl"})}}const Sa=new v(Ps),Pa="_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC";class Na extends ba{constructor(t,e){const r=new Ma(t,e);super(r.connection.url.replace(/^http/i,"ws").replace(".alchemyapi.",".ws.alchemyapi."),r.network),et(this,"apiKey",r.apiKey)}isCommunityResource(){return this.apiKey===Pa}}class Ma extends _a{static getWebSocketProvider(t,e){return new Na(t,e)}static getApiKey(t){return null==t?Pa:(t&&"string"!=typeof t&&Sa.throwArgumentError("invalid apiKey","apiKey",t),t)}static getUrl(t,e){let r=null;switch(t.name){case"homestead":r="eth-mainnet.alchemyapi.io/v2/";break;case"goerli":r="eth-goerli.g.alchemy.com/v2/";break;case"matic":r="polygon-mainnet.g.alchemy.com/v2/";break;case"maticmum":r="polygon-mumbai.g.alchemy.com/v2/";break;case"arbitrum":r="arb-mainnet.g.alchemy.com/v2/";break;case"arbitrum-goerli":r="arb-goerli.g.alchemy.com/v2/";break;case"optimism":r="opt-mainnet.g.alchemy.com/v2/";break;case"optimism-goerli":r="opt-goerli.g.alchemy.com/v2/";break;default:Sa.throwArgumentError("unsupported network","network",arguments[0])}return{allowGzip:!0,url:"https://"+r+e,throttleCallback:(t,r)=>(e===Pa&&Ts(),Promise.resolve(!0))}}isCommunityResource(){return this.apiKey===Pa}}const xa=new v(Ps),Ca="9f7d929b018cdffb338517efa06f58359e86ff1ffd350bc889738523659e7972";function Ia(t){switch(t){case"homestead":return"rpc.ankr.com/eth/";case"ropsten":return"rpc.ankr.com/eth_ropsten/";case"rinkeby":return"rpc.ankr.com/eth_rinkeby/";case"goerli":return"rpc.ankr.com/eth_goerli/";case"matic":return"rpc.ankr.com/polygon/";case"arbitrum":return"rpc.ankr.com/arbitrum/"}return xa.throwArgumentError("unsupported network","name",t)}class Ta extends _a{isCommunityResource(){return this.apiKey===Ca}static getApiKey(t){return null==t?Ca:t}static getUrl(t,e){null==e&&(e=Ca);const r={allowGzip:!0,url:"https://"+Ia(t.name)+e,throttleCallback:(t,r)=>(e.apiKey===Ca&&Ts(),Promise.resolve(!0))};return null!=e.projectSecret&&(r.user="",r.password=e.projectSecret),r}}var Ra=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Ba=new v(Ps);class Oa extends _a{static getApiKey(t){return null!=t&&Ba.throwArgumentError("apiKey not supported for cloudflare","apiKey",t),null}static getUrl(t,e){let r=null;if("homestead"===t.name)r="https://cloudflare-eth.com/";else Ba.throwArgumentError("unsupported network","network",arguments[0]);return r}perform(t,e){const r=Object.create(null,{perform:{get:()=>super.perform}});return Ra(this,void 0,void 0,(function*(){if("getBlockNumber"===t){return(yield r.perform.call(this,"getBlock",{blockTag:"latest"})).number}return r.perform.call(this,t,e)}))}}var Fa=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Da=new v(Ps);function Ua(t){const e={};for(let r in t){if(null==t[r])continue;let n=t[r];"type"===r&&0===n||(n={type:!0,gasLimit:!0,gasPrice:!0,maxFeePerGs:!0,maxPriorityFeePerGas:!0,nonce:!0,value:!0}[r]?O(I(n)):"accessList"===r?"["+dn(n).map((t=>`{address:"${t.address}",storageKeys:["${t.storageKeys.join('","')}"]}`)).join(",")+"]":I(n),e[r]=n)}return e}function La(t){if(0==t.status&&("No records found"===t.message||"No transactions found"===t.message))return t.result;if(1!=t.status||"string"!=typeof t.message||!t.message.match(/^OK/)){const e=new Error("invalid response");throw e.result=JSON.stringify(t),(t.result||"").toLowerCase().indexOf("rate limit")>=0&&(e.throttleRetry=!0),e}return t.result}function Ga(t){if(t&&0==t.status&&"NOTOK"==t.message&&(t.result||"").toLowerCase().indexOf("rate limit")>=0){const e=new Error("throttled response");throw e.result=JSON.stringify(t),e.throttleRetry=!0,e}if("2.0"!=t.jsonrpc){const e=new Error("invalid response");throw e.result=JSON.stringify(t),e}if(t.error){const e=new Error(t.error.message||"unknown error");throw t.error.code&&(e.code=t.error.code),t.error.data&&(e.data=t.error.data),e}return t.result}function ja(t){if("pending"===t)throw new Error("pending not supported");return"latest"===t?t:parseInt(t.substring(2),16)}function za(t,e,r){if("call"===t&&e.code===v.errors.SERVER_ERROR){const t=e.error;if(t&&(t.message.match(/reverted/i)||t.message.match(/VM execution error/i))){let r=t.data;if(r&&(r="0x"+r.replace(/^.*0x/i,"")),x(r))return r;Da.throwError("missing revert data in call exception",v.errors.CALL_EXCEPTION,{error:e,data:"0x"})}}let n=e.message;throw e.code===v.errors.SERVER_ERROR&&(e.error&&"string"==typeof e.error.message?n=e.error.message:"string"==typeof e.body?n=e.body:"string"==typeof e.responseText&&(n=e.responseText)),n=(n||"").toLowerCase(),n.match(/insufficient funds/)&&Da.throwError("insufficient funds for intrinsic transaction cost",v.errors.INSUFFICIENT_FUNDS,{error:e,method:t,transaction:r}),n.match(/same hash was already imported|transaction nonce is too low|nonce too low/)&&Da.throwError("nonce has already been used",v.errors.NONCE_EXPIRED,{error:e,method:t,transaction:r}),n.match(/another transaction with same nonce/)&&Da.throwError("replacement fee too low",v.errors.REPLACEMENT_UNDERPRICED,{error:e,method:t,transaction:r}),n.match(/execution failed due to an exception|execution reverted/)&&Da.throwError("cannot estimate gas; transaction may fail or may require manual gas limit",v.errors.UNPREDICTABLE_GAS_LIMIT,{error:e,method:t,transaction:r}),e}class Ka extends ra{constructor(t,e){super(t),et(this,"baseUrl",this.getBaseUrl()),et(this,"apiKey",e||null)}getBaseUrl(){switch(this.network?this.network.name:"invalid"){case"homestead":return"https://api.etherscan.io";case"goerli":return"https://api-goerli.etherscan.io";case"sepolia":return"https://api-sepolia.etherscan.io";case"matic":return"https://api.polygonscan.com";case"maticmum":return"https://api-testnet.polygonscan.com";case"arbitrum":return"https://api.arbiscan.io";case"arbitrum-goerli":return"https://api-goerli.arbiscan.io";case"optimism":return"https://api-optimistic.etherscan.io";case"optimism-goerli":return"https://api-goerli-optimistic.etherscan.io"}return Da.throwArgumentError("unsupported network","network",this.network.name)}getUrl(t,e){const r=Object.keys(e).reduce(((t,r)=>{const n=e[r];return null!=n&&(t+=`&${r}=${n}`),t}),""),n=this.apiKey?`&apikey=${this.apiKey}`:"";return`${this.baseUrl}/api?module=${t}${r}${n}`}getPostUrl(){return`${this.baseUrl}/api`}getPostData(t,e){return e.module=t,e.apikey=this.apiKey,e}fetch(t,e,r){return Fa(this,void 0,void 0,(function*(){const n=r?this.getPostUrl():this.getUrl(t,e),i=r?this.getPostData(t,e):null,o="proxy"===t?Ga:La;this.emit("debug",{action:"request",request:n,provider:this});const s={url:n,throttleSlotInterval:1e3,throttleCallback:(t,e)=>(this.isCommunityResource()&&Ts(),Promise.resolve(!0))};let a=null;i&&(s.headers={"content-type":"application/x-www-form-urlencoded; charset=UTF-8"},a=Object.keys(i).map((t=>`${t}=${i[t]}`)).join("&"));const u=yield Es(s,a,o||Ga);return this.emit("debug",{action:"response",request:n,response:lt(u),provider:this}),u}))}detectNetwork(){return Fa(this,void 0,void 0,(function*(){return this.network}))}perform(t,e){const r=Object.create(null,{perform:{get:()=>super.perform}});return Fa(this,void 0,void 0,(function*(){switch(t){case"getBlockNumber":return this.fetch("proxy",{action:"eth_blockNumber"});case"getGasPrice":return this.fetch("proxy",{action:"eth_gasPrice"});case"getBalance":return this.fetch("account",{action:"balance",address:e.address,tag:e.blockTag});case"getTransactionCount":return this.fetch("proxy",{action:"eth_getTransactionCount",address:e.address,tag:e.blockTag});case"getCode":return this.fetch("proxy",{action:"eth_getCode",address:e.address,tag:e.blockTag});case"getStorageAt":return this.fetch("proxy",{action:"eth_getStorageAt",address:e.address,position:e.position,tag:e.blockTag});case"sendTransaction":return this.fetch("proxy",{action:"eth_sendRawTransaction",hex:e.signedTransaction},!0).catch((t=>za("sendTransaction",t,e.signedTransaction)));case"getBlock":if(e.blockTag)return this.fetch("proxy",{action:"eth_getBlockByNumber",tag:e.blockTag,boolean:e.includeTransactions?"true":"false"});throw new Error("getBlock by blockHash not implemented");case"getTransaction":return this.fetch("proxy",{action:"eth_getTransactionByHash",txhash:e.transactionHash});case"getTransactionReceipt":return this.fetch("proxy",{action:"eth_getTransactionReceipt",txhash:e.transactionHash});case"call":{if("latest"!==e.blockTag)throw new Error("EtherscanProvider does not support blockTag for call");const t=Ua(e.transaction);t.module="proxy",t.action="eth_call";try{return yield this.fetch("proxy",t,!0)}catch(tl){return za("call",tl,e.transaction)}}case"estimateGas":{const t=Ua(e.transaction);t.module="proxy",t.action="eth_estimateGas";try{return yield this.fetch("proxy",t,!0)}catch(tl){return za("estimateGas",tl,e.transaction)}}case"getLogs":{const t={action:"getLogs"};if(e.filter.fromBlock&&(t.fromBlock=ja(e.filter.fromBlock)),e.filter.toBlock&&(t.toBlock=ja(e.filter.toBlock)),e.filter.address&&(t.address=e.filter.address),e.filter.topics&&e.filter.topics.length>0&&(e.filter.topics.length>1&&Da.throwError("unsupported topic count",v.errors.UNSUPPORTED_OPERATION,{topics:e.filter.topics}),1===e.filter.topics.length)){const r=e.filter.topics[0];"string"==typeof r&&66===r.length||Da.throwError("unsupported topic format",v.errors.UNSUPPORTED_OPERATION,{topic0:r}),t.topic0=r}const r=yield this.fetch("logs",t);let n={};for(let e=0;e{["contractAddress","to"].forEach((function(e){""==t[e]&&delete t[e]})),null==t.creates&&null!=t.contractAddress&&(t.creates=t.contractAddress);const e=this.formatter.transactionResponse(t);return t.timeStamp&&(e.timestamp=parseInt(t.timeStamp)),e}))}))}isCommunityResource(){return null==this.apiKey}}function qa(t){for(let e=(t=t.slice()).length-1;e>0;e--){const r=Math.floor(Math.random()*(e+1)),n=t[e];t[e]=t[r],t[r]=n}return t}var Ha=function(t,e,r,n){return new(r||(r=Promise))((function(i,o){function s(t){try{u(n.next(t))}catch(e){o(e)}}function a(t){try{u(n.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((n=n.apply(t,e||[])).next())}))};const Ja=new v(Ps);function Va(){return(new Date).getTime()}function Wa(t){let e=null;for(let r=0;re?null:(n+i)/2}function Ya(t){if(null===t)return"null";if("number"==typeof t||"boolean"==typeof t)return JSON.stringify(t);if("string"==typeof t)return t;if(W.isBigNumber(t))return t.toString();if(Array.isArray(t))return JSON.stringify(t.map((t=>Ya(t))));if("object"==typeof t){const e=Object.keys(t);return e.sort(),"{"+e.map((e=>{let r=t[e];return r="function"==typeof r?"[function]":Ya(r),JSON.stringify(e)+":"+r})).join(",")+"}"}throw new Error("unknown value type: "+typeof t)}let Xa=1;function Za(t){let e=null,r=null,n=new Promise((n=>{e=function(){r&&(clearTimeout(r),r=null),n()},r=setTimeout(e,t)}));return{cancel:e,getPromise:function(){return n},wait:t=>(n=n.then(t),n)}}const $a=[v.errors.CALL_EXCEPTION,v.errors.INSUFFICIENT_FUNDS,v.errors.NONCE_EXPIRED,v.errors.REPLACEMENT_UNDERPRICED,v.errors.UNPREDICTABLE_GAS_LIMIT],tu=["address","args","errorArgs","errorSignature","method","transaction"];function eu(t,e){const r={weight:t.weight};return Object.defineProperty(r,"provider",{get:()=>t.provider}),t.start&&(r.start=t.start),e&&(r.duration=e-t.start),t.done&&(t.error?r.error=t.error:r.result=t.result||null),r}function ru(t,e,r){let n=Ya;switch(e){case"getBlockNumber":return function(e){const r=e.map((t=>t.result));let n=Qa(e.map((t=>t.result)),2);if(null!=n)return n=Math.ceil(n),r.indexOf(n+1)>=0&&n++,n>=t._highestBlockNumber&&(t._highestBlockNumber=n),t._highestBlockNumber};case"getGasPrice":return function(t){const e=t.map((t=>t.result));return e.sort(),e[Math.floor(e.length/2)]};case"getEtherPrice":return function(t){return Qa(t.map((t=>t.result)))};case"getBalance":case"getTransactionCount":case"getCode":case"getStorageAt":case"call":case"estimateGas":case"getLogs":break;case"getTransaction":case"getTransactionReceipt":n=function(t){return null==t?null:((t=ot(t)).confirmations=-1,Ya(t))};break;case"getBlock":n=r.includeTransactions?function(t){return null==t?null:((t=ot(t)).transactions=t.transactions.map((t=>((t=ot(t)).confirmations=-1,t))),Ya(t))}:function(t){return null==t?null:Ya(t)};break;default:throw new Error("unknown method: "+e)}return function(t,e){return function(r){const n={};r.forEach((e=>{const r=t(e.result);n[r]||(n[r]={count:0,result:e.result}),n[r].count++}));const i=Object.keys(n);for(let t=0;t=e)return r.result}}}(n,t.quorum)}function nu(t,e){return Ha(this,void 0,void 0,(function*(){const r=t.provider;return null!=r.blockNumber&&r.blockNumber>=e||-1===e?r:ks((()=>new Promise(((n,i)=>{setTimeout((function(){return r.blockNumber>=e?n(r):t.cancelled?n(null):n(void 0)}),0)}))),{oncePoll:r})}))}function iu(t,e,r,n){return Ha(this,void 0,void 0,(function*(){let i=t.provider;switch(r){case"getBlockNumber":case"getGasPrice":return i[r]();case"getEtherPrice":if(i.getEtherPrice)return i.getEtherPrice();break;case"getBalance":case"getTransactionCount":case"getCode":return n.blockTag&&x(n.blockTag)&&(i=yield nu(t,e)),i[r](n.address,n.blockTag||"latest");case"getStorageAt":return n.blockTag&&x(n.blockTag)&&(i=yield nu(t,e)),i.getStorageAt(n.address,n.position,n.blockTag||"latest");case"getBlock":return n.blockTag&&x(n.blockTag)&&(i=yield nu(t,e)),i[n.includeTransactions?"getBlockWithTransactions":"getBlock"](n.blockTag||n.blockHash);case"call":case"estimateGas":return n.blockTag&&x(n.blockTag)&&(i=yield nu(t,e)),"call"===r&&n.blockTag?i[r](n.transaction,n.blockTag):i[r](n.transaction);case"getTransaction":case"getTransactionReceipt":return i[r](n.transactionHash);case"getLogs":{let r=n.filter;return(r.fromBlock&&x(r.fromBlock)||r.toBlock&&x(r.toBlock))&&(i=yield nu(t,e)),i.getLogs(r)}}return Ja.throwError("unknown method error",v.errors.UNKNOWN_ERROR,{method:r,params:n})}))}class ou extends ra{constructor(t,e){0===t.length&&Ja.throwArgumentError("missing providers","providers",t);const r=t.map(((t,e)=>{if(or.isProvider(t)){const e=Cs(t)?2e3:750,r=1;return Object.freeze({provider:t,weight:1,stallTimeout:e,priority:r})}const r=ot(t);null==r.priority&&(r.priority=1),null==r.stallTimeout&&(r.stallTimeout=Cs(t)?2e3:750),null==r.weight&&(r.weight=1);const n=r.weight;return(n%1||n>512||n<1)&&Ja.throwArgumentError("invalid weight; must be integer in [1, 512]",`providers[${e}].weight`,n),Object.freeze(r)})),n=r.reduce(((t,e)=>t+e.weight),0);null==e?e=n/2:e>n&&Ja.throwArgumentError("quorum will always fail; larger than total weight","quorum",e);let i=Wa(r.map((t=>t.provider.network)));null==i&&(i=new Promise(((t,e)=>{setTimeout((()=>{this.detectNetwork().then(t,e)}),0)}))),super(i),et(this,"providerConfigs",Object.freeze(r)),et(this,"quorum",e),this._highestBlockNumber=-1}detectNetwork(){return Ha(this,void 0,void 0,(function*(){return Wa(yield Promise.all(this.providerConfigs.map((t=>t.provider.getNetwork()))))}))}perform(t,e){return Ha(this,void 0,void 0,(function*(){if("sendTransaction"===t){const t=yield Promise.all(this.providerConfigs.map((t=>t.provider.sendTransaction(e.signedTransaction).then((t=>t.hash),(t=>t)))));for(let e=0;et.priority-e.priority));const i=this._highestBlockNumber;let o=0,s=!0;for(;;){const a=Va();let u=n.filter((t=>t.runner&&a-t.startt+e.weight),0);for(;u{r.staller=null})),r.runner=iu(r,i,t,e).then((n=>{r.done=!0,r.result=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:eu(r,Va()),request:{method:t,params:lt(e)},provider:this})}),(n=>{r.done=!0,r.error=n,this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:eu(r,Va()),request:{method:t,params:lt(e)},provider:this})})),this.listenerCount("debug")&&this.emit("debug",{action:"request",rid:s,backend:eu(r,null),request:{method:t,params:lt(e)},provider:this}),u+=r.weight}const l=[];n.forEach((t=>{!t.done&&t.runner&&(l.push(t.runner),t.staller&&l.push(t.staller.getPromise()))})),l.length&&(yield Promise.race(l));const c=n.filter((t=>t.done&&null==t.error));if(c.length>=this.quorum){const t=r(c);if(void 0!==t)return n.forEach((t=>{t.staller&&t.staller.cancel(),t.cancelled=!0})),t;s||(yield Za(100).getPromise()),s=!1}const h=n.reduce(((t,e)=>{if(!e.done||null==e.error)return t;const r=e.error.code;return $a.indexOf(r)>=0&&(t[r]||(t[r]={error:e.error,weight:0}),t[r].weight+=e.weight),t}),{});if(Object.keys(h).forEach((t=>{const e=h[t];if(e.weight{t.staller&&t.staller.cancel(),t.cancelled=!0}));const r=e.error,i={};tu.forEach((t=>{null!=r[t]&&(i[t]=r[t])})),Ja.throwError(r.reason||r.message,t,i)})),0===n.filter((t=>!t.done)).length)break}return n.forEach((t=>{t.staller&&t.staller.cancel(),t.cancelled=!0})),Ja.throwError("failed to meet quorum",v.errors.SERVER_ERROR,{method:t,params:e,results:n.map((t=>eu(t))),provider:this})}))}}const su=null,au=new v(Ps),uu="84842078b09946638c03157f83405213";class lu extends ba{constructor(t,e){const r=new cu(t,e),n=r.connection;n.password&&au.throwError("INFURA WebSocket project secrets unsupported",v.errors.UNSUPPORTED_OPERATION,{operation:"InfuraProvider.getWebSocketProvider()"});super(n.url.replace(/^http/i,"ws").replace("/v3/","/ws/v3/"),t),et(this,"apiKey",r.projectId),et(this,"projectId",r.projectId),et(this,"projectSecret",r.projectSecret)}isCommunityResource(){return this.projectId===uu}}class cu extends _a{static getWebSocketProvider(t,e){return new lu(t,e)}static getApiKey(t){const e={apiKey:uu,projectId:uu,projectSecret:null};return null==t||("string"==typeof t?e.projectId=t:null!=t.projectSecret?(au.assertArgument("string"==typeof t.projectId,"projectSecret requires a projectId","projectId",t.projectId),au.assertArgument("string"==typeof t.projectSecret,"invalid projectSecret","projectSecret","[REDACTED]"),e.projectId=t.projectId,e.projectSecret=t.projectSecret):t.projectId&&(e.projectId=t.projectId),e.apiKey=e.projectId),e}static getUrl(t,e){let r=null;switch(t?t.name:"unknown"){case"homestead":r="mainnet.infura.io";break;case"goerli":r="goerli.infura.io";break;case"sepolia":r="sepolia.infura.io";break;case"matic":r="polygon-mainnet.infura.io";break;case"maticmum":r="polygon-mumbai.infura.io";break;case"optimism":r="optimism-mainnet.infura.io";break;case"optimism-goerli":r="optimism-goerli.infura.io";break;case"arbitrum":r="arbitrum-mainnet.infura.io";break;case"arbitrum-goerli":r="arbitrum-goerli.infura.io";break;default:au.throwError("unsupported network",v.errors.INVALID_ARGUMENT,{argument:"network",value:t})}const n={allowGzip:!0,url:"https://"+r+"/v3/"+e.projectId,throttleCallback:(t,r)=>(e.projectId===uu&&Ts(),Promise.resolve(!0))};return null!=e.projectSecret&&(n.user="",n.password=e.projectSecret),n}isCommunityResource(){return this.projectId===uu}}class hu extends ma{send(t,e){const r={method:t,params:e,id:this._nextId++,jsonrpc:"2.0"};null==this._pendingBatch&&(this._pendingBatch=[]);const n={request:r,resolve:null,reject:null},i=new Promise(((t,e)=>{n.resolve=t,n.reject=e}));return this._pendingBatch.push(n),this._pendingBatchAggregator||(this._pendingBatchAggregator=setTimeout((()=>{const t=this._pendingBatch;this._pendingBatch=null,this._pendingBatchAggregator=null;const e=t.map((t=>t.request));return this.emit("debug",{action:"requestBatch",request:lt(e),provider:this}),Es(this.connection,JSON.stringify(e)).then((r=>{this.emit("debug",{action:"response",request:e,response:r,provider:this}),t.forEach(((t,e)=>{const n=r[e];if(n.error){const e=new Error(n.error.message);e.code=n.error.code,e.data=n.error.data,t.reject(e)}else t.resolve(n.result)}))}),(r=>{this.emit("debug",{action:"response",error:r,request:e,provider:this}),t.forEach((t=>{t.reject(r)}))}))}),10)),i}}const fu=new v(Ps);class du extends _a{static getApiKey(t){return t&&"string"!=typeof t&&fu.throwArgumentError("invalid apiKey","apiKey",t),t||"ETHERS_JS_SHARED"}static getUrl(t,e){fu.warn("NodeSmith will be discontinued on 2019-12-20; please migrate to another platform.");let r=null;switch(t.name){case"homestead":r="https://ethereum.api.nodesmith.io/v1/mainnet/jsonrpc";break;case"ropsten":r="https://ethereum.api.nodesmith.io/v1/ropsten/jsonrpc";break;case"rinkeby":r="https://ethereum.api.nodesmith.io/v1/rinkeby/jsonrpc";break;case"goerli":r="https://ethereum.api.nodesmith.io/v1/goerli/jsonrpc";break;case"kovan":r="https://ethereum.api.nodesmith.io/v1/kovan/jsonrpc";break;default:fu.throwArgumentError("unsupported network","network",arguments[0])}return r+"?apiKey="+e}}const pu=new v(Ps),mu="62e1ad51b37b8e00394bda3b";class gu extends _a{static getApiKey(t){const e={applicationId:null,loadBalancer:!0,applicationSecretKey:null};return null==t?e.applicationId=mu:"string"==typeof t?e.applicationId=t:null!=t.applicationSecretKey?(e.applicationId=t.applicationId,e.applicationSecretKey=t.applicationSecretKey):t.applicationId?e.applicationId=t.applicationId:pu.throwArgumentError("unsupported PocketProvider apiKey","apiKey",t),e}static getUrl(t,e){let r=null;switch(t?t.name:"unknown"){case"goerli":r="eth-goerli.gateway.pokt.network";break;case"homestead":r="eth-mainnet.gateway.pokt.network";break;case"kovan":r="poa-kovan.gateway.pokt.network";break;case"matic":r="poly-mainnet.gateway.pokt.network";break;case"maticmum":r="polygon-mumbai-rpc.gateway.pokt.network";break;case"rinkeby":r="eth-rinkeby.gateway.pokt.network";break;case"ropsten":r="eth-ropsten.gateway.pokt.network";break;default:pu.throwError("unsupported network",v.errors.INVALID_ARGUMENT,{argument:"network",value:t})}const n={headers:{},url:`https://${r}/v1/lb/${e.applicationId}`};return null!=e.applicationSecretKey&&(n.user="",n.password=e.applicationSecretKey),n}isCommunityResource(){return this.applicationId===mu}}const yu=new v(Ps);let vu=1;function wu(t,e){const r="Web3LegacyFetcher";return function(t,n){const i={method:t,params:n,id:vu++,jsonrpc:"2.0"};return new Promise(((t,n)=>{this.emit("debug",{action:"request",fetcher:r,request:lt(i),provider:this}),e(i,((e,o)=>{if(e)return this.emit("debug",{action:"response",fetcher:r,error:e,request:i,provider:this}),n(e);if(this.emit("debug",{action:"response",fetcher:r,request:i,response:o,provider:this}),o.error){const t=new Error(o.error.message);return t.code=o.error.code,t.data=o.error.data,n(t)}t(o.result)}))}))}}class bu extends ma{constructor(t,e){null==t&&yu.throwArgumentError("missing provider","provider",t);let r=null,n=null,i=null;"function"==typeof t?(r="unknown:",n=t):(r=t.host||t.path||"",!r&&t.isMetaMask&&(r="metamask"),i=t,t.request?(""===r&&(r="eip-1193:"),n=function(t){return function(e,r){null==r&&(r=[]);const n={method:e,params:r};return this.emit("debug",{action:"request",fetcher:"Eip1193Fetcher",request:lt(n),provider:this}),t.request(n).then((t=>(this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:n,response:t,provider:this}),t)),(t=>{throw this.emit("debug",{action:"response",fetcher:"Eip1193Fetcher",request:n,error:t,provider:this}),t}))}}(t)):t.sendAsync?n=wu(0,t.sendAsync.bind(t)):t.send?n=wu(0,t.send.bind(t)):yu.throwArgumentError("unsupported provider","provider",t),r||(r="unknown:")),super(r,e),et(this,"jsonRpcFetchFunc",n),et(this,"provider",i)}send(t,e){return this.jsonRpcFetchFunc(t,e)}}const Au=new v(Ps);function Eu(t,e){if(null==t&&(t="homestead"),"string"==typeof t){const e=t.match(/^(ws|http)s?:/i);if(e)switch(e[1].toLowerCase()){case"http":case"https":return new ma(t);case"ws":case"wss":return new ba(t);default:Au.throwArgumentError("unsupported URL scheme","network",t)}}const r=Uo(t);return r&&r._defaultProvider||Au.throwError("unsupported getDefaultProvider network",v.errors.NETWORK_ERROR,{operation:"getDefaultProvider",network:t}),r._defaultProvider({FallbackProvider:ou,AlchemyProvider:Ma,AnkrProvider:Ta,CloudflareProvider:Oa,EtherscanProvider:Ka,InfuraProvider:cu,JsonRpcProvider:ma,NodesmithProvider:du,PocketProvider:gu,Web3Provider:bu,IpcProvider:su},e)}const ku=new RegExp("^bytes([0-9]+)$"),_u=new RegExp("^(u?int)([0-9]*)$"),Su=new RegExp("^(.*)\\[([0-9]*)\\]$"),Pu="0000000000000000000000000000000000000000000000000000000000000000",Nu=new v("solidity/5.7.0");function Mu(t,e,r){switch(t){case"address":return r?M(e,32):S(e);case"string":return Ht(e);case"bytes":return S(e);case"bool":return e=e?"0x01":"0x00",r?M(e,32):S(e)}let n=t.match(_u);if(n){let i=parseInt(n[2]||"256");return(n[2]&&String(i)!==n[2]||i%8!=0||0===i||i>256)&&Nu.throwArgumentError("invalid number type","type",t),r&&(i=256),M(e=W.from(e).toTwos(i),i/8)}if(n=t.match(ku),n){const i=parseInt(n[1]);return(String(i)!==n[1]||0===i||i>32)&&Nu.throwArgumentError("invalid bytes type","type",t),S(e).byteLength!==i&&Nu.throwArgumentError(`invalid value for ${t}`,"value",e),r?S((e+Pu).substring(0,66)):e}if(n=t.match(Su),n&&Array.isArray(e)){const r=n[1];parseInt(n[2]||String(e.length))!=e.length&&Nu.throwArgumentError(`invalid array length for ${t}`,"value",e);const i=[];return e.forEach((function(t){i.push(Mu(r,t,!0))})),P(i)}return Nu.throwArgumentError("invalid type","type",t)}function xu(t,e){t.length!=e.length&&Nu.throwArgumentError("wrong number of values; expected ${ types.length }","values",e);const r=[];return t.forEach((function(t,n){r.push(Mu(t,e[n]))})),I(P(r))}function Cu(t,e){return wt(xu(t,e))}function Iu(t,e){return bi(xu(t,e))}function Tu(t,e){e||(e=function(t){return[parseInt(t,16)]});let r=0,n={};return t.split(",").forEach((t=>{let i=t.split(":");r+=parseInt(i[0],16),n[r]=e(i[1])})),n}function Ru(t){let e=0;return t.split(",").map((t=>{let r=t.split("-");1===r.length?r[1]="0":""===r[1]&&(r[1]="1");let n=e+parseInt(r[0],16);return e=parseInt(r[1],16),{l:n,h:e}}))}function Bu(t,e){let r=0;for(let n=0;n=r&&t<=r+i.h&&(t-r)%(i.d||1)==0){if(i.e&&-1!==i.e.indexOf(t-r))continue;return i}}return null}const Ou=Ru("221,13-1b,5f-,40-10,51-f,11-3,3-3,2-2,2-4,8,2,15,2d,28-8,88,48,27-,3-5,11-20,27-,8,28,3-5,12,18,b-a,1c-4,6-16,2-d,2-2,2,1b-4,17-9,8f-,10,f,1f-2,1c-34,33-14e,4,36-,13-,6-2,1a-f,4,9-,3-,17,8,2-2,5-,2,8-,3-,4-8,2-3,3,6-,16-6,2-,7-3,3-,17,8,3,3,3-,2,6-3,3-,4-a,5,2-6,10-b,4,8,2,4,17,8,3,6-,b,4,4-,2-e,2-4,b-10,4,9-,3-,17,8,3-,5-,9-2,3-,4-7,3-3,3,4-3,c-10,3,7-2,4,5-2,3,2,3-2,3-2,4-2,9,4-3,6-2,4,5-8,2-e,d-d,4,9,4,18,b,6-3,8,4,5-6,3-8,3-3,b-11,3,9,4,18,b,6-3,8,4,5-6,3-6,2,3-3,b-11,3,9,4,18,11-3,7-,4,5-8,2-7,3-3,b-11,3,13-2,19,a,2-,8-2,2-3,7,2,9-11,4-b,3b-3,1e-24,3,2-,3,2-,2-5,5,8,4,2,2-,3,e,4-,6,2,7-,b-,3-21,49,23-5,1c-3,9,25,10-,2-2f,23,6,3,8-2,5-5,1b-45,27-9,2a-,2-3,5b-4,45-4,53-5,8,40,2,5-,8,2,5-,28,2,5-,20,2,5-,8,2,5-,8,8,18,20,2,5-,8,28,14-5,1d-22,56-b,277-8,1e-2,52-e,e,8-a,18-8,15-b,e,4,3-b,5e-2,b-15,10,b-5,59-7,2b-555,9d-3,5b-5,17-,7-,27-,7-,9,2,2,2,20-,36,10,f-,7,14-,4,a,54-3,2-6,6-5,9-,1c-10,13-1d,1c-14,3c-,10-6,32-b,240-30,28-18,c-14,a0,115-,3,66-,b-76,5,5-,1d,24,2,5-2,2,8-,35-2,19,f-10,1d-3,311-37f,1b,5a-b,d7-19,d-3,41,57-,68-4,29-3,5f,29-37,2e-2,25-c,2c-2,4e-3,30,78-3,64-,20,19b7-49,51a7-59,48e-2,38-738,2ba5-5b,222f-,3c-94,8-b,6-4,1b,6,2,3,3,6d-20,16e-f,41-,37-7,2e-2,11-f,5-b,18-,b,14,5-3,6,88-,2,bf-2,7-,7-,7-,4-2,8,8-9,8-2ff,20,5-b,1c-b4,27-,27-cbb1,f7-9,28-2,b5-221,56,48,3-,2-,3-,5,d,2,5,3,42,5-,9,8,1d,5,6,2-2,8,153-3,123-3,33-27fd,a6da-5128,21f-5df,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3-fffd,3,2-1d,61-ff7d"),Fu="ad,34f,1806,180b,180c,180d,200b,200c,200d,2060,feff".split(",").map((t=>parseInt(t,16))),Du=[{h:25,s:32,l:65},{h:30,s:32,e:[23],l:127},{h:54,s:1,e:[48],l:64,d:2},{h:14,s:1,l:57,d:2},{h:44,s:1,l:17,d:2},{h:10,s:1,e:[2,6,8],l:61,d:2},{h:16,s:1,l:68,d:2},{h:84,s:1,e:[18,24,66],l:19,d:2},{h:26,s:32,e:[17],l:435},{h:22,s:1,l:71,d:2},{h:15,s:80,l:40},{h:31,s:32,l:16},{h:32,s:1,l:80,d:2},{h:52,s:1,l:42,d:2},{h:12,s:1,l:55,d:2},{h:40,s:1,e:[38],l:15,d:2},{h:14,s:1,l:48,d:2},{h:37,s:48,l:49},{h:148,s:1,l:6351,d:2},{h:88,s:1,l:160,d:2},{h:15,s:16,l:704},{h:25,s:26,l:854},{h:25,s:32,l:55915},{h:37,s:40,l:1247},{h:25,s:-119711,l:53248},{h:25,s:-119763,l:52},{h:25,s:-119815,l:52},{h:25,s:-119867,e:[1,4,5,7,8,11,12,17],l:52},{h:25,s:-119919,l:52},{h:24,s:-119971,e:[2,7,8,17],l:52},{h:24,s:-120023,e:[2,7,13,15,16,17],l:52},{h:25,s:-120075,l:52},{h:25,s:-120127,l:52},{h:25,s:-120179,l:52},{h:25,s:-120231,l:52},{h:25,s:-120283,l:52},{h:25,s:-120335,l:52},{h:24,s:-119543,e:[17],l:56},{h:24,s:-119601,e:[17],l:58},{h:24,s:-119659,e:[17],l:58},{h:24,s:-119717,e:[17],l:58},{h:24,s:-119775,e:[17],l:58}],Uu=Tu("b5:3bc,c3:ff,7:73,2:253,5:254,3:256,1:257,5:259,1:25b,3:260,1:263,2:269,1:268,5:26f,1:272,2:275,7:280,3:283,5:288,3:28a,1:28b,5:292,3f:195,1:1bf,29:19e,125:3b9,8b:3b2,1:3b8,1:3c5,3:3c6,1:3c0,1a:3ba,1:3c1,1:3c3,2:3b8,1:3b5,1bc9:3b9,1c:1f76,1:1f77,f:1f7a,1:1f7b,d:1f78,1:1f79,1:1f7c,1:1f7d,107:63,5:25b,4:68,1:68,1:68,3:69,1:69,1:6c,3:6e,4:70,1:71,1:72,1:72,1:72,7:7a,2:3c9,2:7a,2:6b,1:e5,1:62,1:63,3:65,1:66,2:6d,b:3b3,1:3c0,6:64,1b574:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3,20:3b8,1a:3c3"),Lu=Tu("179:1,2:1,2:1,5:1,2:1,a:4f,a:1,8:1,2:1,2:1,3:1,5:1,3:1,4:1,2:1,3:1,4:1,8:2,1:1,2:2,1:1,2:2,27:2,195:26,2:25,1:25,1:25,2:40,2:3f,1:3f,33:1,11:-6,1:-9,1ac7:-3a,6d:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,b:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,c:-8,2:-8,2:-8,2:-8,9:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,1:-8,49:-8,1:-8,1:-4a,1:-4a,d:-56,1:-56,1:-56,1:-56,d:-8,1:-8,f:-8,1:-8,3:-7"),Gu=Tu("df:00730073,51:00690307,19:02BC006E,a7:006A030C,18a:002003B9,16:03B903080301,20:03C503080301,1d7:05650582,190f:00680331,1:00740308,1:0077030A,1:0079030A,1:006102BE,b6:03C50313,2:03C503130300,2:03C503130301,2:03C503130342,2a:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F0003B9,1:1F0103B9,1:1F0203B9,1:1F0303B9,1:1F0403B9,1:1F0503B9,1:1F0603B9,1:1F0703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F2003B9,1:1F2103B9,1:1F2203B9,1:1F2303B9,1:1F2403B9,1:1F2503B9,1:1F2603B9,1:1F2703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,1:1F6003B9,1:1F6103B9,1:1F6203B9,1:1F6303B9,1:1F6403B9,1:1F6503B9,1:1F6603B9,1:1F6703B9,3:1F7003B9,1:03B103B9,1:03AC03B9,2:03B10342,1:03B1034203B9,5:03B103B9,6:1F7403B9,1:03B703B9,1:03AE03B9,2:03B70342,1:03B7034203B9,5:03B703B9,6:03B903080300,1:03B903080301,3:03B90342,1:03B903080342,b:03C503080300,1:03C503080301,1:03C10313,2:03C50342,1:03C503080342,b:1F7C03B9,1:03C903B9,1:03CE03B9,2:03C90342,1:03C9034203B9,5:03C903B9,ac:00720073,5b:00B00063,6:00B00066,d:006E006F,a:0073006D,1:00740065006C,1:0074006D,124f:006800700061,2:00610075,2:006F0076,b:00700061,1:006E0061,1:03BC0061,1:006D0061,1:006B0061,1:006B0062,1:006D0062,1:00670062,3:00700066,1:006E0066,1:03BC0066,4:0068007A,1:006B0068007A,1:006D0068007A,1:00670068007A,1:00740068007A,15:00700061,1:006B00700061,1:006D00700061,1:006700700061,8:00700076,1:006E0076,1:03BC0076,1:006D0076,1:006B0076,1:006D0076,1:00700077,1:006E0077,1:03BC0077,1:006D0077,1:006B0077,1:006D0077,1:006B03C9,1:006D03C9,2:00620071,3:00632215006B0067,1:0063006F002E,1:00640062,1:00670079,2:00680070,2:006B006B,1:006B006D,9:00700068,2:00700070006D,1:00700072,2:00730076,1:00770062,c723:00660066,1:00660069,1:0066006C,1:006600660069,1:00660066006C,1:00730074,1:00730074,d:05740576,1:05740565,1:0574056B,1:057E0576,1:0574056D",(function(t){if(t.length%4!=0)throw new Error("bad data");let e=[];for(let r=0;r{if(Fu.indexOf(t)>=0)return[];if(t>=65024&&t<=65039)return[];let e=function(t){let e=Bu(t,Du);if(e)return[t+e.s];let r=Uu[t];if(r)return r;let n=Lu[t];return n?[t+n[0]]:Gu[t]||null}(t);return e||[t]})),e=r.reduce(((t,e)=>(e.forEach((e=>{t.push(e)})),t)),[]),e=Yt(Wt(e),Gt.NFKC),e.forEach((t=>{if(Bu(t,ju))throw new Error("STRINGPREP_CONTAINS_PROHIBITED")})),e.forEach((t=>{if(Bu(t,Ou))throw new Error("STRINGPREP_CONTAINS_UNASSIGNED")}));let n=Wt(e);if("-"===n.substring(0,1)||"--"===n.substring(2,4)||"-"===n.substring(n.length-1))throw new Error("invalid hyphen");return n}function Ku(t){const e=Ht(t);if(e.length>31)throw new Error("bytes32 string must be less than 32 bytes");return I(P([e,xo]).slice(0,32))}function qu(t){const e=S(t);if(32!==e.length)throw new Error("invalid bytes32 - not 32 bytes long");if(0!==e[31])throw new Error("invalid bytes32 string - no null terminator");let r=31;for(;0===e[r-1];)r--;return Qt(e.slice(0,r))}const Hu=new v("units/5.7.0"),Ju=["wei","kwei","mwei","gwei","szabo","finney","ether"];function Vu(t){const e=String(t).split(".");(e.length>2||!e[0].match(/^-?[0-9]*$/)||e[1]&&!e[1].match(/^[0-9]*$/)||"."===t||"-."===t)&&Hu.throwArgumentError("invalid value","value",t);let r=e[0],n="";for("-"===r.substring(0,1)&&(n="-",r=r.substring(1));"0"===r.substring(0,1);)r=r.substring(1);""===r&&(r="0");let i="";for(2===e.length&&(i="."+(e[1]||"0"));i.length>2&&"0"===i[i.length-1];)i=i.substring(0,i.length-1);const o=[];for(;r.length;){if(r.length<=3){o.unshift(r);break}{const t=r.length-3;o.unshift(r.substring(t)),r=r.substring(0,t)}}return n+o.join(",")+i}function Wu(t,e){if("string"==typeof e){const t=Ju.indexOf(e);-1!==t&&(e=3*t)}return qn(t,null!=e?e:18)}function Qu(t,e){if("string"!=typeof t&&Hu.throwArgumentError("value must be a string","value",t),"string"==typeof e){const t=Ju.indexOf(e);-1!==t&&(e=3*t)}return Hn(t,null!=e?e:18)}function Yu(t){return Wu(t,18)}function Xu(t){return Qu(t,18)}const Zu="ethers/5.7.2",$u=new v(Zu);try{const t=window;null==t._ethers&&(t._ethers=u)}catch(tl){}},33715:(t,e,r)=>{var n=e;n.utils=r(26436),n.common=r(95772),n.sha=r(89041),n.ripemd=r(12949),n.hmac=r(52344),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},95772:(t,e,r)=>{"use strict";var n=r(26436),i=r(79746);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}e.BlockHash=o,o.prototype.update=function(t,e){if(t=n.toArray(t,e),this.pending?this.pending=this.pending.concat(t):this.pending=t,this.pendingTotal+=t.length,this.pending.length>=this._delta8){var r=(t=this.pending).length%this._delta8;this.pending=t.slice(t.length-r,t.length),0===this.pending.length&&(this.pending=null),t=n.join32(t,0,t.length-r,this.endian);for(var i=0;i>>24&255,n[i++]=t>>>16&255,n[i++]=t>>>8&255,n[i++]=255&t}else for(n[i++]=255&t,n[i++]=t>>>8&255,n[i++]=t>>>16&255,n[i++]=t>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o{"use strict";var n=r(26436),i=r(79746);function o(t,e,r){if(!(this instanceof o))return new o(t,e,r);this.Hash=t,this.blockSize=t.blockSize/8,this.outSize=t.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(e,r))}t.exports=o,o.prototype._init=function(t){t.length>this.blockSize&&(t=(new this.Hash).update(t).digest()),i(t.length<=this.blockSize);for(var e=t.length;e{"use strict";var n=r(26436),i=r(95772),o=n.rotl32,s=n.sum32,a=n.sum32_3,u=n.sum32_4,l=i.BlockHash;function c(){if(!(this instanceof c))return new c;l.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function h(t,e,r,n){return t<=15?e^r^n:t<=31?e&r|~e&n:t<=47?(e|~r)^n:t<=63?e&n|r&~n:e^(r|~n)}function f(t){return t<=15?0:t<=31?1518500249:t<=47?1859775393:t<=63?2400959708:2840853838}function d(t){return t<=15?1352829926:t<=31?1548603684:t<=47?1836072691:t<=63?2053994217:0}n.inherits(c,l),e.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(t,e){for(var r=this.h[0],n=this.h[1],i=this.h[2],l=this.h[3],c=this.h[4],v=r,w=n,b=i,A=l,E=c,k=0;k<80;k++){var _=s(o(u(r,h(k,n,i,l),t[p[k]+e],f(k)),g[k]),c);r=c,c=l,l=o(i,10),i=n,n=_,_=s(o(u(v,h(79-k,w,b,A),t[m[k]+e],d(k)),y[k]),E),v=E,E=A,A=o(b,10),b=w,w=_}_=a(this.h[1],i,A),this.h[1]=a(this.h[2],l,E),this.h[2]=a(this.h[3],c,v),this.h[3]=a(this.h[4],r,w),this.h[4]=a(this.h[0],n,b),this.h[0]=_},c.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],y=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},89041:(t,e,r)=>{"use strict";e.sha1=r(84761),e.sha224=r(10799),e.sha256=r(89344),e.sha384=r(80772),e.sha512=r(45900)},84761:(t,e,r)=>{"use strict";var n=r(26436),i=r(95772),o=r(37038),s=n.rotl32,a=n.sum32,u=n.sum32_5,l=o.ft_1,c=i.BlockHash,h=[1518500249,1859775393,2400959708,3395469782];function f(){if(!(this instanceof f))return new f;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(f,c),t.exports=f,f.blockSize=512,f.outSize=160,f.hmacStrength=80,f.padLength=64,f.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n{"use strict";var n=r(26436),i=r(89344);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},89344:(t,e,r)=>{"use strict";var n=r(26436),i=r(95772),o=r(37038),s=r(79746),a=n.sum32,u=n.sum32_4,l=n.sum32_5,c=o.ch32,h=o.maj32,f=o.s0_256,d=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,y=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=y,this.W=new Array(64)}n.inherits(v,g),t.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(t,e){for(var r=this.W,n=0;n<16;n++)r[n]=t[e+n];for(;n{"use strict";var n=r(26436),i=r(45900);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),t.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(t){return"hex"===t?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},45900:(t,e,r)=>{"use strict";var n=r(26436),i=r(95772),o=r(79746),s=n.rotr64_hi,a=n.rotr64_lo,u=n.shr64_hi,l=n.shr64_lo,c=n.sum64,h=n.sum64_hi,f=n.sum64_lo,d=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,g=n.sum64_5_lo,y=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function w(){if(!(this instanceof w))return new w;y.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}function b(t,e,r,n,i){var o=t&r^~t&i;return o<0&&(o+=4294967296),o}function A(t,e,r,n,i,o){var s=e&n^~e&o;return s<0&&(s+=4294967296),s}function E(t,e,r,n,i){var o=t&r^t&i^r&i;return o<0&&(o+=4294967296),o}function k(t,e,r,n,i,o){var s=e&n^e&o^n&o;return s<0&&(s+=4294967296),s}function _(t,e){var r=s(t,e,28)^s(e,t,2)^s(e,t,7);return r<0&&(r+=4294967296),r}function S(t,e){var r=a(t,e,28)^a(e,t,2)^a(e,t,7);return r<0&&(r+=4294967296),r}function P(t,e){var r=s(t,e,14)^s(t,e,18)^s(e,t,9);return r<0&&(r+=4294967296),r}function N(t,e){var r=a(t,e,14)^a(t,e,18)^a(e,t,9);return r<0&&(r+=4294967296),r}function M(t,e){var r=s(t,e,1)^s(t,e,8)^u(t,e,7);return r<0&&(r+=4294967296),r}function x(t,e){var r=a(t,e,1)^a(t,e,8)^l(t,e,7);return r<0&&(r+=4294967296),r}function C(t,e){var r=s(t,e,19)^s(e,t,29)^u(t,e,6);return r<0&&(r+=4294967296),r}function I(t,e){var r=a(t,e,19)^a(e,t,29)^l(t,e,6);return r<0&&(r+=4294967296),r}n.inherits(w,y),t.exports=w,w.blockSize=1024,w.outSize=512,w.hmacStrength=192,w.padLength=128,w.prototype._prepareBlock=function(t,e){for(var r=this.W,n=0;n<32;n++)r[n]=t[e+n];for(;n{"use strict";var n=r(26436).rotr32;function i(t,e,r){return t&e^~t&r}function o(t,e,r){return t&e^t&r^e&r}function s(t,e,r){return t^e^r}e.ft_1=function(t,e,r,n){return 0===t?i(e,r,n):1===t||3===t?s(e,r,n):2===t?o(e,r,n):void 0},e.ch32=i,e.maj32=o,e.p32=s,e.s0_256=function(t){return n(t,2)^n(t,13)^n(t,22)},e.s1_256=function(t){return n(t,6)^n(t,11)^n(t,25)},e.g0_256=function(t){return n(t,7)^n(t,18)^t>>>3},e.g1_256=function(t){return n(t,17)^n(t,19)^t>>>10}},26436:(t,e,r)=>{"use strict";var n=r(79746),i=r(35717);function o(t,e){return 55296==(64512&t.charCodeAt(e))&&(!(e<0||e+1>=t.length)&&56320==(64512&t.charCodeAt(e+1)))}function s(t){return(t>>>24|t>>>8&65280|t<<8&16711680|(255&t)<<24)>>>0}function a(t){return 1===t.length?"0"+t:t}function u(t){return 7===t.length?"0"+t:6===t.length?"00"+t:5===t.length?"000"+t:4===t.length?"0000"+t:3===t.length?"00000"+t:2===t.length?"000000"+t:1===t.length?"0000000"+t:t}e.inherits=i,e.toArray=function(t,e){if(Array.isArray(t))return t.slice();if(!t)return[];var r=[];if("string"==typeof t)if(e){if("hex"===e)for((t=t.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(t="0"+t),i=0;i>6|192,r[n++]=63&s|128):o(t,i)?(s=65536+((1023&s)<<10)+(1023&t.charCodeAt(++i)),r[n++]=s>>18|240,r[n++]=s>>12&63|128,r[n++]=s>>6&63|128,r[n++]=63&s|128):(r[n++]=s>>12|224,r[n++]=s>>6&63|128,r[n++]=63&s|128)}else for(i=0;i>>0}return s},e.split32=function(t,e){for(var r=new Array(4*t.length),n=0,i=0;n>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},e.rotr32=function(t,e){return t>>>e|t<<32-e},e.rotl32=function(t,e){return t<>>32-e},e.sum32=function(t,e){return t+e>>>0},e.sum32_3=function(t,e,r){return t+e+r>>>0},e.sum32_4=function(t,e,r,n){return t+e+r+n>>>0},e.sum32_5=function(t,e,r,n,i){return t+e+r+n+i>>>0},e.sum64=function(t,e,r,n){var i=t[e],o=n+t[e+1]>>>0,s=(o>>0,t[e+1]=o},e.sum64_hi=function(t,e,r,n){return(e+n>>>0>>0},e.sum64_lo=function(t,e,r,n){return e+n>>>0},e.sum64_4_hi=function(t,e,r,n,i,o,s,a){var u=0,l=e;return u+=(l=l+n>>>0)>>0)>>0)>>0},e.sum64_4_lo=function(t,e,r,n,i,o,s,a){return e+n+o+a>>>0},e.sum64_5_hi=function(t,e,r,n,i,o,s,a,u,l){var c=0,h=e;return c+=(h=h+n>>>0)>>0)>>0)>>0)>>0},e.sum64_5_lo=function(t,e,r,n,i,o,s,a,u,l){return e+n+o+a+l>>>0},e.rotr64_hi=function(t,e,r){return(e<<32-r|t>>>r)>>>0},e.rotr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0},e.shr64_hi=function(t,e,r){return t>>>r},e.shr64_lo=function(t,e,r){return(t<<32-r|e>>>r)>>>0}},35717:t=>{"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},91094:(t,e,r)=>{var n;!function(){"use strict";var i="input is invalid type",o="object"==typeof window,s=o?window:{};s.JS_SHA3_NO_WINDOW&&(o=!1);var a=!o&&"object"==typeof self;!s.JS_SHA3_NO_NODE_JS&&"object"==typeof process&&process.versions&&process.versions.node?s=r.g:a&&(s=self);var u=!s.JS_SHA3_NO_COMMON_JS&&t.exports,l=r.amdO,c=!s.JS_SHA3_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,h="0123456789abcdef".split(""),f=[4,1024,262144,67108864],d=[0,8,16,24],p=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],m=[224,256,384,512],g=[128,256],y=["hex","buffer","arrayBuffer","array","digest"],v={128:168,256:136};!s.JS_SHA3_NO_NODE_JS&&Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!c||!s.JS_SHA3_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(t){return"object"==typeof t&&t.buffer&&t.buffer.constructor===ArrayBuffer});for(var w=function(t,e,r){return function(n){return new B(t,e,t).update(n)[r]()}},b=function(t,e,r){return function(n,i){return new B(t,e,i).update(n)[r]()}},A=function(t,e,r){return function(e,n,i,o){return P["cshake"+t].update(e,n,i,o)[r]()}},E=function(t,e,r){return function(e,n,i,o){return P["kmac"+t].update(e,n,i,o)[r]()}},k=function(t,e,r,n){for(var i=0;i>5,this.byteCount=this.blockCount<<2,this.outputBlocks=r>>5,this.extraBytes=(31&r)>>3;for(var n=0;n<50;++n)this.s[n]=0}function O(t,e,r){B.call(this,t,e,r)}B.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");var e,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(i);if(null===t)throw new Error(i);if(c&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||c&&ArrayBuffer.isView(t)))throw new Error(i);e=!0}for(var n,o,s=this.blocks,a=this.byteCount,u=t.length,l=this.blockCount,h=0,f=this.s;h>2]|=t[h]<>2]|=o<>2]|=(192|o>>6)<>2]|=(128|63&o)<=57344?(s[n>>2]|=(224|o>>12)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<>2]|=(240|o>>18)<>2]|=(128|o>>12&63)<>2]|=(128|o>>6&63)<>2]|=(128|63&o)<=a){for(this.start=n-a,this.block=s[l],n=0;n>=8);r>0;)i.unshift(r),r=255&(t>>=8),++n;return e?i.push(n):i.unshift(n),this.update(i),i.length},B.prototype.encodeString=function(t){var e,r=typeof t;if("string"!==r){if("object"!==r)throw new Error(i);if(null===t)throw new Error(i);if(c&&t.constructor===ArrayBuffer)t=new Uint8Array(t);else if(!(Array.isArray(t)||c&&ArrayBuffer.isView(t)))throw new Error(i);e=!0}var n=0,o=t.length;if(e)n=o;else for(var s=0;s=57344?n+=3:(a=65536+((1023&a)<<10|1023&t.charCodeAt(++s)),n+=4)}return n+=this.encode(8*n),this.update(t),n},B.prototype.bytepad=function(t,e){for(var r=this.encode(e),n=0;n>2]|=this.padding[3&e],this.lastByteIndex===this.byteCount)for(t[0]=t[r],e=1;e>4&15]+h[15&t]+h[t>>12&15]+h[t>>8&15]+h[t>>20&15]+h[t>>16&15]+h[t>>28&15]+h[t>>24&15];s%e==0&&(F(r),o=0)}return i&&(t=r[o],a+=h[t>>4&15]+h[15&t],i>1&&(a+=h[t>>12&15]+h[t>>8&15]),i>2&&(a+=h[t>>20&15]+h[t>>16&15])),a},B.prototype.arrayBuffer=function(){this.finalize();var t,e=this.blockCount,r=this.s,n=this.outputBlocks,i=this.extraBytes,o=0,s=0,a=this.outputBits>>3;t=i?new ArrayBuffer(n+1<<2):new ArrayBuffer(a);for(var u=new Uint32Array(t);s>8&255,u[t+2]=e>>16&255,u[t+3]=e>>24&255;a%r==0&&F(n)}return o&&(t=a<<2,e=n[s],u[t]=255&e,o>1&&(u[t+1]=e>>8&255),o>2&&(u[t+2]=e>>16&255)),u},O.prototype=new B,O.prototype.finalize=function(){return this.encode(this.outputBits,!0),B.prototype.finalize.call(this)};var F=function(t){var e,r,n,i,o,s,a,u,l,c,h,f,d,m,g,y,v,w,b,A,E,k,_,S,P,N,M,x,C,I,T,R,B,O,F,D,U,L,G,j,z,K,q,H,J,V,W,Q,Y,X,Z,$,tt,et,rt,nt,it,ot,st,at,ut,lt,ct;for(n=0;n<48;n+=2)i=t[0]^t[10]^t[20]^t[30]^t[40],o=t[1]^t[11]^t[21]^t[31]^t[41],s=t[2]^t[12]^t[22]^t[32]^t[42],a=t[3]^t[13]^t[23]^t[33]^t[43],u=t[4]^t[14]^t[24]^t[34]^t[44],l=t[5]^t[15]^t[25]^t[35]^t[45],c=t[6]^t[16]^t[26]^t[36]^t[46],h=t[7]^t[17]^t[27]^t[37]^t[47],e=(f=t[8]^t[18]^t[28]^t[38]^t[48])^(s<<1|a>>>31),r=(d=t[9]^t[19]^t[29]^t[39]^t[49])^(a<<1|s>>>31),t[0]^=e,t[1]^=r,t[10]^=e,t[11]^=r,t[20]^=e,t[21]^=r,t[30]^=e,t[31]^=r,t[40]^=e,t[41]^=r,e=i^(u<<1|l>>>31),r=o^(l<<1|u>>>31),t[2]^=e,t[3]^=r,t[12]^=e,t[13]^=r,t[22]^=e,t[23]^=r,t[32]^=e,t[33]^=r,t[42]^=e,t[43]^=r,e=s^(c<<1|h>>>31),r=a^(h<<1|c>>>31),t[4]^=e,t[5]^=r,t[14]^=e,t[15]^=r,t[24]^=e,t[25]^=r,t[34]^=e,t[35]^=r,t[44]^=e,t[45]^=r,e=u^(f<<1|d>>>31),r=l^(d<<1|f>>>31),t[6]^=e,t[7]^=r,t[16]^=e,t[17]^=r,t[26]^=e,t[27]^=r,t[36]^=e,t[37]^=r,t[46]^=e,t[47]^=r,e=c^(i<<1|o>>>31),r=h^(o<<1|i>>>31),t[8]^=e,t[9]^=r,t[18]^=e,t[19]^=r,t[28]^=e,t[29]^=r,t[38]^=e,t[39]^=r,t[48]^=e,t[49]^=r,m=t[0],g=t[1],V=t[11]<<4|t[10]>>>28,W=t[10]<<4|t[11]>>>28,x=t[20]<<3|t[21]>>>29,C=t[21]<<3|t[20]>>>29,at=t[31]<<9|t[30]>>>23,ut=t[30]<<9|t[31]>>>23,K=t[40]<<18|t[41]>>>14,q=t[41]<<18|t[40]>>>14,O=t[2]<<1|t[3]>>>31,F=t[3]<<1|t[2]>>>31,y=t[13]<<12|t[12]>>>20,v=t[12]<<12|t[13]>>>20,Q=t[22]<<10|t[23]>>>22,Y=t[23]<<10|t[22]>>>22,I=t[33]<<13|t[32]>>>19,T=t[32]<<13|t[33]>>>19,lt=t[42]<<2|t[43]>>>30,ct=t[43]<<2|t[42]>>>30,et=t[5]<<30|t[4]>>>2,rt=t[4]<<30|t[5]>>>2,D=t[14]<<6|t[15]>>>26,U=t[15]<<6|t[14]>>>26,w=t[25]<<11|t[24]>>>21,b=t[24]<<11|t[25]>>>21,X=t[34]<<15|t[35]>>>17,Z=t[35]<<15|t[34]>>>17,R=t[45]<<29|t[44]>>>3,B=t[44]<<29|t[45]>>>3,S=t[6]<<28|t[7]>>>4,P=t[7]<<28|t[6]>>>4,nt=t[17]<<23|t[16]>>>9,it=t[16]<<23|t[17]>>>9,L=t[26]<<25|t[27]>>>7,G=t[27]<<25|t[26]>>>7,A=t[36]<<21|t[37]>>>11,E=t[37]<<21|t[36]>>>11,$=t[47]<<24|t[46]>>>8,tt=t[46]<<24|t[47]>>>8,H=t[8]<<27|t[9]>>>5,J=t[9]<<27|t[8]>>>5,N=t[18]<<20|t[19]>>>12,M=t[19]<<20|t[18]>>>12,ot=t[29]<<7|t[28]>>>25,st=t[28]<<7|t[29]>>>25,j=t[38]<<8|t[39]>>>24,z=t[39]<<8|t[38]>>>24,k=t[48]<<14|t[49]>>>18,_=t[49]<<14|t[48]>>>18,t[0]=m^~y&w,t[1]=g^~v&b,t[10]=S^~N&x,t[11]=P^~M&C,t[20]=O^~D&L,t[21]=F^~U&G,t[30]=H^~V&Q,t[31]=J^~W&Y,t[40]=et^~nt&ot,t[41]=rt^~it&st,t[2]=y^~w&A,t[3]=v^~b&E,t[12]=N^~x&I,t[13]=M^~C&T,t[22]=D^~L&j,t[23]=U^~G&z,t[32]=V^~Q&X,t[33]=W^~Y&Z,t[42]=nt^~ot&at,t[43]=it^~st&ut,t[4]=w^~A&k,t[5]=b^~E&_,t[14]=x^~I&R,t[15]=C^~T&B,t[24]=L^~j&K,t[25]=G^~z&q,t[34]=Q^~X&$,t[35]=Y^~Z&tt,t[44]=ot^~at<,t[45]=st^~ut&ct,t[6]=A^~k&m,t[7]=E^~_&g,t[16]=I^~R&S,t[17]=T^~B&P,t[26]=j^~K&O,t[27]=z^~q&F,t[36]=X^~$&H,t[37]=Z^~tt&J,t[46]=at^~lt&et,t[47]=ut^~ct&rt,t[8]=k^~m&y,t[9]=_^~g&v,t[18]=R^~S&N,t[19]=B^~P&M,t[28]=K^~O&D,t[29]=q^~F&U,t[38]=$^~H&V,t[39]=tt^~J&W,t[48]=lt^~et&nt,t[49]=ct^~rt&it,t[0]^=p[n],t[1]^=p[n+1]};if(u)t.exports=P;else{for(M=0;M{function e(t,e){if(!t)throw new Error(e||"Assertion failed")}t.exports=e,e.equal=function(t,e,r){if(t!=e)throw new Error(r||"Assertion failed: "+t+" != "+e)}},17635:function(t){"use strict";!function(e){const r=2147483647;function n(t){const e=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);let r=1779033703,n=3144134277,i=1013904242,o=2773480762,s=1359893119,a=2600822924,u=528734635,l=1541459225;const c=new Uint32Array(64);function h(t){let h=0,f=t.length;for(;f>=64;){let d,p,m,g,y,v=r,w=n,b=i,A=o,E=s,k=a,_=u,S=l;for(p=0;p<16;p++)m=h+4*p,c[p]=(255&t[m])<<24|(255&t[m+1])<<16|(255&t[m+2])<<8|255&t[m+3];for(p=16;p<64;p++)d=c[p-2],g=(d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10,d=c[p-15],y=(d>>>7|d<<25)^(d>>>18|d<<14)^d>>>3,c[p]=(g+c[p-7]|0)+(y+c[p-16]|0)|0;for(p=0;p<64;p++)g=(((E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7))+(E&k^~E&_)|0)+(S+(e[p]+c[p]|0)|0)|0,y=((v>>>2|v<<30)^(v>>>13|v<<19)^(v>>>22|v<<10))+(v&w^v&b^w&b)|0,S=_,_=k,k=E,E=A+g|0,A=b,b=w,w=v,v=g+y|0;r=r+v|0,n=n+w|0,i=i+b|0,o=o+A|0,s=s+E|0,a=a+k|0,u=u+_|0,l=l+S|0,h+=64,f-=64}}h(t);let f,d=t.length%64,p=t.length/536870912|0,m=t.length<<3,g=d<56?56:120,y=t.slice(t.length-d,t.length);for(y.push(128),f=d+1;f>>24&255),y.push(p>>>16&255),y.push(p>>>8&255),y.push(p>>>0&255),y.push(m>>>24&255),y.push(m>>>16&255),y.push(m>>>8&255),y.push(m>>>0&255),h(y),[r>>>24&255,r>>>16&255,r>>>8&255,r>>>0&255,n>>>24&255,n>>>16&255,n>>>8&255,n>>>0&255,i>>>24&255,i>>>16&255,i>>>8&255,i>>>0&255,o>>>24&255,o>>>16&255,o>>>8&255,o>>>0&255,s>>>24&255,s>>>16&255,s>>>8&255,s>>>0&255,a>>>24&255,a>>>16&255,a>>>8&255,a>>>0&255,u>>>24&255,u>>>16&255,u>>>8&255,u>>>0&255,l>>>24&255,l>>>16&255,l>>>8&255,l>>>0&255]}function i(t,e,r){t=t.length<=64?t:n(t);const i=64+e.length+4,o=new Array(i),s=new Array(64);let a,u=[];for(a=0;a<64;a++)o[a]=54;for(a=0;a=i-4;t--){if(o[t]++,o[t]<=255)return;o[t]=0}}for(;r>=32;)l(),u=u.concat(n(s.concat(n(o)))),r-=32;return r>0&&(l(),u=u.concat(n(s.concat(n(o))).slice(0,r))),u}function o(t,e,r,n,i){let o;for(l(t,16*(2*r-1),i,0,16),o=0;o<2*r;o++)u(t,16*o,i,16),a(i,n),l(i,0,t,e+16*o,16);for(o=0;o>>32-e}function a(t,e){l(t,0,e,0,16);for(let r=8;r>0;r-=2)e[4]^=s(e[0]+e[12],7),e[8]^=s(e[4]+e[0],9),e[12]^=s(e[8]+e[4],13),e[0]^=s(e[12]+e[8],18),e[9]^=s(e[5]+e[1],7),e[13]^=s(e[9]+e[5],9),e[1]^=s(e[13]+e[9],13),e[5]^=s(e[1]+e[13],18),e[14]^=s(e[10]+e[6],7),e[2]^=s(e[14]+e[10],9),e[6]^=s(e[2]+e[14],13),e[10]^=s(e[6]+e[2],18),e[3]^=s(e[15]+e[11],7),e[7]^=s(e[3]+e[15],9),e[11]^=s(e[7]+e[3],13),e[15]^=s(e[11]+e[7],18),e[1]^=s(e[0]+e[3],7),e[2]^=s(e[1]+e[0],9),e[3]^=s(e[2]+e[1],13),e[0]^=s(e[3]+e[2],18),e[6]^=s(e[5]+e[4],7),e[7]^=s(e[6]+e[5],9),e[4]^=s(e[7]+e[6],13),e[5]^=s(e[4]+e[7],18),e[11]^=s(e[10]+e[9],7),e[8]^=s(e[11]+e[10],9),e[9]^=s(e[8]+e[11],13),e[10]^=s(e[9]+e[8],18),e[12]^=s(e[15]+e[14],7),e[13]^=s(e[12]+e[15],9),e[14]^=s(e[13]+e[12],13),e[15]^=s(e[14]+e[13],18);for(let r=0;r<16;++r)t[r]+=e[r]}function u(t,e,r,n){for(let i=0;i=256)return!1}return!0}function h(t,e){if("number"!=typeof t||t%1)throw new Error("invalid "+e);return t}function f(t,e,n,s,a,f,d){if(n=h(n,"N"),s=h(s,"r"),a=h(a,"p"),f=h(f,"dkLen"),0===n||0!=(n&n-1))throw new Error("N must be power of 2");if(n>r/128/s)throw new Error("N too large");if(s>r/128/a)throw new Error("r too large");if(!c(t))throw new Error("password must be an array or buffer");if(t=Array.prototype.slice.call(t),!c(e))throw new Error("salt must be an array or buffer");e=Array.prototype.slice.call(e);let p=i(t,e,128*a*s);const m=new Uint32Array(32*a*s);for(let r=0;rx&&(e=x);for(let t=0;tx&&(e=x);for(let t=0;t>0&255),p.push(m[t]>>8&255),p.push(m[t]>>16&255),p.push(m[t]>>24&255);const r=i(t,p,f);return d&&d(null,1,r),r}d&&C(I)};if(!d)for(;;){const t=I();if(null!=t)return t}I()}const d={scrypt:function(t,e,r,n,i,o,s){return new Promise((function(a,u){let l=0;s&&s(0),f(t,e,r,n,i,o,(function(t,e,r){if(t)u(t);else if(r)s&&1!==l&&s(1),a(new Uint8Array(r));else if(s&&e!==l)return l=e,s(e)}))}))},syncScrypt:function(t,e,r,n,i,o){return new Uint8Array(f(t,e,r,n,i,o))}};t.exports=d}()}}]); \ No newline at end of file diff --git a/assets/js/5486.42fe8dbf.js b/assets/js/5486.42fe8dbf.js new file mode 100644 index 00000000..2ad77d04 --- /dev/null +++ b/assets/js/5486.42fe8dbf.js @@ -0,0 +1 @@ +(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5486],{36742:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(67294),o=r(73727),a=r(13919),s=r(10412);const i=(0,n.createContext)({collectLink:()=>{}});var u=r(44996);const c=function(e){let{isNavLink:t,to:r,href:c,activeClassName:l,isActive:f,"data-noBrokenLinkCheck":d,autoAddBaseUrl:p=!0,...g}=e;var v;const{withBaseUrl:m}=(0,u.C)(),h=(0,n.useContext)(i),y=r||c,b=(0,a.Z)(y),P=null==y?void 0:y.replace("pathname://",""),_=void 0!==P?(w=P,p&&(e=>e.startsWith("/"))(w)?m(w):w):void 0;var w;const D=(0,n.useRef)(!1),O=t?o.OL:o.rU,A=s.Z.canUseIntersectionObserver;let j;(0,n.useEffect)((()=>(!A&&b&&null!=_&&window.docusaurus.prefetch(_),()=>{A&&j&&j.disconnect()})),[_,A,b]);const S=null!==(v=null==_?void 0:_.startsWith("#"))&&void 0!==v&&v,E=!_||!b||S;return _&&b&&!S&&!d&&h.collectLink(_),E?n.createElement("a",Object.assign({href:_},y&&!b&&{target:"_blank",rel:"noopener noreferrer"},g)):n.createElement(O,Object.assign({},g,{onMouseEnter:()=>{D.current||null==_||(window.docusaurus.preload(_),D.current=!0)},innerRef:e=>{var t,r;A&&e&&b&&(t=e,r=()=>{null!=_&&window.docusaurus.prefetch(_)},j=new window.IntersectionObserver((e=>{e.forEach((e=>{t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(j.unobserve(t),j.disconnect(),r())}))})),j.observe(t))},to:_||""},t&&{isActive:f,activeClassName:l}))}},24973:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f,I:()=>l});var n=r(67294);const o=/{\w+}/g,a="{}";function s(e,t){const r=[],s=e.replace(o,(e=>{const o=e.substr(1,e.length-2),s=null==t?void 0:t[o];if(void 0!==s){const e=n.isValidElement(s)?s:String(s);return r.push(e),a}return e}));return 0===r.length?e:r.every((e=>"string"==typeof e))?s.split(a).reduce(((e,t,n)=>{var o;return e.concat(t).concat(null!==(o=r[n])&&void 0!==o?o:"")}),""):s.split(a).reduce(((e,t,o)=>[...e,n.createElement(n.Fragment,{key:o},t,r[o])]),[])}function i(e){let{children:t,values:r}=e;return s(t,r)}var u=r(57529);function c(e){let{id:t,message:r}=e;var n;return null!==(n=u[null!=t?t:r])&&void 0!==n?n:r}function l(e,t){let{message:r,id:n}=e;var o;return s(null!==(o=c({message:r,id:n}))&&void 0!==o?o:r,t)}function f(e){let{children:t,id:r,values:o}=e;var a;const s=null!==(a=c({message:t,id:r}))&&void 0!==a?a:t;return n.createElement(i,{values:o},s)}},29935:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_PLUGIN_ID:()=>n});const n="default"},13919:(e,t,r)=>{"use strict";function n(e){return!0===/^(\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!n(e)}r.d(t,{Z:()=>o,b:()=>n})},28143:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BrowserRouter:()=>n.VK,HashRouter:()=>n.UT,Link:()=>n.rU,MemoryRouter:()=>n.VA,NavLink:()=>n.OL,Prompt:()=>n.NL,Redirect:()=>n.l_,Route:()=>n.AW,Router:()=>n.F0,StaticRouter:()=>n.gx,Switch:()=>n.rs,generatePath:()=>n.Gn,matchPath:()=>n.LX,useHistory:()=>n.k6,useLocation:()=>n.TH,useParams:()=>n.UO,useRouteMatch:()=>n.$B,withRouter:()=>n.EN});var n=r(73727)},44996:(e,t,r)=>{"use strict";r.d(t,{C:()=>a,Z:()=>s});var n=r(52263),o=r(13919);function a(){const{siteConfig:{baseUrl:e="/",url:t}={}}=(0,n.default)();return{withBaseUrl:(r,n)=>function(e,t,r,n){let{forcePrependBaseUrl:a=!1,absolute:s=!1}=void 0===n?{}:n;if(!r)return r;if(r.startsWith("#"))return r;if((0,o.b)(r))return r;if(a)return t+r;const i=r.startsWith(t)?r:t+r.replace(/^\//,"");return s?e+i:i}(t,e,r,n)}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:r}=a();return r(e,t)}},28084:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o,useAllPluginInstancesData:()=>a,usePluginData:()=>s});var n=r(52263);function o(){const{globalData:e}=(0,n.default)();if(!e)throw new Error("Docusaurus global data not found");return e}function a(e){const t=o()[e];if(!t)throw new Error(`Docusaurus plugin global data not found for pluginName=${e}`);return t}function s(e,t){void 0===t&&(t="default");const r=a(e)[t];if(!r)throw new Error(`Docusaurus plugin global data not found for pluginName=${e} and pluginId=${t}`);return r}},48408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;const n=r(28143);t.getActivePlugin=function(e,t,r){void 0===r&&(r={});const o=Object.entries(e).find((e=>{let[r,o]=e;return!!n.matchPath(t,{path:o.path,exact:!1,strict:!1})})),a=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!a&&r.failfast)throw new Error(`Can't find active docs plugin for pathname=${t}, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return a};t.getLatestVersion=e=>e.versions.find((e=>e.isLast));t.getActiveVersion=(e,r)=>{const o=t.getLatestVersion(e);return[...e.versions.filter((e=>e!==o)),o].find((e=>!!n.matchPath(r,{path:e.path,exact:!1,strict:!1})))};t.getActiveDocContext=(e,r)=>{const o=t.getActiveVersion(e,r),a=null==o?void 0:o.docs.find((e=>!!n.matchPath(r,{path:e.path,exact:!0,strict:!1})));return{activeVersion:o,activeDoc:a,alternateDocVersions:a?function(t){const r={};return e.versions.forEach((e=>{e.docs.forEach((n=>{n.id===t&&(r[e.name]=n)}))})),r}(a.id):{}}};t.getDocVersionSuggestions=(e,r)=>{const n=t.getLatestVersion(e),o=t.getActiveDocContext(e,r),a=o.activeVersion!==n;return{latestDocSuggestion:a?null==o?void 0:o.alternateDocVersions[n.name]:void 0,latestVersionSuggestion:a?n:void 0}}},96730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocVersionSuggestions=t.useActiveDocContext=t.useActiveVersion=t.useLatestVersion=t.useVersions=t.useActivePluginAndVersion=t.useActivePlugin=t.useDocsData=t.useAllDocsData=void 0;const n=r(28143),o=r(28084),a=r(48408);t.useAllDocsData=()=>o.useAllPluginInstancesData("docusaurus-plugin-content-docs");t.useDocsData=e=>o.usePluginData("docusaurus-plugin-content-docs",e);t.useActivePlugin=function(e){void 0===e&&(e={});const r=t.useAllDocsData(),{pathname:o}=n.useLocation();return a.getActivePlugin(r,o,e)};t.useActivePluginAndVersion=function(e){void 0===e&&(e={});const r=t.useActivePlugin(e),{pathname:o}=n.useLocation();if(r){return{activePlugin:r,activeVersion:a.getActiveVersion(r.pluginData,o)}}};t.useVersions=e=>t.useDocsData(e).versions;t.useLatestVersion=e=>{const r=t.useDocsData(e);return a.getLatestVersion(r)};t.useActiveVersion=e=>{const r=t.useDocsData(e),{pathname:o}=n.useLocation();return a.getActiveVersion(r,o)};t.useActiveDocContext=e=>{const r=t.useDocsData(e),{pathname:o}=n.useLocation();return a.getActiveDocContext(r,o)};t.useDocVersionSuggestions=e=>{const r=t.useDocsData(e),{pathname:o}=n.useLocation();return a.getDocVersionSuggestions(r,o)}},41217:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(67294),o=r(99105),a=r(86700),s=r(44996);function i(e){let{title:t,description:r,keywords:i,image:u}=e;const{image:c}=(0,a.LU)(),l=(0,a.pe)(t),f=(0,s.Z)(u||c,{absolute:!0});return n.createElement(o.Z,null,t&&n.createElement("title",null,l),t&&n.createElement("meta",{property:"og:title",content:l}),r&&n.createElement("meta",{name:"description",content:r}),r&&n.createElement("meta",{property:"og:description",content:r}),i&&n.createElement("meta",{name:"keywords",content:Array.isArray(i)?i.join(","):i}),f&&n.createElement("meta",{property:"og:image",content:f}),f&&n.createElement("meta",{name:"twitter:image",content:f}),f&&n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}))}},80907:(e,t,r)=>{try{e.exports=r(96730)}catch(n){const t={};e.exports={useAllDocsData:()=>t,useActivePluginAndVersion:()=>{}}}},86700:(e,t,r)=>{"use strict";t.kM=t.L5=t.J=t.pe=t.Mg=t.HX=t.os=t.bc=t.l5=t._f=t.WA=t.LU=void 0;var n=r(86668);Object.defineProperty(t,"LU",{enumerable:!0,get:function(){return n.useThemeConfig}});var o=r(50012);Object.defineProperty(t,"WA",{enumerable:!0,get:function(){return o.createStorageSlot}}),Object.defineProperty(t,"_f",{enumerable:!0,get:function(){return o.listStorageKeys}});var a=r(94711);Object.defineProperty(t,"l5",{enumerable:!0,get:function(){return a.useAlternatePageUtils}});var s=r(37016);Object.defineProperty(t,"bc",{enumerable:!0,get:function(){return s.parseCodeBlockTitle}});var i=r(43320);Object.defineProperty(t,"os",{enumerable:!0,get:function(){return i.docVersionSearchTag}}),Object.defineProperty(t,"HX",{enumerable:!0,get:function(){return i.DEFAULT_SEARCH_TAG}});var u=r(53438);var c=r(99016);Object.defineProperty(t,"Mg",{enumerable:!0,get:function(){return c.isSamePath}});var l=r(82128);Object.defineProperty(t,"pe",{enumerable:!0,get:function(){return l.useTitleFormatter}});var f=r(88824);var d=r(7674);Object.defineProperty(t,"J",{enumerable:!0,get:function(){return d.useDocsPreferredVersion}});var p=r(78427);Object.defineProperty(t,"L5",{enumerable:!0,get:function(){return p.DocsPreferredVersionContextProvider}});var g=r(35281);Object.defineProperty(t,"kM",{enumerable:!0,get:function(){return g.ThemeClassNames}})},35281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeClassNames=void 0,t.ThemeClassNames={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagsPostPage:"blog-tags-post-page",docPage:"doc-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docPages:"docs-wrapper",mdxPages:"mdx-wrapper"}}},37016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCodeBlockTitle=void 0;const r=/title=(["'])(.*?)\1/;t.parseCodeBlockTitle=function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.match(r))||void 0===t?void 0:t[2])&&void 0!==n?n:""}},78427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocsPreferredVersionContext=t.DocsPreferredVersionContextProvider=void 0;const n=r(70655),o=n.__importStar(r(67294)),a=r(86668),s=r(53438),i=r(80907),u=n.__importDefault(r(43481));function c(e){let{pluginIds:t,versionPersistence:r,allDocsData:n}=e;const o={};return t.forEach((e=>{o[e]=function(e){const t=u.default.read(e,r);return n[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(u.default.clear(e,r),{preferredVersionName:null})}(e)})),o}function l(){const e=i.useAllDocsData(),t=a.useThemeConfig().docs.versionPersistence,r=o.useMemo((()=>Object.keys(e)),[e]),[n,s]=o.useState((()=>function(e){const t={};return e.forEach((e=>{t[e]={preferredVersionName:null}})),t}(r)));o.useEffect((()=>{s(c({allDocsData:e,versionPersistence:t,pluginIds:r}))}),[e,t,r]);return[n,o.useMemo((()=>({savePreferredVersion:function(e,r){u.default.save(e,t,r),s((t=>({...t,[e]:{preferredVersionName:r}})))}})),[s])]}const f=o.createContext(null);function d(e){let{children:t}=e;const r=l();return o.default.createElement(f.Provider,{value:r},t)}t.DocsPreferredVersionContextProvider=function(e){let{children:t}=e;return s.isDocsPluginEnabled?o.default.createElement(d,null,t):o.default.createElement(o.default.Fragment,null,t)},t.useDocsPreferredVersionContext=function(){const e=o.useContext(f);if(!e)throw new Error("Can't find docs preferred context, maybe you forgot to use the DocsPreferredVersionContextProvider ?");return e}},43481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(50012),o=e=>`docs-preferred-version-${e}`,a={save:(e,t,r)=>{n.createStorageSlot(o(e),{persistence:t}).set(r)},read:(e,t)=>n.createStorageSlot(o(e),{persistence:t}).get(),clear:(e,t)=>{n.createStorageSlot(o(e),{persistence:t}).del()}};t.default=a},7674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocsPreferredVersionByPluginId=t.useDocsPreferredVersion=void 0;const n=r(67294),o=r(78427),a=r(80907),s=r(29935);t.useDocsPreferredVersion=function(e){void 0===e&&(e=s.DEFAULT_PLUGIN_ID);const t=a.useDocsData(e),[r,i]=o.useDocsPreferredVersionContext(),{preferredVersionName:u}=r[e];return{preferredVersion:u?t.versions.find((e=>e.name===u)):null,savePreferredVersionName:n.useCallback((t=>{i.savePreferredVersion(e,t)}),[i])}},t.useDocsPreferredVersionByPluginId=function(){const e=a.useAllDocsData(),[t]=o.useDocsPreferredVersionContext(),r=Object.keys(e),n={};return r.forEach((r=>{n[r]=function(r){const n=e[r],{preferredVersionName:o}=t[r];return o?n.versions.find((e=>e.name===o)):null}(r)})),n}},53438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocsPluginEnabled=void 0;const n=r(80907);t.isDocsPluginEnabled=!!n.useAllDocsData},82128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTitleFormatter=void 0;const n=r(70655).__importDefault(r(52263));t.useTitleFormatter=e=>{const{siteConfig:t={}}=n.default(),{title:r,titleDelimiter:o="|"}=t;return e&&e.trim().length?`${e.trim()} ${o} ${r}`:r}},99016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSamePath=void 0;t.isSamePath=(e,t)=>{const r=e=>!e||(null==e?void 0:e.endsWith("/"))?e:`${e}/`;return r(e)===r(t)}},43320:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.docVersionSearchTag=t.DEFAULT_SEARCH_TAG=void 0,t.DEFAULT_SEARCH_TAG="default",t.docVersionSearchTag=function(e,t){return`docs-${e}-${t}`}},50012:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listStorageKeys=t.createStorageSlot=void 0;const r="localStorage";function n(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on NodeJS / Docusaurus SSR process");if("none"===e)return null;try{return window[e]}catch(n){return t=n,o||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an Iframe, in an Incognito browser session, or using too strict browser privacy settings.",t),o=!0),null}var t}let o=!1;const a={get:()=>null,set:()=>{},del:()=>{}};t.createStorageSlot=(e,t)=>{if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key=${e}.\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t}}(e);const r=n(null==t?void 0:t.persistence);return null===r?a:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}},t.listStorageKeys=function(e){void 0===e&&(e=r);const t=n(e);if(!t)return[];const o=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAlternatePageUtils=void 0;const n=r(70655).__importDefault(r(52263)),o=r(28143);t.useAlternatePageUtils=function(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:r,currentLocale:a}}=n.default(),{pathname:s}=o.useLocation(),i=a===r?e:e.replace(`/${a}/`,"/"),u=s.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:o}=e;return`${o?t:""}${function(e){return e===r?`${i}`:`${i}${e}/`}(n)}${u}`}}}},88824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePluralForm=void 0;const n=r(70655),o=r(67294),a=n.__importDefault(r(52263)),s=["zero","one","two","few","many","other"];function i(e){return s.filter((t=>e.includes(t)))}const u={locale:"en",pluralForms:i(["one","other"]),select:e=>1===e?"one":"other"};function c(){const{i18n:{currentLocale:e}}=a.default();return o.useMemo((()=>{if(!Intl.PluralRules)return console.error("Intl.PluralRules not available!\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n "),u;try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:i(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale=${e}.\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n`),u}}),[e])}t.usePluralForm=function(){const e=c();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];{n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms}), but the message contains ${n.length} plural forms: ${e} `);const o=r.select(t),a=r.pluralForms.indexOf(o);return n[Math.min(a,n.length-1)]}}(r,t,e)}}},86668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useThemeConfig=void 0;const n=r(70655).__importDefault(r(52263));t.useThemeConfig=function(){return n.default().siteConfig.themeConfig}},86010:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,r=0,o="";r{"use strict";r.r(t),r.d(t,{__assign:()=>a,__asyncDelegator:()=>_,__asyncGenerator:()=>P,__asyncValues:()=>w,__await:()=>b,__awaiter:()=>l,__classPrivateFieldGet:()=>S,__classPrivateFieldIn:()=>V,__classPrivateFieldSet:()=>E,__createBinding:()=>d,__decorate:()=>i,__exportStar:()=>p,__extends:()=>o,__generator:()=>f,__importDefault:()=>j,__importStar:()=>A,__makeTemplateObject:()=>D,__metadata:()=>c,__param:()=>u,__read:()=>v,__rest:()=>s,__spread:()=>m,__spreadArray:()=>y,__spreadArrays:()=>h,__values:()=>g});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;i--)(o=e[i])&&(s=(a<3?o(s):a>3?o(t,r,s):o(t,r))||s);return a>3&&s&&Object.defineProperty(t,r,s),s}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))((function(o,a){function s(e){try{u(n.next(e))}catch(t){a(t)}}function i(e){try{u(n.throw(e))}catch(t){a(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,i)}u((n=n.apply(e,t||[])).next())}))}function f(e,t){var r,n,o,a,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(i){o={error:i}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return s}function m(){for(var e=[],t=0;t1||i(e,t)}))})}function i(e,t){try{(r=o[e](t)).value instanceof b?Promise.resolve(r.value.v).then(u,c):l(a[0][2],r)}catch(n){l(a[0][3],n)}var r}function u(e){i("next",e)}function c(e){i("throw",e)}function l(e,t){e(t),a.shift(),a.length&&i(a[0][0],a[0][1])}}function _(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:b(e[n](t)),done:"return"===n}:o?o(t):t}:o}}function w(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=g(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function D(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&d(t,e,r);return O(t,e),t}function j(e){return e&&e.__esModule?e:{default:e}}function S(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function E(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function V(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}}}]); \ No newline at end of file diff --git a/assets/js/5486.ae69b6ea.js b/assets/js/5486.ae69b6ea.js deleted file mode 100644 index cea43ab8..00000000 --- a/assets/js/5486.ae69b6ea.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5486],{36742:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(67294),o=r(73727),s=r(13919),a=r(10412);const i=(0,n.createContext)({collectLink:()=>{}});var c=r(44996);const u=function(e){let{isNavLink:t,to:r,href:u,activeClassName:l,isActive:f,"data-noBrokenLinkCheck":d,autoAddBaseUrl:p=!0,...v}=e;var g;const{withBaseUrl:y}=(0,c.C)(),m=(0,n.useContext)(i),h=r||u,_=(0,s.Z)(h),b=null==h?void 0:h.replace("pathname://",""),w=void 0!==b?(P=b,p&&(e=>e.startsWith("/"))(P)?y(P):P):void 0;var P;const D=(0,n.useRef)(!1),O=t?o.OL:o.rU,E=a.Z.canUseIntersectionObserver;let j;(0,n.useEffect)((()=>(!E&&_&&null!=w&&window.docusaurus.prefetch(w),()=>{E&&j&&j.disconnect()})),[w,E,_]);const S=null!==(g=null==w?void 0:w.startsWith("#"))&&void 0!==g&&g,A=!w||!_||S;return w&&_&&!S&&!d&&m.collectLink(w),A?n.createElement("a",Object.assign({href:w},h&&!_&&{target:"_blank",rel:"noopener noreferrer"},v)):n.createElement(O,Object.assign({},v,{onMouseEnter:()=>{D.current||null==w||(window.docusaurus.preload(w),D.current=!0)},innerRef:e=>{var t,r;E&&e&&_&&(t=e,r=()=>{null!=w&&window.docusaurus.prefetch(w)},j=new window.IntersectionObserver((e=>{e.forEach((e=>{t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(j.unobserve(t),j.disconnect(),r())}))})),j.observe(t))},to:w||""},t&&{isActive:f,activeClassName:l}))}},24973:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f,I:()=>l});var n=r(67294);const o=/{\w+}/g,s="{}";function a(e,t){const r=[],a=e.replace(o,(e=>{const o=e.substr(1,e.length-2),a=null==t?void 0:t[o];if(void 0!==a){const e=n.isValidElement(a)?a:String(a);return r.push(e),s}return e}));return 0===r.length?e:r.every((e=>"string"==typeof e))?a.split(s).reduce(((e,t,n)=>{var o;return e.concat(t).concat(null!==(o=r[n])&&void 0!==o?o:"")}),""):a.split(s).reduce(((e,t,o)=>[...e,n.createElement(n.Fragment,{key:o},t,r[o])]),[])}function i(e){let{children:t,values:r}=e;return a(t,r)}var c=r(57529);function u(e){let{id:t,message:r}=e;var n;return null!==(n=c[null!=t?t:r])&&void 0!==n?n:r}function l(e,t){let{message:r,id:n}=e;var o;return a(null!==(o=u({message:r,id:n}))&&void 0!==o?o:r,t)}function f(e){let{children:t,id:r,values:o}=e;var s;const a=null!==(s=u({message:t,id:r}))&&void 0!==s?s:t;return n.createElement(i,{values:o},a)}},29935:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DEFAULT_PLUGIN_ID:()=>n});const n="default"},13919:(e,t,r)=>{"use strict";function n(e){return!0===/^(\w*:|\/\/)/.test(e)}function o(e){return void 0!==e&&!n(e)}r.d(t,{Z:()=>o,b:()=>n})},28143:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BrowserRouter:()=>n.VK,HashRouter:()=>n.UT,Link:()=>n.rU,MemoryRouter:()=>n.VA,NavLink:()=>n.OL,Prompt:()=>n.NL,Redirect:()=>n.l_,Route:()=>n.AW,Router:()=>n.F0,StaticRouter:()=>n.gx,Switch:()=>n.rs,generatePath:()=>n.Gn,matchPath:()=>n.LX,useHistory:()=>n.k6,useLocation:()=>n.TH,useParams:()=>n.UO,useRouteMatch:()=>n.$B,withRouter:()=>n.EN});var n=r(73727)},44996:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,Z:()=>a});var n=r(52263),o=r(13919);function s(){const{siteConfig:{baseUrl:e="/",url:t}={}}=(0,n.default)();return{withBaseUrl:(r,n)=>function(e,t,r,n){let{forcePrependBaseUrl:s=!1,absolute:a=!1}=void 0===n?{}:n;if(!r)return r;if(r.startsWith("#"))return r;if((0,o.b)(r))return r;if(s)return t+r;const i=r.startsWith(t)?r:t+r.replace(/^\//,"");return a?e+i:i}(t,e,r,n)}}function a(e,t){void 0===t&&(t={});const{withBaseUrl:r}=s();return r(e,t)}},28084:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s,useAllPluginInstancesData:()=>a,usePluginData:()=>i});var n=r(52263);const o="default";function s(){const{globalData:e}=(0,n.default)();if(!e)throw new Error("Docusaurus global data not found");return e}function a(e){const t=s()[e];if(!t)throw new Error(`Docusaurus plugin global data not found for pluginName=${e}`);return t}function i(e,t){void 0===t&&(t=o);const r=a(e)[t];if(!r)throw new Error(`Docusaurus plugin global data not found for pluginName=${e} and pluginId=${t}`);return r}},48408:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDocVersionSuggestions=t.getActiveDocContext=t.getActiveVersion=t.getLatestVersion=t.getActivePlugin=void 0;const n=r(28143);t.getActivePlugin=function(e,t,r){void 0===r&&(r={});const o=Object.entries(e).find((e=>{let[r,o]=e;return!!n.matchPath(t,{path:o.path,exact:!1,strict:!1})})),s=o?{pluginId:o[0],pluginData:o[1]}:void 0;if(!s&&r.failfast)throw new Error(`Can't find active docs plugin for pathname=${t}, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return s};t.getLatestVersion=e=>e.versions.find((e=>e.isLast));t.getActiveVersion=(e,r)=>{const o=t.getLatestVersion(e);return[...e.versions.filter((e=>e!==o)),o].find((e=>!!n.matchPath(r,{path:e.path,exact:!1,strict:!1})))};t.getActiveDocContext=(e,r)=>{const o=t.getActiveVersion(e,r),s=null==o?void 0:o.docs.find((e=>!!n.matchPath(r,{path:e.path,exact:!0,strict:!1})));return{activeVersion:o,activeDoc:s,alternateDocVersions:s?function(t){const r={};return e.versions.forEach((e=>{e.docs.forEach((n=>{n.id===t&&(r[e.name]=n)}))})),r}(s.id):{}}};t.getDocVersionSuggestions=(e,r)=>{const n=t.getLatestVersion(e),o=t.getActiveDocContext(e,r),s=o.activeVersion!==n;return{latestDocSuggestion:s?null==o?void 0:o.alternateDocVersions[n.name]:void 0,latestVersionSuggestion:s?n:void 0}}},96730:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocVersionSuggestions=t.useActiveDocContext=t.useActiveVersion=t.useLatestVersion=t.useVersions=t.useActivePluginAndVersion=t.useActivePlugin=t.useDocsData=t.useAllDocsData=void 0;const n=r(28143),o=r(28084),s=r(48408);t.useAllDocsData=()=>o.useAllPluginInstancesData("docusaurus-plugin-content-docs");t.useDocsData=e=>o.usePluginData("docusaurus-plugin-content-docs",e);t.useActivePlugin=function(e){void 0===e&&(e={});const r=t.useAllDocsData(),{pathname:o}=n.useLocation();return s.getActivePlugin(r,o,e)};t.useActivePluginAndVersion=function(e){void 0===e&&(e={});const r=t.useActivePlugin(e),{pathname:o}=n.useLocation();if(r){return{activePlugin:r,activeVersion:s.getActiveVersion(r.pluginData,o)}}};t.useVersions=e=>t.useDocsData(e).versions;t.useLatestVersion=e=>{const r=t.useDocsData(e);return s.getLatestVersion(r)};t.useActiveVersion=e=>{const r=t.useDocsData(e),{pathname:o}=n.useLocation();return s.getActiveVersion(r,o)};t.useActiveDocContext=e=>{const r=t.useDocsData(e),{pathname:o}=n.useLocation();return s.getActiveDocContext(r,o)};t.useDocVersionSuggestions=e=>{const r=t.useDocsData(e),{pathname:o}=n.useLocation();return s.getDocVersionSuggestions(r,o)}},41217:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(67294),o=r(99105),s=r(86700),a=r(44996);function i(e){let{title:t,description:r,keywords:i,image:c}=e;const{image:u}=(0,s.LU)(),l=(0,s.pe)(t),f=(0,a.Z)(c||u,{absolute:!0});return n.createElement(o.Z,null,t&&n.createElement("title",null,l),t&&n.createElement("meta",{property:"og:title",content:l}),r&&n.createElement("meta",{name:"description",content:r}),r&&n.createElement("meta",{property:"og:description",content:r}),i&&n.createElement("meta",{name:"keywords",content:Array.isArray(i)?i.join(","):i}),f&&n.createElement("meta",{property:"og:image",content:f}),f&&n.createElement("meta",{name:"twitter:image",content:f}),f&&n.createElement("meta",{name:"twitter:card",content:"summary_large_image"}))}},80907:(e,t,r)=>{try{e.exports=r(96730)}catch(n){const t={};e.exports={useAllDocsData:()=>t,useActivePluginAndVersion:()=>{}}}},86700:(e,t,r)=>{"use strict";t.kM=t.L5=t.J=t.pe=t.Mg=t.HX=t.os=t.bc=t.l5=t._f=t.WA=t.LU=void 0;var n=r(86668);Object.defineProperty(t,"LU",{enumerable:!0,get:function(){return n.useThemeConfig}});var o=r(50012);Object.defineProperty(t,"WA",{enumerable:!0,get:function(){return o.createStorageSlot}}),Object.defineProperty(t,"_f",{enumerable:!0,get:function(){return o.listStorageKeys}});var s=r(94711);Object.defineProperty(t,"l5",{enumerable:!0,get:function(){return s.useAlternatePageUtils}});var a=r(37016);Object.defineProperty(t,"bc",{enumerable:!0,get:function(){return a.parseCodeBlockTitle}});var i=r(43320);Object.defineProperty(t,"os",{enumerable:!0,get:function(){return i.docVersionSearchTag}}),Object.defineProperty(t,"HX",{enumerable:!0,get:function(){return i.DEFAULT_SEARCH_TAG}});var c=r(53438);var u=r(99016);Object.defineProperty(t,"Mg",{enumerable:!0,get:function(){return u.isSamePath}});var l=r(82128);Object.defineProperty(t,"pe",{enumerable:!0,get:function(){return l.useTitleFormatter}});var f=r(88824);var d=r(7674);Object.defineProperty(t,"J",{enumerable:!0,get:function(){return d.useDocsPreferredVersion}});var p=r(78427);Object.defineProperty(t,"L5",{enumerable:!0,get:function(){return p.DocsPreferredVersionContextProvider}});var v=r(35281);Object.defineProperty(t,"kM",{enumerable:!0,get:function(){return v.ThemeClassNames}})},35281:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeClassNames=void 0,t.ThemeClassNames={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagsPostPage:"blog-tags-post-page",docPage:"doc-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docPages:"docs-wrapper",mdxPages:"mdx-wrapper"}}},37016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseCodeBlockTitle=void 0;const r=/title=(["'])(.*?)\1/;t.parseCodeBlockTitle=function(e){var t,n;return null!==(n=null===(t=null==e?void 0:e.match(r))||void 0===t?void 0:t[2])&&void 0!==n?n:""}},78427:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocsPreferredVersionContext=t.DocsPreferredVersionContextProvider=void 0;const n=r(97582),o=n.__importStar(r(67294)),s=r(86668),a=r(53438),i=r(80907),c=n.__importDefault(r(43481));function u(e){let{pluginIds:t,versionPersistence:r,allDocsData:n}=e;const o={};return t.forEach((e=>{o[e]=function(e){const t=c.default.read(e,r);return n[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(c.default.clear(e,r),{preferredVersionName:null})}(e)})),o}function l(){const e=i.useAllDocsData(),t=s.useThemeConfig().docs.versionPersistence,r=o.useMemo((()=>Object.keys(e)),[e]),[n,a]=o.useState((()=>function(e){const t={};return e.forEach((e=>{t[e]={preferredVersionName:null}})),t}(r)));o.useEffect((()=>{a(u({allDocsData:e,versionPersistence:t,pluginIds:r}))}),[e,t,r]);return[n,o.useMemo((()=>({savePreferredVersion:function(e,r){c.default.save(e,t,r),a((t=>({...t,[e]:{preferredVersionName:r}})))}})),[a])]}const f=o.createContext(null);function d(e){let{children:t}=e;const r=l();return o.default.createElement(f.Provider,{value:r},t)}t.DocsPreferredVersionContextProvider=function(e){let{children:t}=e;return a.isDocsPluginEnabled?o.default.createElement(d,null,t):o.default.createElement(o.default.Fragment,null,t)},t.useDocsPreferredVersionContext=function(){const e=o.useContext(f);if(!e)throw new Error("Can't find docs preferred context, maybe you forgot to use the DocsPreferredVersionContextProvider ?");return e}},43481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(50012),o=e=>`docs-preferred-version-${e}`,s={save:(e,t,r)=>{n.createStorageSlot(o(e),{persistence:t}).set(r)},read:(e,t)=>n.createStorageSlot(o(e),{persistence:t}).get(),clear:(e,t)=>{n.createStorageSlot(o(e),{persistence:t}).del()}};t.default=s},7674:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDocsPreferredVersionByPluginId=t.useDocsPreferredVersion=void 0;const n=r(67294),o=r(78427),s=r(80907),a=r(29935);t.useDocsPreferredVersion=function(e){void 0===e&&(e=a.DEFAULT_PLUGIN_ID);const t=s.useDocsData(e),[r,i]=o.useDocsPreferredVersionContext(),{preferredVersionName:c}=r[e];return{preferredVersion:c?t.versions.find((e=>e.name===c)):null,savePreferredVersionName:n.useCallback((t=>{i.savePreferredVersion(e,t)}),[i])}},t.useDocsPreferredVersionByPluginId=function(){const e=s.useAllDocsData(),[t]=o.useDocsPreferredVersionContext(),r=Object.keys(e),n={};return r.forEach((r=>{n[r]=function(r){const n=e[r],{preferredVersionName:o}=t[r];return o?n.versions.find((e=>e.name===o)):null}(r)})),n}},53438:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocsPluginEnabled=void 0;const n=r(80907);t.isDocsPluginEnabled=!!n.useAllDocsData},82128:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTitleFormatter=void 0;const n=r(97582).__importDefault(r(52263));t.useTitleFormatter=e=>{const{siteConfig:t={}}=n.default(),{title:r,titleDelimiter:o="|"}=t;return e&&e.trim().length?`${e.trim()} ${o} ${r}`:r}},99016:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSamePath=void 0;t.isSamePath=(e,t)=>{const r=e=>!e||(null==e?void 0:e.endsWith("/"))?e:`${e}/`;return r(e)===r(t)}},43320:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.docVersionSearchTag=t.DEFAULT_SEARCH_TAG=void 0,t.DEFAULT_SEARCH_TAG="default",t.docVersionSearchTag=function(e,t){return`docs-${e}-${t}`}},50012:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.listStorageKeys=t.createStorageSlot=void 0;const r="localStorage";function n(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on NodeJS / Docusaurus SSR process");if("none"===e)return null;try{return window[e]}catch(n){return t=n,o||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an Iframe, in an Incognito browser session, or using too strict browser privacy settings.",t),o=!0),null}var t}let o=!1;const s={get:()=>null,set:()=>{},del:()=>{}};t.createStorageSlot=(e,t)=>{if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key=${e}.\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t}}(e);const r=n(null==t?void 0:t.persistence);return null===r?s:{get:()=>r.getItem(e),set:t=>r.setItem(e,t),del:()=>r.removeItem(e)}},t.listStorageKeys=function(e){void 0===e&&(e=r);const t=n(e);if(!t)return[];const o=[];for(let r=0;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAlternatePageUtils=void 0;const n=r(97582).__importDefault(r(52263)),o=r(28143);t.useAlternatePageUtils=function(){const{siteConfig:{baseUrl:e,url:t},i18n:{defaultLocale:r,currentLocale:s}}=n.default(),{pathname:a}=o.useLocation(),i=s===r?e:e.replace(`/${s}/`,"/"),c=a.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:o}=e;return`${o?t:""}${function(e){return e===r?`${i}`:`${i}${e}/`}(n)}${c}`}}}},88824:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePluralForm=void 0;const n=r(97582),o=r(67294),s=n.__importDefault(r(52263)),a=["zero","one","two","few","many","other"];function i(e){return a.filter((t=>e.includes(t)))}const c={locale:"en",pluralForms:i(["one","other"]),select:e=>1===e?"one":"other"};function u(){const{i18n:{currentLocale:e}}=s.default();return o.useMemo((()=>{if(!Intl.PluralRules)return console.error("Intl.PluralRules not available!\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n "),c;try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:i(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale=${e}.\nDocusaurus will fallback to a default/fallback (English) Intl.PluralRules implementation.\n`),c}}),[e])}t.usePluralForm=function(){const e=u();return{selectMessage:(t,r)=>function(e,t,r){const n=e.split("|");if(1===n.length)return n[0];{n.length>r.pluralForms.length&&console.error(`For locale=${r.locale}, a maximum of ${r.pluralForms.length} plural forms are expected (${r.pluralForms}), but the message contains ${n.length} plural forms: ${e} `);const o=r.select(t),s=r.pluralForms.indexOf(o);return n[Math.min(s,n.length-1)]}}(r,t,e)}}},86668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useThemeConfig=void 0;const n=r(97582).__importDefault(r(52263));t.useThemeConfig=function(){return n.default().siteConfig.themeConfig}},86010:(e,t,r)=>{"use strict";function n(e){var t,r,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to});const o=function(){for(var e,t,r=0,o="";r{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>k,__assign:()=>s,__asyncDelegator:()=>E,__asyncGenerator:()=>O,__asyncValues:()=>j,__await:()=>D,__awaiter:()=>v,__classPrivateFieldGet:()=>C,__classPrivateFieldIn:()=>I,__classPrivateFieldSet:()=>T,__createBinding:()=>y,__decorate:()=>i,__disposeResources:()=>R,__esDecorate:()=>u,__exportStar:()=>m,__extends:()=>o,__generator:()=>g,__importDefault:()=>x,__importStar:()=>V,__makeTemplateObject:()=>S,__metadata:()=>p,__param:()=>c,__propKey:()=>f,__read:()=>_,__rest:()=>a,__runInitializers:()=>l,__setFunctionName:()=>d,__spread:()=>b,__spreadArray:()=>P,__spreadArrays:()=>w,__values:()=>h,default:()=>M});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(){return s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;i--)(o=e[i])&&(a=(s<3?o(a):s>3?o(t,r,a):o(t,r))||a);return s>3&&a&&Object.defineProperty(t,r,a),a}function c(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,s){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var i,c=n.kind,u="getter"===c?"get":"setter"===c?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,p=r.length-1;p>=0;p--){var v={};for(var g in n)v[g]="access"===g?{}:n[g];for(var g in n.access)v.access[g]=n.access[g];v.addInitializer=function(e){if(d)throw new TypeError("Cannot add initializers after decoration has completed");s.push(a(e||null))};var y=(0,r[p])("accessor"===c?{get:f.get,set:f.set}:f[u],v);if("accessor"===c){if(void 0===y)continue;if(null===y||"object"!=typeof y)throw new TypeError("Object expected");(i=a(y.get))&&(f.get=i),(i=a(y.set))&&(f.set=i),(i=a(y.init))&&o.unshift(i)}else(i=a(y))&&("field"===c?o.unshift(i):f[u]=i)}l&&Object.defineProperty(l,n.name,f),d=!0}function l(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(i){o={error:i}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(o)throw o.error}}return a}function b(){for(var e=[],t=0;t1||i(e,t)}))})}function i(e,t){try{(r=o[e](t)).value instanceof D?Promise.resolve(r.value.v).then(c,u):l(s[0][2],r)}catch(n){l(s[0][3],n)}var r}function c(e){i("next",e)}function u(e){i("throw",e)}function l(e,t){e(t),s.shift(),s.length&&i(s[0][0],s[0][1])}}function E(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:D(e[n](t)),done:!1}:o?o(t):t}:o}}function j(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function S(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var A=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function V(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&y(t,e,r);return A(t,e),t}function x(e){return e&&e.__esModule?e:{default:e}}function C(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function T(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r}function I(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function k(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if("function"!=typeof n)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var L="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function R(e){function t(t){e.error=e.hasError?new L(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var n=e.stack.pop();try{var o=n.dispose&&n.dispose.call(n.value);if(n.async)return Promise.resolve(o).then(r,(function(e){return t(e),r()}))}catch(s){t(s)}}if(e.hasError)throw e.error}()}const M={__extends:o,__assign:s,__rest:a,__decorate:i,__param:c,__metadata:p,__awaiter:v,__generator:g,__createBinding:y,__exportStar:m,__values:h,__read:_,__spread:b,__spreadArrays:w,__spreadArray:P,__await:D,__asyncGenerator:O,__asyncDelegator:E,__asyncValues:j,__makeTemplateObject:S,__importStar:V,__importDefault:x,__classPrivateFieldGet:C,__classPrivateFieldSet:T,__classPrivateFieldIn:I,__addDisposableResource:k,__disposeResources:R}}}]); \ No newline at end of file diff --git a/assets/js/5be3bbaa.377e1e85.js b/assets/js/5be3bbaa.377e1e85.js deleted file mode 100644 index ec73f2b7..00000000 --- a/assets/js/5be3bbaa.377e1e85.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5613],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>m});var a=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),u=c(n),d=o,m=u["".concat(l,".").concat(d)]||u[d]||h[d]||r;return n?a.createElement(m,i(i({ref:t},p),{},{components:n})):a.createElement(m,i({ref:t},p))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,i=new Array(r);i[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:o,i[1]=s;for(var c=2;c{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>r,metadata:()=>i,toc:()=>s});var a=n(87462),o=(n(67294),n(3905));const r={},i={unversionedId:"tech/z-dag",id:"tech/z-dag",isDocsHomePage:!1,title:"Z-DAG (UTXO)",description:"Z-DAG White Paper (note: this paper does not reflect optimizations that came later)",source:"@site/docs/tech/z-dag.mdx",sourceDirName:"tech",slug:"/tech/z-dag",permalink:"/docs/tech/z-dag",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Syscoin Platform Tokens (SPTs)",permalink:"/docs/tech/tokens"},next:{title:"Resources",permalink:"/docs/dev-resources/nevm/resources"}},s=[{value:"How is it useful?",id:"how-is-it-useful",children:[]},{value:"Throughput Performance",id:"throughput-performance",children:[]},{value:"Scaling to Global Population Demand",id:"scaling-to-global-population-demand",children:[]}],l={toc:s},c="wrapper";function p(e){let{components:t,...n}=e;return(0,o.kt)(c,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://syscoin.org/zdag_syscoin_whitepaper.pdf"},"Z-DAG White Paper")," (note: this paper does not reflect optimizations that came later)"),(0,o.kt)("p",null,"Z-DAG is proprietary to Syscoin's native UTXO chain. It is not designed to function on Syscoin's EVM chain (NEVM)."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Syscoin's Z-DAG is a blockchain throughput scalability solution")," that adds very little complexity. It solves problems endemic across the industry, not by altering mission-critical fundamentals or reinventing the wheel, but through proper tooling and facilitation across the network to maximize the utility of battle-tested Bitcoin code."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG is based on Satoshi\u2019s \u201csnack machine\u201d concept.")," It was invented by Syscoin Lead Core Developer Jag Sidhu to actualize peer-to-peer electronic cash and extend means-of-exchange to tokenized assets. It utilizes mempool awareness and fast relay topology across a network of independently operating full nodes (2k+ at present), all of which validate first, then trust. A high degree of probabilistic security is enabled by fast propagation across time-sorting mempools. This global mempool is made interactive and useful to the recipient through tooling that provides mempool status awareness."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"The probabilistic security provided by Z-DAG represents a guarantee that a transaction is not double-spent"),", and will be accepted into a block and settled on-chain. The probability increases rapidly across time, to 99.9999% assurance within 10 seconds."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"This enables a much more efficient fee market than bidding for a block.")," A typical Z-DAG transaction costs 0.0000582 SYS (see: ",(0,o.kt)("a",{parentName:"p",href:"https://syscoin.org/fees"},"https://syscoin.org/fees")," for a live fee comparison), and provides secure high-throughput service even if blocks are full. This is technically a layer-1 solution because the mempool resides within the blockchain security domain and ",(0,o.kt)("strong",{parentName:"p"},"all valid transactions that use Z-DAG settle on-chain through bitcoin-core-compliant consensus"),"."),(0,o.kt)("h3",{id:"how-is-it-useful"},"How is it useful?"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Syscoin\u2019s implementation is particularly useful for microtransactions with tokens")," such as buying groceries with ",(0,o.kt)("a",{parentName:"p",href:"https://www.binance.com/en/blog/421499824684900781/Binance-Blockchain-Foundry-Work-Together-for-Wider-BUSD-Access"},"Binance USD"),", ",(0,o.kt)("a",{parentName:"p",href:"https://www.circle.com/en/usdc"},"USDC"),", or simple value transfer of any token (this includes ERC-20s that use our ",(0,o.kt)("a",{parentName:"p",href:"https://bridge.syscoin.org/"},"bridge")," that is permissionless and trust-minimized). Z-DAG Protocol is utilized exclusively by the Syscoin token layer; all projects that tokenize on Syscoin benefit from this."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG allows merchants or application developers to define their ideal speed/security trade-off")," particular to their use case, for example depending on the value involved. A merchant receiving payment for coffee might choose to wait only a few seconds before considering the payment safe against double-spends and redeemable. A cart full of groceries? Maybe 5 to 10 seconds. On the other hand, a nation-state settling a cross-border trade debt might wait for what they consider a sufficient number of confirmations (60 sec block target) on Syscoin's bitcoin-core-compliant and merge-mined blockchain."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG is more ideal for payments than other scaling approaches")," that try to change the court-of-record (blockchain) consensus to force it to function as a payments service, ultimately tampering with proven security and creating severe trade-offs that are global."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Industry-proven decentralized consensus is valuable to enterprises"),". Our solution leaves the base layer intact. Syscoin Core is \u201creligiously\u201d maintained to remain bitcoin-core-compliant and up-to-date in a timely fashion (sometimes involving multiple commits in a single day), with 90%+ code coverage."),(0,o.kt)("h3",{id:"throughput-performance"},"Throughput Performance"),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://whiteblock.io/"},(0,o.kt)("strong",{parentName:"a"},"Whiteblock Inc")),(0,o.kt)("strong",{parentName:"p"},", a third-party auditor, provided performance benchmarks of Z-DAG within realistic network conditions"),", using hosts with standard Syscoin masternode hardware specs. Whiteblock is well-known for its benchmark service and Genesis platform, particularly among the Ethereum community. The results for Z-DAG can be summarized as follows."),(0,o.kt)("p",null,(0,o.kt)("img",{parentName:"p",src:"https://syscoin.org/thumbs/1044x/files//whiteblockcasestudy.png",alt:"img"})),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Parameters:")," network latency, quantity of nodes, quantity of assets."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Average throughput: 8k - 15k")," TPS depending on a range of latency"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Burst throughput: 61k TPS")," (this rate can be sustained as long as the mempool is not full and latency conditions are conducive)"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Zero-latency control group: 145K TPS")," (how most projects measure their TPS)")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"These represent some of the most positive throughput statistics in the industry")," for a decentralized ledger network. We plan to perform even more thorough testing once sufficient optimizations have been introduced. Substantial resources would be required to even approach pushing Z-DAG to its limit on the live mainnet."),(0,o.kt)("p",null,"Whiteblock's report on Z-DAG is public: ",(0,o.kt)("a",{parentName:"p",href:"https://www.whiteblock.io/wp-content/uploads/2019/07/ZDAG-Analysis.pdf"},"Full Report"),", ",(0,o.kt)("a",{parentName:"p",href:"https://whiteblock.io/wp-content/uploads/2019/12/ZDAG-Case-Study.pdf"},"Summary Report")),(0,o.kt)("h3",{id:"scaling-to-global-population-demand"},"Scaling to Global Population Demand"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"The Syscoin Team understands Z-DAG itself does not solve scalability for global population demand -")," the semi-absurd notion of 7 billion people transacting. Rather, we see it as an absolutely critical component to achieve this. The other component needed is multi-asset payment channels that use Z-DAG as a resilience fallback. One of the biggest problems with payment channels today is that when they aren't available (for any reason, e.g. lack of channel liquidity) the transactions roll directly to blockchain settlement. That destroys convenience and cost-savings, making payment channels non-viable as a decentralized payments solution compared to existing rails like centralized credit card networks."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG fills this significant gap")," by providing a performant decentralized fallback with a reasonable and predictable fee-market. Syscoin and some academic partners like ",(0,o.kt)("a",{parentName:"p",href:"https://www.tudelft.nl/"},"TU Delft")," are currently involved in R&D toward secure multi-asset payment channels - a technology which the industry has not yet achieved. We will combine this with Z-DAG."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/5be3bbaa.e51dcbb7.js b/assets/js/5be3bbaa.e51dcbb7.js new file mode 100644 index 00000000..0433bb53 --- /dev/null +++ b/assets/js/5be3bbaa.e51dcbb7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[5613],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>d});var a=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},h=a.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),h=c(n),d=o,m=h["".concat(l,".").concat(d)]||h[d]||u[d]||r;return n?a.createElement(m,i(i({ref:t},p),{},{components:n})):a.createElement(m,i({ref:t},p))}));function d(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,i=new Array(r);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,i[1]=s;for(var c=2;c{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>r,metadata:()=>i,toc:()=>s});var a=n(87462),o=(n(67294),n(3905));const r={},i={unversionedId:"tech/z-dag",id:"tech/z-dag",isDocsHomePage:!1,title:"Z-DAG (UTXO)",description:"Z-DAG White Paper (note: this paper does not reflect optimizations that came later)",source:"@site/docs/tech/z-dag.mdx",sourceDirName:"tech",slug:"/tech/z-dag",permalink:"/docs/tech/z-dag",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Syscoin Platform Tokens (SPTs)",permalink:"/docs/tech/tokens"},next:{title:"Resources",permalink:"/docs/dev-resources/nevm/resources"}},s=[{value:"How is it useful?",id:"how-is-it-useful",children:[]},{value:"Throughput Performance",id:"throughput-performance",children:[]},{value:"Scaling to Global Population Demand",id:"scaling-to-global-population-demand",children:[]}],l={toc:s};function c(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://syscoin.org/zdag_syscoin_whitepaper.pdf"},"Z-DAG White Paper")," (note: this paper does not reflect optimizations that came later)"),(0,o.kt)("p",null,"Z-DAG is proprietary to Syscoin's native UTXO chain. It is not designed to function on Syscoin's EVM chain (NEVM)."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Syscoin's Z-DAG is a blockchain throughput scalability solution")," that adds very little complexity. It solves problems endemic across the industry, not by altering mission-critical fundamentals or reinventing the wheel, but through proper tooling and facilitation across the network to maximize the utility of battle-tested Bitcoin code."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG is based on Satoshi\u2019s \u201csnack machine\u201d concept.")," It was invented by Syscoin Lead Core Developer Jag Sidhu to actualize peer-to-peer electronic cash and extend means-of-exchange to tokenized assets. It utilizes mempool awareness and fast relay topology across a network of independently operating full nodes (2k+ at present), all of which validate first, then trust. A high degree of probabilistic security is enabled by fast propagation across time-sorting mempools. This global mempool is made interactive and useful to the recipient through tooling that provides mempool status awareness."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"The probabilistic security provided by Z-DAG represents a guarantee that a transaction is not double-spent"),", and will be accepted into a block and settled on-chain. The probability increases rapidly across time, to 99.9999% assurance within 10 seconds."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"This enables a much more efficient fee market than bidding for a block.")," A typical Z-DAG transaction costs 0.0000582 SYS (see: ",(0,o.kt)("a",{parentName:"p",href:"https://syscoin.org/fees"},"https://syscoin.org/fees")," for a live fee comparison), and provides secure high-throughput service even if blocks are full. This is technically a layer-1 solution because the mempool resides within the blockchain security domain and ",(0,o.kt)("strong",{parentName:"p"},"all valid transactions that use Z-DAG settle on-chain through bitcoin-core-compliant consensus"),"."),(0,o.kt)("h3",{id:"how-is-it-useful"},"How is it useful?"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Syscoin\u2019s implementation is particularly useful for microtransactions with tokens")," such as buying groceries with ",(0,o.kt)("a",{parentName:"p",href:"https://www.binance.com/en/blog/421499824684900781/Binance-Blockchain-Foundry-Work-Together-for-Wider-BUSD-Access"},"Binance USD"),", ",(0,o.kt)("a",{parentName:"p",href:"https://www.circle.com/en/usdc"},"USDC"),", or simple value transfer of any token (this includes ERC-20s that use our ",(0,o.kt)("a",{parentName:"p",href:"https://bridge.syscoin.org/"},"bridge")," that is permissionless and trust-minimized). Z-DAG Protocol is utilized exclusively by the Syscoin token layer; all projects that tokenize on Syscoin benefit from this."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG allows merchants or application developers to define their ideal speed/security trade-off")," particular to their use case, for example depending on the value involved. A merchant receiving payment for coffee might choose to wait only a few seconds before considering the payment safe against double-spends and redeemable. A cart full of groceries? Maybe 5 to 10 seconds. On the other hand, a nation-state settling a cross-border trade debt might wait for what they consider a sufficient number of confirmations (60 sec block target) on Syscoin's bitcoin-core-compliant and merge-mined blockchain."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG is more ideal for payments than other scaling approaches")," that try to change the court-of-record (blockchain) consensus to force it to function as a payments service, ultimately tampering with proven security and creating severe trade-offs that are global."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Industry-proven decentralized consensus is valuable to enterprises"),". Our solution leaves the base layer intact. Syscoin Core is \u201creligiously\u201d maintained to remain bitcoin-core-compliant and up-to-date in a timely fashion (sometimes involving multiple commits in a single day), with 90%+ code coverage."),(0,o.kt)("h3",{id:"throughput-performance"},"Throughput Performance"),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://whiteblock.io/"},(0,o.kt)("strong",{parentName:"a"},"Whiteblock Inc")),(0,o.kt)("strong",{parentName:"p"},", a third-party auditor, provided performance benchmarks of Z-DAG within realistic network conditions"),", using hosts with standard Syscoin masternode hardware specs. Whiteblock is well-known for its benchmark service and Genesis platform, particularly among the Ethereum community. The results for Z-DAG can be summarized as follows."),(0,o.kt)("p",null,(0,o.kt)("img",{parentName:"p",src:"https://syscoin.org/thumbs/1044x/files//whiteblockcasestudy.png",alt:"img"})),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Parameters:")," network latency, quantity of nodes, quantity of assets."),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Average throughput: 8k - 15k")," TPS depending on a range of latency"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Burst throughput: 61k TPS")," (this rate can be sustained as long as the mempool is not full and latency conditions are conducive)"),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},"Zero-latency control group: 145K TPS")," (how most projects measure their TPS)")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"These represent some of the most positive throughput statistics in the industry")," for a decentralized ledger network. We plan to perform even more thorough testing once sufficient optimizations have been introduced. Substantial resources would be required to even approach pushing Z-DAG to its limit on the live mainnet."),(0,o.kt)("p",null,"Whiteblock's report on Z-DAG is public: ",(0,o.kt)("a",{parentName:"p",href:"https://www.whiteblock.io/wp-content/uploads/2019/07/ZDAG-Analysis.pdf"},"Full Report"),", ",(0,o.kt)("a",{parentName:"p",href:"https://whiteblock.io/wp-content/uploads/2019/12/ZDAG-Case-Study.pdf"},"Summary Report")),(0,o.kt)("h3",{id:"scaling-to-global-population-demand"},"Scaling to Global Population Demand"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"The Syscoin Team understands Z-DAG itself does not solve scalability for global population demand -")," the semi-absurd notion of 7 billion people transacting. Rather, we see it as an absolutely critical component to achieve this. The other component needed is multi-asset payment channels that use Z-DAG as a resilience fallback. One of the biggest problems with payment channels today is that when they aren't available (for any reason, e.g. lack of channel liquidity) the transactions roll directly to blockchain settlement. That destroys convenience and cost-savings, making payment channels non-viable as a decentralized payments solution compared to existing rails like centralized credit card networks."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Z-DAG fills this significant gap")," by providing a performant decentralized fallback with a reasonable and predictable fee-market. Syscoin and some academic partners like ",(0,o.kt)("a",{parentName:"p",href:"https://www.tudelft.nl/"},"TU Delft")," are currently involved in R&D toward secure multi-asset payment channels - a technology which the industry has not yet achieved. We will combine this with Z-DAG."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/626b2642.c5f25869.js b/assets/js/626b2642.c2b31d83.js similarity index 94% rename from assets/js/626b2642.c5f25869.js rename to assets/js/626b2642.c2b31d83.js index 7718b391..61fd0939 100644 --- a/assets/js/626b2642.c5f25869.js +++ b/assets/js/626b2642.c2b31d83.js @@ -1 +1 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1777],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(13960),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>l,qp:()=>k,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>T,h$:()=>B,f2:()=>O,tD:()=>I,x6:()=>A,ri:()=>U,pR:()=>P,kG:()=>q,MP:()=>D,OK:()=>R,IM:()=>X,WO:()=>H,II:()=>V,vu:()=>z,R5:()=>J,S7:()=>E,KF:()=>G,s9:()=>M,lX:()=>C,Gu:()=>F,lV:()=>L,Zm:()=>W,Kg:()=>K,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>le,MC:()=>ke,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Te,zT:()=>Be,i8:()=>Oe,y5:()=>Ie,p1:()=>Ae,x2:()=>Ue,XN:()=>Pe,Yl:()=>qe,OR:()=>De,ge:()=>Re,i0:()=>Xe,x3:()=>He,vl:()=>Ve,M9:()=>ze,GN:()=>Je,Nv:()=>Ee,hY:()=>Ge,iN:()=>Me,kf:()=>Ce,CH:()=>Fe,M2:()=>Le,Nt:()=>We,tf:()=>Ke,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>lt,BH:()=>kt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),B=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),O=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),U=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),P=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),R=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),X=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),H=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),V=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),z=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),J=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),G=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),F=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),K=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),le=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),ke=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Be=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Oe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Ue=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Pe=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Re=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Xe=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),He=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ve=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),ze=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),Je=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ee=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Me=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Fe=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ke=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},16608:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);a(66367);const o={sidebar_position:3},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/utils",id:"dev-resources/documentation/javascript-sdk-ref/utils",isDocsHomePage:!1,title:"Utils",description:"These are the utility functions found in utils.js.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/utils.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/utils",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/utils",version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Syscoinjs-lib",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs"},next:{title:"HDSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner"}},c=[{value:"buildEthProof",id:"buildethproof",children:[]},{value:"createAssetID",id:"createassetid",children:[]},{value:"fetchBackendAccount",id:"fetchbackendaccount",children:[]},{value:"fetchBackendAsset",id:"fetchbackendasset",children:[]},{value:"fetchBackendBlock",id:"fetchbackendblock",children:[]},{value:"fetchBackendListAssets",id:"fetchbackendlistassets",children:[]},{value:"fetchBackendRawTx",id:"fetchbackendrawtx",children:[]},{value:"fetchBackendSPVProof",id:"fetchbackendspvproof",children:[]},{value:"fetchBackendUTXOS",id:"fetchbackendutxos",children:[]},{value:"fetchEstimateFee",id:"fetchestimatefee",children:[]},{value:"fetchNotarizationFromEndPoint",id:"fetchnotarizationfromendpoint",children:[]},{value:"fetchProviderInfo",id:"fetchproviderinfo",children:[]},{value:"getAllocationsFromTx",id:"getallocationsfromtx",children:[]},{value:"getAssetsRequiringNotarization",id:"getassetsrequiringnotarization",children:[]},{value:"getAssetIDs",id:"getassetids",children:[]},{value:"getBaseAssetID",id:"getbaseassetid",children:[]},{value:"getMemoFromOpReturn",id:"getmemofromopreturn",children:[]},{value:"getMemoFromScript",id:"getmemofromscript",children:[]},{value:"getNotarizationSignatures",id:"getnotarizationsignatures",children:[]},{value:"HDSigner",id:"hdsigner",children:[]},{value:"notarizePSBT",id:"notarizepsbt",children:[]},{value:"sanitizeBlockbookUTXOs",id:"sanitizeblockbookutxos",children:[]},{value:"sendRawTransaction",id:"sendrawtransaction",children:[]},{value:"setTransactionMemo",id:"settransactionmemo",children:[]},{value:"signWithWIF",id:"signwithwif",children:[]},{value:"TrezorSigner",id:"trezorsigner",children:[]}],p={toc:c},u="wrapper";function y(e){let{components:t,...a}=e;return(0,n.kt)(u,(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"These are the utility functions found in utils.js."),(0,n.kt)("h3",{id:"buildethproof"},"buildEthProof"),(0,n.kt)("h5",{id:"buildethproof-assetinfo-"},(0,n.kt)("em",{parentName:"h5"},"buildEthProof( assetInfo )")),(0,n.kt)("p",null,"Build Ethereum SPV proof using eth-proof library."),(0,n.kt)(i.Z,{paramTable:r.KF,returnTable:r.s9,anchor:"#buildethproof",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createassetid"},"createAssetID"),(0,n.kt)("h5",{id:"createassetid-nftid-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"createAssetID( NFTID, assetGuid )")),(0,n.kt)("p",null,"Returns the GUID for a child asset with the given NFT ID, which would be issued from the specified base asset."),(0,n.kt)(i.Z,{paramTable:r.Zm,returnTable:r.Kg,anchor:"#createassetid",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendaccount"},"fetchBackendAccount"),(0,n.kt)("h5",{id:"fetchbackendaccount-backendurl-addressorxpub-options-xpub-signer-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendAccount( backendURL, addressOrXpub, options, xpub, signer )")),(0,n.kt)("p",null,"Fetch address or ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," information including transactions and balance information (based on options) from backend Blockbook provider."),(0,n.kt)(i.Z,{paramTable:r.oT,returnTable:r.oi,anchor:"#fetchbackendaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendasset"},"fetchBackendAsset"),(0,n.kt)("h5",{id:"fetchbackendasset-backendurl-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendAsset( backendURL, assetGuid )")),(0,n.kt)("p",null,"Fetches asset information from the backend Blockbook provider for a specific token/asset, given by the GUID."),(0,n.kt)(i.Z,{paramTable:r.d9,returnTable:r.$E,anchor:"#fetchbackendasset",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendblock"},"fetchBackendBlock"),(0,n.kt)("h5",{id:"fetchbackendblock-backendurl-blockhash-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendBlock( backendURL, blockhash )")),(0,n.kt)("p",null,"Fetches the information for a block from the backend, specified by the block hash."),(0,n.kt)(i.Z,{paramTable:r.e6,returnTable:r.Be,anchor:"#fetchbackendblock",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendlistassets"},"fetchBackendListAssets"),(0,n.kt)("h5",{id:"fetchbackendlistassets-backendurl-filter-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendListAssets( backendUrl, filter )")),(0,n.kt)("p",null,"Fetches a list of assets from backend Blockbook provider via a filter"),(0,n.kt)(i.Z,{paramTable:r.e4,returnTable:r.MC,anchor:"#fetchbackendlistassets",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendrawtx"},"fetchBackendRawTx"),(0,n.kt)("h5",{id:"fetchbackendrawtx-backendurl-txid-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendRawTx( backendURL, txid )")),(0,n.kt)("p",null,"Fetches the information for a transaction from the backend, specified by the transaction ID (txid)."),(0,n.kt)(i.Z,{paramTable:r.s,returnTable:r.DO,anchor:"#fetchbackendrawtx",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendspvproof"},"fetchBackendSPVProof"),(0,n.kt)("h5",{id:"fetchbackendspvproof-backendurl-txid-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendSPVProof( backendURL, txid )")),(0,n.kt)("p",null,"Fetches a SPV Proof from the backend Blockbook provider. To be used to create a proof for the NEVM bridge."),(0,n.kt)(i.Z,{paramTable:r.vd,returnTable:r.B9,anchor:"#fetchbackendspvproof",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendutxos"},"fetchBackendUTXOS"),(0,n.kt)("h5",{id:"fetchbackendutxos-backendurl-addressorxpub-options-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendUTXOS( backendURL, addressOrXpub, options )")),(0,n.kt)("p",null,"Fetch the UTXOs for an address or XPUB from the backend Blockbook provider."),(0,n.kt)(i.Z,{paramTable:r.j9,returnTable:r.GX,anchor:"#fetchbackendutxos",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchestimatefee"},"fetchEstimateFee"),(0,n.kt)("h5",{id:"fetchestimatefee-backendurl-blocks-options-"},(0,n.kt)("em",{parentName:"h5"},"fetchEstimateFee( backendURL, blocks, options )")),(0,n.kt)("p",null,"Get estimated fee from backend."),(0,n.kt)(i.Z,{paramTable:r.Mb,returnTable:r.AG,anchor:"#fetchestimatefee",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchnotarizationfromendpoint"},"fetchNotarizationFromEndPoint"),(0,n.kt)("h5",{id:"fetchnotarizationfromendpoint-endpoint-txhex-"},(0,n.kt)("em",{parentName:"h5"},"fetchNotarizationFromEndPoint( endPoint, txHex )")),(0,n.kt)("p",null,"Fetch notarization signature via axois from an endPoint URL, see spec for more info: ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki")),(0,n.kt)(i.Z,{paramTable:r.eL,returnTable:r.qA,anchor:"#fetchnotarizationfromendpoint",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchproviderinfo"},"fetchProviderInfo"),(0,n.kt)("h5",{id:"fetchproviderinfo-backendurl-"},(0,n.kt)("em",{parentName:"h5"},"fetchProviderInfo( backendURL )")),(0,n.kt)("p",null,"Fetches the provider info including blockbook and backend data."),(0,n.kt)(i.Z,{paramTable:r.zT,returnTable:r.i8,anchor:"#fetchproviderinfo",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getallocationsfromtx"},"getAllocationsFromTx"),(0,n.kt)("h5",{id:"getallocationsfromtx-tx-"},(0,n.kt)("em",{parentName:"h5"},"getAllocationsFromTx( tx )")),(0,n.kt)("p",null,"Get allocation information for an asset transaction."),(0,n.kt)(i.Z,{paramTable:r.OR,returnTable:r.ge,anchor:"#getallocationsfromtx",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getassetsrequiringnotarization"},"getAssetsRequiringNotarization"),(0,n.kt)("h5",{id:"getassetsrequiringnotarization-res-assets-"},(0,n.kt)("em",{parentName:"h5"},"getAssetsRequiringNotarization( res, assets )")),(0,n.kt)("p",null,"Get assets from the Result object assigned from syscointx.createTransaction() / syscointx.createAssetTransaction() that require notarization."),(0,n.kt)(i.Z,{paramTable:r.vl,returnTable:r.M9,anchor:"#getassetsrequiringnotarization",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getassetids"},"getAssetIDs"),(0,n.kt)("h5",{id:"getassetids-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"getAssetIDs( assetGuid )")),(0,n.kt)("p",null,"Given a certain child asset's GUID this will return the base asset's GUID as well as the child asset's NFT ID."),(0,n.kt)(i.Z,{paramTable:r.i0,returnTable:r.x3,anchor:"#getassetids",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getbaseassetid"},"getBaseAssetID"),(0,n.kt)("h5",{id:"getbaseassetid-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"getBaseAssetID( assetGuid )")),(0,n.kt)("p",null,"Given a certain child asset's GUID this will return the base asset's GUID, from which the child was issued with a NFT ID."),(0,n.kt)(i.Z,{paramTable:r.GN,returnTable:r.Nv,anchor:"#getbaseassetid",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getmemofromopreturn"},"getMemoFromOpReturn"),(0,n.kt)("h5",{id:"getmemofromopreturn-outputs-memoheader-"},(0,n.kt)("em",{parentName:"h5"},"getMemoFromOpReturn( outputs, memoHeader )")),(0,n.kt)("p",null,"Returns the memo from an array of outputs by finding the OP_RETURN output and extracting the memo from the script, returns null if not found."),(0,n.kt)(i.Z,{paramTable:r.iN,returnTable:r.kf,anchor:"#getmemofromopreturn",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getmemofromscript"},"getMemoFromScript"),(0,n.kt)("h5",{id:"getmemofromscript-script-memoheader-"},(0,n.kt)("em",{parentName:"h5"},"getMemoFromScript( script, memoHeader )")),(0,n.kt)("p",null,"Get the memo from a script."),(0,n.kt)(i.Z,{paramTable:r.CH,returnTable:r.M2,anchor:"#getmemofromscript",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnotarizationsignatures"},"getNotarizationSignatures"),(0,n.kt)("h5",{id:"getnotarizationsignatures-notaryassets-txhex-"},(0,n.kt)("em",{parentName:"h5"},"getNotarizationSignatures( notaryAssets, txHex )")),(0,n.kt)("p",null,"Get notarization signatures from a notary endpoint defined in the asset object. ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"See spec for more info.")),(0,n.kt)(i.Z,{paramTable:r.TV,returnTable:r.ZN,anchor:"#getnotarizationsignatures",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"hdsigner"},"HDSigner"),(0,n.kt)("h5",{id:"hdsigner-mnemonic-password-istestnet-networks-slip44-pubtypes-"},(0,n.kt)("em",{parentName:"h5"},"HDSigner( mnemonic, password, isTestnet, networks, SLIP44, pubTypes )")),(0,n.kt)("p",null,"Manage an HD wallet and accounts, connects to SyscoinJS object."),(0,n.kt)(i.Z,{paramTable:r.Vc,anchor:"#hdsigner",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"notarizepsbt"},"notarizePSBT"),(0,n.kt)("h5",{id:"notarizepsbt-psbt-notaryassets-rawtx-"},(0,n.kt)("em",{parentName:"h5"},"notarizePSBT( psbt, notaryAssets, rawTx )")),(0,n.kt)("p",null,"Notarize Result object from syscointx.createTransaction() / syscointx.createAssetTransaction() if required by the assets in the inputs of the transaction"),(0,n.kt)(i.Z,{paramTable:r.mD,returnTable:r.XZ,anchor:"#notarizepsbt",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sanitizeblockbookutxos"},"sanitizeBlockbookUTXOs"),(0,n.kt)("h5",{id:"sanitizeblockbookutxos-sysfromxpuboraddress-utxoobj-network-txopts-assetmap-excludezeroconf-"},(0,n.kt)("em",{parentName:"h5"},"sanitizeBlockbookUTXOs( sysFromXpubOrAddress, utxoObj, network, txOpts, assetMap, excludeZeroConf )")),(0,n.kt)("p",null,"Sanitize back-end provider UTXO objects to be useful for this library."),(0,n.kt)(i.Z,{paramTable:r.hC,returnTable:r.In,anchor:"#sanitizeblockbookutxos",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sendrawtransaction"},"sendRawTransaction"),(0,n.kt)("h5",{id:"sendrawtransaction-backendurl-txhex-signer-"},(0,n.kt)("em",{parentName:"h5"},"sendRawTransaction( backendURL, txHex, signer )")),(0,n.kt)("p",null,"Sends a raw transaction to the backend Blockbook provider to send to the network."),(0,n.kt)(i.Z,{paramTable:r.pc,returnTable:r.dW,anchor:"#sendrawtransaction",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"settransactionmemo"},"setTransactionMemo"),(0,n.kt)("h5",{id:"settransactionmemo-rawhex-memoheader-buffmemo-"},(0,n.kt)("em",{parentName:"h5"},"setTransactionMemo( rawHex, memoHeader, buffMemo )")),(0,n.kt)("p",null,"Sets a transaction's memo, or returns null if not found."),(0,n.kt)(i.Z,{paramTable:r.BP,returnTable:r.no,anchor:"#settransactionmemo",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"signwithwif"},"signWithWIF"),(0,n.kt)("h5",{id:"signwithwif-psbt-wif-network-"},(0,n.kt)("em",{parentName:"h5"},"signWithWIF( psbt, wif, network )")),(0,n.kt)("p",null,"Signs a PSBT/Result object with a WIF"),(0,n.kt)(i.Z,{paramTable:r.FJ,returnTable:r.Ry,anchor:"#signwithwif",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"trezorsigner"},"TrezorSigner"),(0,n.kt)("h5",{id:"trezorsigner-password-istestnet-networks-slip44-pubtypes-connectsrc-disablelazyload-"},(0,n.kt)("em",{parentName:"h5"},"TrezorSigner( password, isTestnet, networks, SLIP44, pubTypes, connectSrc, disableLazyLoad )")),(0,n.kt)("p",null,"Manage an HD wallet and accounts using a Trezor hardware wallet."),(0,n.kt)(i.Z,{paramTable:r.B$,anchor:"#trezorsigner",mdxType:"ShowInfoComponent"}))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1777],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(45822),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>l,qp:()=>k,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>T,h$:()=>B,f2:()=>O,tD:()=>I,x6:()=>A,ri:()=>U,pR:()=>P,kG:()=>q,MP:()=>D,OK:()=>R,IM:()=>X,WO:()=>H,II:()=>V,vu:()=>z,R5:()=>J,S7:()=>E,KF:()=>G,s9:()=>M,lX:()=>C,Gu:()=>F,lV:()=>L,Zm:()=>W,Kg:()=>K,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>le,MC:()=>ke,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Te,zT:()=>Be,i8:()=>Oe,y5:()=>Ie,p1:()=>Ae,x2:()=>Ue,XN:()=>Pe,Yl:()=>qe,OR:()=>De,ge:()=>Re,i0:()=>Xe,x3:()=>He,vl:()=>Ve,M9:()=>ze,GN:()=>Je,Nv:()=>Ee,hY:()=>Ge,iN:()=>Me,kf:()=>Ce,CH:()=>Fe,M2:()=>Le,Nt:()=>We,tf:()=>Ke,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>lt,BH:()=>kt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),B=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),O=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),U=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),P=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),R=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),X=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),H=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),V=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),z=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),J=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),G=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),F=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),K=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),le=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),ke=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Be=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Oe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Ue=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Pe=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Re=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Xe=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),He=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ve=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),ze=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),Je=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ee=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Me=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Fe=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ke=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},16608:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);a(66367);const o={sidebar_position:3},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/utils",id:"dev-resources/documentation/javascript-sdk-ref/utils",isDocsHomePage:!1,title:"Utils",description:"These are the utility functions found in utils.js.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/utils.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/utils",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/utils",version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Syscoinjs-lib",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs"},next:{title:"HDSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner"}},c=[{value:"buildEthProof",id:"buildethproof",children:[]},{value:"createAssetID",id:"createassetid",children:[]},{value:"fetchBackendAccount",id:"fetchbackendaccount",children:[]},{value:"fetchBackendAsset",id:"fetchbackendasset",children:[]},{value:"fetchBackendBlock",id:"fetchbackendblock",children:[]},{value:"fetchBackendListAssets",id:"fetchbackendlistassets",children:[]},{value:"fetchBackendRawTx",id:"fetchbackendrawtx",children:[]},{value:"fetchBackendSPVProof",id:"fetchbackendspvproof",children:[]},{value:"fetchBackendUTXOS",id:"fetchbackendutxos",children:[]},{value:"fetchEstimateFee",id:"fetchestimatefee",children:[]},{value:"fetchNotarizationFromEndPoint",id:"fetchnotarizationfromendpoint",children:[]},{value:"fetchProviderInfo",id:"fetchproviderinfo",children:[]},{value:"getAllocationsFromTx",id:"getallocationsfromtx",children:[]},{value:"getAssetsRequiringNotarization",id:"getassetsrequiringnotarization",children:[]},{value:"getAssetIDs",id:"getassetids",children:[]},{value:"getBaseAssetID",id:"getbaseassetid",children:[]},{value:"getMemoFromOpReturn",id:"getmemofromopreturn",children:[]},{value:"getMemoFromScript",id:"getmemofromscript",children:[]},{value:"getNotarizationSignatures",id:"getnotarizationsignatures",children:[]},{value:"HDSigner",id:"hdsigner",children:[]},{value:"notarizePSBT",id:"notarizepsbt",children:[]},{value:"sanitizeBlockbookUTXOs",id:"sanitizeblockbookutxos",children:[]},{value:"sendRawTransaction",id:"sendrawtransaction",children:[]},{value:"setTransactionMemo",id:"settransactionmemo",children:[]},{value:"signWithWIF",id:"signwithwif",children:[]},{value:"TrezorSigner",id:"trezorsigner",children:[]}],p={toc:c};function u(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"These are the utility functions found in utils.js."),(0,n.kt)("h3",{id:"buildethproof"},"buildEthProof"),(0,n.kt)("h5",{id:"buildethproof-assetinfo-"},(0,n.kt)("em",{parentName:"h5"},"buildEthProof( assetInfo )")),(0,n.kt)("p",null,"Build Ethereum SPV proof using eth-proof library."),(0,n.kt)(i.Z,{paramTable:r.KF,returnTable:r.s9,anchor:"#buildethproof",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createassetid"},"createAssetID"),(0,n.kt)("h5",{id:"createassetid-nftid-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"createAssetID( NFTID, assetGuid )")),(0,n.kt)("p",null,"Returns the GUID for a child asset with the given NFT ID, which would be issued from the specified base asset."),(0,n.kt)(i.Z,{paramTable:r.Zm,returnTable:r.Kg,anchor:"#createassetid",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendaccount"},"fetchBackendAccount"),(0,n.kt)("h5",{id:"fetchbackendaccount-backendurl-addressorxpub-options-xpub-signer-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendAccount( backendURL, addressOrXpub, options, xpub, signer )")),(0,n.kt)("p",null,"Fetch address or ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," information including transactions and balance information (based on options) from backend Blockbook provider."),(0,n.kt)(i.Z,{paramTable:r.oT,returnTable:r.oi,anchor:"#fetchbackendaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendasset"},"fetchBackendAsset"),(0,n.kt)("h5",{id:"fetchbackendasset-backendurl-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendAsset( backendURL, assetGuid )")),(0,n.kt)("p",null,"Fetches asset information from the backend Blockbook provider for a specific token/asset, given by the GUID."),(0,n.kt)(i.Z,{paramTable:r.d9,returnTable:r.$E,anchor:"#fetchbackendasset",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendblock"},"fetchBackendBlock"),(0,n.kt)("h5",{id:"fetchbackendblock-backendurl-blockhash-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendBlock( backendURL, blockhash )")),(0,n.kt)("p",null,"Fetches the information for a block from the backend, specified by the block hash."),(0,n.kt)(i.Z,{paramTable:r.e6,returnTable:r.Be,anchor:"#fetchbackendblock",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendlistassets"},"fetchBackendListAssets"),(0,n.kt)("h5",{id:"fetchbackendlistassets-backendurl-filter-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendListAssets( backendUrl, filter )")),(0,n.kt)("p",null,"Fetches a list of assets from backend Blockbook provider via a filter"),(0,n.kt)(i.Z,{paramTable:r.e4,returnTable:r.MC,anchor:"#fetchbackendlistassets",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendrawtx"},"fetchBackendRawTx"),(0,n.kt)("h5",{id:"fetchbackendrawtx-backendurl-txid-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendRawTx( backendURL, txid )")),(0,n.kt)("p",null,"Fetches the information for a transaction from the backend, specified by the transaction ID (txid)."),(0,n.kt)(i.Z,{paramTable:r.s,returnTable:r.DO,anchor:"#fetchbackendrawtx",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendspvproof"},"fetchBackendSPVProof"),(0,n.kt)("h5",{id:"fetchbackendspvproof-backendurl-txid-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendSPVProof( backendURL, txid )")),(0,n.kt)("p",null,"Fetches a SPV Proof from the backend Blockbook provider. To be used to create a proof for the NEVM bridge."),(0,n.kt)(i.Z,{paramTable:r.vd,returnTable:r.B9,anchor:"#fetchbackendspvproof",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchbackendutxos"},"fetchBackendUTXOS"),(0,n.kt)("h5",{id:"fetchbackendutxos-backendurl-addressorxpub-options-"},(0,n.kt)("em",{parentName:"h5"},"fetchBackendUTXOS( backendURL, addressOrXpub, options )")),(0,n.kt)("p",null,"Fetch the UTXOs for an address or XPUB from the backend Blockbook provider."),(0,n.kt)(i.Z,{paramTable:r.j9,returnTable:r.GX,anchor:"#fetchbackendutxos",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchestimatefee"},"fetchEstimateFee"),(0,n.kt)("h5",{id:"fetchestimatefee-backendurl-blocks-options-"},(0,n.kt)("em",{parentName:"h5"},"fetchEstimateFee( backendURL, blocks, options )")),(0,n.kt)("p",null,"Get estimated fee from backend."),(0,n.kt)(i.Z,{paramTable:r.Mb,returnTable:r.AG,anchor:"#fetchestimatefee",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchnotarizationfromendpoint"},"fetchNotarizationFromEndPoint"),(0,n.kt)("h5",{id:"fetchnotarizationfromendpoint-endpoint-txhex-"},(0,n.kt)("em",{parentName:"h5"},"fetchNotarizationFromEndPoint( endPoint, txHex )")),(0,n.kt)("p",null,"Fetch notarization signature via axois from an endPoint URL, see spec for more info: ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki")),(0,n.kt)(i.Z,{paramTable:r.eL,returnTable:r.qA,anchor:"#fetchnotarizationfromendpoint",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"fetchproviderinfo"},"fetchProviderInfo"),(0,n.kt)("h5",{id:"fetchproviderinfo-backendurl-"},(0,n.kt)("em",{parentName:"h5"},"fetchProviderInfo( backendURL )")),(0,n.kt)("p",null,"Fetches the provider info including blockbook and backend data."),(0,n.kt)(i.Z,{paramTable:r.zT,returnTable:r.i8,anchor:"#fetchproviderinfo",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getallocationsfromtx"},"getAllocationsFromTx"),(0,n.kt)("h5",{id:"getallocationsfromtx-tx-"},(0,n.kt)("em",{parentName:"h5"},"getAllocationsFromTx( tx )")),(0,n.kt)("p",null,"Get allocation information for an asset transaction."),(0,n.kt)(i.Z,{paramTable:r.OR,returnTable:r.ge,anchor:"#getallocationsfromtx",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getassetsrequiringnotarization"},"getAssetsRequiringNotarization"),(0,n.kt)("h5",{id:"getassetsrequiringnotarization-res-assets-"},(0,n.kt)("em",{parentName:"h5"},"getAssetsRequiringNotarization( res, assets )")),(0,n.kt)("p",null,"Get assets from the Result object assigned from syscointx.createTransaction() / syscointx.createAssetTransaction() that require notarization."),(0,n.kt)(i.Z,{paramTable:r.vl,returnTable:r.M9,anchor:"#getassetsrequiringnotarization",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getassetids"},"getAssetIDs"),(0,n.kt)("h5",{id:"getassetids-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"getAssetIDs( assetGuid )")),(0,n.kt)("p",null,"Given a certain child asset's GUID this will return the base asset's GUID as well as the child asset's NFT ID."),(0,n.kt)(i.Z,{paramTable:r.i0,returnTable:r.x3,anchor:"#getassetids",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getbaseassetid"},"getBaseAssetID"),(0,n.kt)("h5",{id:"getbaseassetid-assetguid-"},(0,n.kt)("em",{parentName:"h5"},"getBaseAssetID( assetGuid )")),(0,n.kt)("p",null,"Given a certain child asset's GUID this will return the base asset's GUID, from which the child was issued with a NFT ID."),(0,n.kt)(i.Z,{paramTable:r.GN,returnTable:r.Nv,anchor:"#getbaseassetid",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getmemofromopreturn"},"getMemoFromOpReturn"),(0,n.kt)("h5",{id:"getmemofromopreturn-outputs-memoheader-"},(0,n.kt)("em",{parentName:"h5"},"getMemoFromOpReturn( outputs, memoHeader )")),(0,n.kt)("p",null,"Returns the memo from an array of outputs by finding the OP_RETURN output and extracting the memo from the script, returns null if not found."),(0,n.kt)(i.Z,{paramTable:r.iN,returnTable:r.kf,anchor:"#getmemofromopreturn",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getmemofromscript"},"getMemoFromScript"),(0,n.kt)("h5",{id:"getmemofromscript-script-memoheader-"},(0,n.kt)("em",{parentName:"h5"},"getMemoFromScript( script, memoHeader )")),(0,n.kt)("p",null,"Get the memo from a script."),(0,n.kt)(i.Z,{paramTable:r.CH,returnTable:r.M2,anchor:"#getmemofromscript",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnotarizationsignatures"},"getNotarizationSignatures"),(0,n.kt)("h5",{id:"getnotarizationsignatures-notaryassets-txhex-"},(0,n.kt)("em",{parentName:"h5"},"getNotarizationSignatures( notaryAssets, txHex )")),(0,n.kt)("p",null,"Get notarization signatures from a notary endpoint defined in the asset object. ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/syscoin/sips/blob/master/sip-0002.mediawiki"},"See spec for more info.")),(0,n.kt)(i.Z,{paramTable:r.TV,returnTable:r.ZN,anchor:"#getnotarizationsignatures",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"hdsigner"},"HDSigner"),(0,n.kt)("h5",{id:"hdsigner-mnemonic-password-istestnet-networks-slip44-pubtypes-"},(0,n.kt)("em",{parentName:"h5"},"HDSigner( mnemonic, password, isTestnet, networks, SLIP44, pubTypes )")),(0,n.kt)("p",null,"Manage an HD wallet and accounts, connects to SyscoinJS object."),(0,n.kt)(i.Z,{paramTable:r.Vc,anchor:"#hdsigner",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"notarizepsbt"},"notarizePSBT"),(0,n.kt)("h5",{id:"notarizepsbt-psbt-notaryassets-rawtx-"},(0,n.kt)("em",{parentName:"h5"},"notarizePSBT( psbt, notaryAssets, rawTx )")),(0,n.kt)("p",null,"Notarize Result object from syscointx.createTransaction() / syscointx.createAssetTransaction() if required by the assets in the inputs of the transaction"),(0,n.kt)(i.Z,{paramTable:r.mD,returnTable:r.XZ,anchor:"#notarizepsbt",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sanitizeblockbookutxos"},"sanitizeBlockbookUTXOs"),(0,n.kt)("h5",{id:"sanitizeblockbookutxos-sysfromxpuboraddress-utxoobj-network-txopts-assetmap-excludezeroconf-"},(0,n.kt)("em",{parentName:"h5"},"sanitizeBlockbookUTXOs( sysFromXpubOrAddress, utxoObj, network, txOpts, assetMap, excludeZeroConf )")),(0,n.kt)("p",null,"Sanitize back-end provider UTXO objects to be useful for this library."),(0,n.kt)(i.Z,{paramTable:r.hC,returnTable:r.In,anchor:"#sanitizeblockbookutxos",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sendrawtransaction"},"sendRawTransaction"),(0,n.kt)("h5",{id:"sendrawtransaction-backendurl-txhex-signer-"},(0,n.kt)("em",{parentName:"h5"},"sendRawTransaction( backendURL, txHex, signer )")),(0,n.kt)("p",null,"Sends a raw transaction to the backend Blockbook provider to send to the network."),(0,n.kt)(i.Z,{paramTable:r.pc,returnTable:r.dW,anchor:"#sendrawtransaction",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"settransactionmemo"},"setTransactionMemo"),(0,n.kt)("h5",{id:"settransactionmemo-rawhex-memoheader-buffmemo-"},(0,n.kt)("em",{parentName:"h5"},"setTransactionMemo( rawHex, memoHeader, buffMemo )")),(0,n.kt)("p",null,"Sets a transaction's memo, or returns null if not found."),(0,n.kt)(i.Z,{paramTable:r.BP,returnTable:r.no,anchor:"#settransactionmemo",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"signwithwif"},"signWithWIF"),(0,n.kt)("h5",{id:"signwithwif-psbt-wif-network-"},(0,n.kt)("em",{parentName:"h5"},"signWithWIF( psbt, wif, network )")),(0,n.kt)("p",null,"Signs a PSBT/Result object with a WIF"),(0,n.kt)(i.Z,{paramTable:r.FJ,returnTable:r.Ry,anchor:"#signwithwif",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"trezorsigner"},"TrezorSigner"),(0,n.kt)("h5",{id:"trezorsigner-password-istestnet-networks-slip44-pubtypes-connectsrc-disablelazyload-"},(0,n.kt)("em",{parentName:"h5"},"TrezorSigner( password, isTestnet, networks, SLIP44, pubTypes, connectSrc, disableLazyLoad )")),(0,n.kt)("p",null,"Manage an HD wallet and accounts using a Trezor hardware wallet."),(0,n.kt)(i.Z,{paramTable:r.B$,anchor:"#trezorsigner",mdxType:"ShowInfoComponent"}))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/68865756.369836a9.js b/assets/js/68865756.369836a9.js deleted file mode 100644 index 313bb272..00000000 --- a/assets/js/68865756.369836a9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8692],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>m});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),l=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},c=function(e){var t=l(e.components);return a.createElement(d.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},h=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,d=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),p=l(n),h=r,m=p["".concat(d,".").concat(h)]||p[h]||u[h]||o;return n?a.createElement(m,s(s({ref:t},c),{},{components:n})):a.createElement(m,s({ref:t},c))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,s=new Array(o);s[0]=h;var i={};for(var d in t)hasOwnProperty.call(t,d)&&(i[d]=t[d]);i.originalType=e,i[p]="string"==typeof e?e:r,s[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const o={sidebar_position:5},s={unversionedId:"guides/mn_setup",id:"guides/mn_setup",isDocsHomePage:!1,title:"Masternode Setup Guide",description:"EACH MASTERNODE MUST HAVE THE FOLLOWING",source:"@site/docs/guides/mn_setup.mdx",sourceDirName:"guides",slug:"/guides/mn_setup",permalink:"/docs/guides/mn_setup",version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Use Syscoin 4.2 Tokens",permalink:"/docs/guides/spts/use-tokens"},next:{title:"Merged Mining Setup Guide",permalink:"/docs/guides/mining_setup"}},i=[{value:"EACH MASTERNODE MUST HAVE THE FOLLOWING",id:"each-masternode-must-have-the-following",children:[]},{value:"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum. You must install on a fresh new VPS.",id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum-you-must-install-on-a-fresh-new-vps",children:[]},{value:"Video Walkthrough",id:"video-walkthrough",children:[]},{value:"VPS Providers",id:"vps-providers",children:[]},{value:"MASTERNODE HELP",id:"masternode-help",children:[]},{value:"Prepare QT and Send 100k Syscoin",id:"prepare-qt-and-send-100k-syscoin",children:[]},{value:"Identify 100k Syscoin Transaction",id:"identify-100k-syscoin-transaction",children:[]},{value:"Generate BLS Key Pair",id:"generate-bls-key-pair",children:[]},{value:"Configure Masternode on VPS",id:"configure-masternode-on-vps",children:[]},{value:"Prepare a ProRegTx transaction",id:"prepare-a-proregtx-transaction",children:[]},{value:"Donate to the Syscoin Foundation",id:"donate-to-the-syscoin-foundation",children:[]},{value:"Register ProTx",id:"register-protx",children:[]},{value:"Sign the ProRegTx transaction",id:"sign-the-proregtx-transaction",children:[]},{value:"Submit the signed message",id:"submit-the-signed-message",children:[]},{value:"Specifying donation address for operatorReward (optional)",id:"specifying-donation-address-for-operatorreward-optional",children:[]},{value:"MASTERNODE COMMANDS",id:"masternode-commands",children:[]}],d={toc:i},l="wrapper";function c(e){let{components:t,...n}=e;return(0,r.kt)(l,(0,a.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h3",{id:"each-masternode-must-have-the-following"},"EACH MASTERNODE MUST HAVE THE FOLLOWING"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"1. A brand new VPS to install"),"\n",(0,r.kt)("strong",{parentName:"p"},"2. A Seperate BLS Key per node."),"\n",(0,r.kt)("strong",{parentName:"p"},"3. An Owner and Voting Key")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"You can not use the same BLS Key or Owner, Voting Keys for multiple nodes!")),(0,r.kt)("h3",{id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum-you-must-install-on-a-fresh-new-vps"},"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum. You must install on a fresh new VPS."),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"64-bit CPU \u2014 2 Cores (4 preferred)"),(0,r.kt)("li",{parentName:"ul"},"4gb RAM (real) minimum (8gb RAM preferred)"),(0,r.kt)("li",{parentName:"ul"},"4gb swap (if less than 8gb real RAM) Will need to use SSD if using Swap"),(0,r.kt)("li",{parentName:"ul"},"KVM or OpenVZ (KVM preferred)"),(0,r.kt)("li",{parentName:"ul"},"Linux OS \u2014 Minimum Ubuntu 18.04, LTS Ubuntu 20.04 LTS (Focal Fossa) preferred."),(0,r.kt)("li",{parentName:"ul"},"80gb Disk Space (100gb+ SSD preferred).")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},(0,r.kt)("strong",{parentName:"p"},"If using an existing address with seniority you will have to manually \u2018lock\u2019 the collateral. Do this via Coin Control - right click your 100k tx and click \u201cLock Unspent\u201d. You do not need to make a new transaction. Doing so will lose your Seniority. If setting up a Masternode with a seniority address you can skip to generating your BLS KEYS."))),(0,r.kt)("h2",{id:"video-walkthrough"},"Video Walkthrough"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://www.youtube.com/watch?v=pOwcFMP92hY"},"Masternode Install Guide")),(0,r.kt)("h2",{id:"vps-providers"},"VPS Providers"),(0,r.kt)("p",null,"There are many VPS service providers that offer and exceed the hardware requirements, as such it is recommended that you shop around and do your own homework on various potential providers. Note the following is a list of just some examples and should not be interpreted as recommendations or endorsement."),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://uk2.net/"},"UK2.net")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ionos.co.uk/"},"IONOS.co.uk")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://interserver.net/"},"InterServer.net")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ovh.co.uk/"},"OVH.co.uk")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://kimsufi.com/"},"KimSufi.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://mvps.net/"},"mVPS.net")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://vps-mart.com/"},"VPS-Mart.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://hostinger.com/"},"Hostinger.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://budgetvm.com/"},"BudgetVM.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://virtono.com/"},"Virtono.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://leaseweb.com/"},"LeaseWeb.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://homeatcloud.com/"},"HomeAtCloud.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ideastack.com/"},"IdeaStack.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ssdnodes.com/"},"SSDNodes.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://simplyhosting.com/"},"SimplyHosting.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ramnode.com/"},"RAMNode.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://time4vps.com/"},"Time4VPS.com"))),(0,r.kt)("h2",{id:"masternode-help"},"MASTERNODE HELP"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://discord.gg/RkK2AXD"},"Syscoin Discord"),": If you require more help, jump into the Syscoin Discord and our community will be more than happy to help you out!"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://sysnode.info/"},"Sysnode.info"),": This website has an array of tools such as Masternode Stats, Monitoring and keeping up to date with current news with Syscoin."),(0,r.kt)("h2",{id:"prepare-qt-and-send-100k-syscoin"},"Prepare QT and Send 100k Syscoin"),(0,r.kt)("p",null,"To stake your Masternode you will need to provide exactly ",(0,r.kt)("strong",{parentName:"p"},"100,000 SYS")," in your Masternode address. Use Syscoin Core Qt for your system to process this transaction."),(0,r.kt)("p",null,"Create a new address for collateral this does not need to be a legacy address anymore, or you can use an existing seniority address. If you are using an existing Seniority Address you do not have to make a new transaction or create a new address."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1\n")),(0,r.kt)("p",null,"Send exactly ",(0,r.kt)("strong",{parentName:"p"},"100,000 Syscoin")," to this address."),(0,r.kt)("h2",{id:"identify-100k-syscoin-transaction"},"Identify 100k Syscoin Transaction"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Click Window>Console and enter the following command: Note some commands now require an underscore")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"masternode_outputs\n")),(0,r.kt)("p",null,"This should return a string of characters similar to the following:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "3304a4920f20e1e5cd1f34e5396556ded1e603296f7c5dd66c7ec4fe63cb008d": "0"\n}\n')),(0,r.kt)("p",null,"The first long string is your collateralHash, while the last number is the collateralIndex."),(0,r.kt)("h2",{id:"generate-bls-key-pair"},"Generate BLS Key Pair"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},(0,r.kt)("strong",{parentName:"p"},"NOTE: YOU MUST CREATE A BLS KEY PAIR FOR EVERY NODE"))),(0,r.kt)("p",null,"A public/secret BLS key pair is required to operate a masternode. The secret key is specified on the masternode itself, and allows it to be included in the deterministic masternode list once a provider registration transaction with the corresponding public key has been created."),(0,r.kt)("p",null,"If you are using a hosting service, they may provide you with their public key, and you can skip this step. If you are hosting your own masternode or have agreed to provide your host with the BLS secret key, generate a BLS public/secret keypair in the Console and entering the following command:"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"These keys are NOT stored by the wallet and must be kept secure, similar to the value provided in the past by the masternode genkey command.")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'bls_generate\n{\n "secret": "1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7",\n "public": "05afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de"\n}\n')),(0,r.kt)("h2",{id:"configure-masternode-on-vps"},"Configure Masternode on VPS"),(0,r.kt)("p",null,"Finally we are ready to work on your server. Connect to your VPS as root via SSH (Putty) and enter the following command to start the automated install:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"bash <(curl -sL https://raw.githubusercontent.com/Syscoin/Masternode-install-script/master/script.sh)\n")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},(0,r.kt)("strong",{parentName:"p"},"Please also check the latest releases - if it is not 4.3.0, you will need to enter in the latest release tag for for Syscoin Core Github Branch. So if the latest release is 4.3.1, you would enter 4.3.1 and then press enter. You can check that here; ",(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/releases"},"Releases \xb7 syscoin/syscoin \xb7 GitHub")))),(0,r.kt)("p",null,"Default values are found in brackets and pressing enter will selected the ","[default]"," value. For entries with a ","[Y/n]"," the capital letter is the default. Enter ","[Y]"," to choose \u201cyes\u201d or ","[N]"," to choose \u201cno\u201d. Likely the only value you will need to enter is the latest release tag and Masternode BLS Secret key."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"Syscoin Core Github Branch [master]: enter latest release tag here. For eg. 4.3.0\nExternal IP Address [123.123.123.123]:\nMasternode Port [8369]:\nMasternode BLS Secret Key []: 1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7\nConfigure for mainnet? [Y/n]:\n\nPress any key to continue or Ctrl+C to exit...\n")),(0,r.kt)("p",null,"Once the build process and configuration have completed, to access the syscoind and syscoin-cli executables via the new syscoin user type the below into cmd; ",(0,r.kt)("inlineCode",{parentName:"p"},"source ~/.bashrc")),(0,r.kt)("p",null,"To check on sync status type; ",(0,r.kt)("inlineCode",{parentName:"p"},"syscli mnsync status")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Now head to your Syscoin QT to Register your masternode")),(0,r.kt)("h2",{id:"prepare-a-proregtx-transaction"},"Prepare a ProRegTx transaction"),(0,r.kt)("p",null,"A pair of BLS keys for the operator were already generated above, and the secret key was entered on the masternode. The public key is used in this transaction as the operatorPubKey"),(0,r.kt)("p",null,"First, we need to get a new, unused address from the wallet to serve as the owner key address ownerKeyAddr. This is not the same as the collateral address holding 100,000 Syscoin. This address must be different for each MN."),(0,r.kt)("p",null,"Generate a new address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-owner\n")),(0,r.kt)("p",null,"This address can also be used as the voting key address ",(0,r.kt)("strong",{parentName:"p"},"votingKeyAddr"),". Alternatively, you can specify an address provided to you by your chosen voting delegate, or simply generate a new voting key address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-voting\n")),(0,r.kt)("p",null,"Then either generate or choose an existing address to receive the owner\u2019s masternode payouts ",(0,r.kt)("strong",{parentName:"p"},"payoutAddress"),". This address cannot be the same as your owner or voting address, it is also possible to use an address external to the wallet:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress payouts\n")),(0,r.kt)("p",null,"You can also optionally generate and fund another address as the transaction fee source ",(0,r.kt)("strong",{parentName:"p"},"feeSourceAddress"),". If you selected an external payout address, you must specify a fee source address."),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Either the payout address or fee source address must have enough balance to pay the transaction fee, or the register_prepare transaction will fail.")),(0,r.kt)("p",null,"The private keys to the owner and fee source addresses must exist in the wallet submitting the transaction to the network. If your wallet is protected by a password, it must now be unlocked to perform the following commands. Unlock your wallet for 5 minutes:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"walletpassphrase yourSecretPassword 300\n")),(0,r.kt)("h2",{id:"donate-to-the-syscoin-foundation"},"Donate to the Syscoin Foundation"),(0,r.kt)("p",null,"When Registering your Syscoin Masternode in the next step you have the option to donate a percentage of your rewards to someone else via the ",(0,r.kt)("strong",{parentName:"p"},"operatorReward")," argument. Please help support the team and choose an amount that you are happy to donate such as 5% to 10%. By doing this you help the efforts of the Foundation on creating a solid network and the continued development of Syscoin. If you do select an amount, there will be an extra step at the end of the tutorial that you will need to complete via Syscoin QT console. ",(0,r.kt)("strong",{parentName:"p"},"The team thanks you in advance for your continued support.")),(0,r.kt)("h2",{id:"register-protx"},"Register ProTx"),(0,r.kt)("p",null,"We will now prepare an unsigned ProRegTx special transaction using the protx_register_prepare command."),(0,r.kt)("p",null,"This command has the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_prepare collateralHash collateralIndex ipAndPort ownerKeyAddr operatorPubKey votingKeyAddr operatorReward payoutAddress (feeSourceAddress)\n")),(0,r.kt)("p",null,"Open a text editor such as notepad ++ to prepare this command or head to ",(0,r.kt)("a",{parentName:"p",href:"https://syshub-dev.web.app/masternodes/masternode-registration"},"SysHub Masternode Registration"),"."),(0,r.kt)("p",null,"Replace each argument to the command as follows:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"collateralHash: The txid of the 100000 Syscoin collateral funding transaction"),(0,r.kt)("li",{parentName:"ul"},"collateralIndex: The output index of the 100000 Syscoin funding transaction"),(0,r.kt)("li",{parentName:"ul"},"ipAndPort: Masternode IP address and port, in the format x.x.x.x:yyyy"),(0,r.kt)("li",{parentName:"ul"},"ownerKeyAddr: The Syscoin address generated above for the owner address"),(0,r.kt)("li",{parentName:"ul"},"operatorPubKey: The BLS public key generated above (or provided by your hosting service)"),(0,r.kt)("li",{parentName:"ul"},"votingKeyAddr: The Syscoin address generated above, or the address of a delegate, used for proposal voting"),(0,r.kt)("li",{parentName:"ul"},"operatorReward: The percentage of the block reward allocated to the operator as payment, 0 for no reward - this is if you want to pay someone else a % of your rewards. ",(0,r.kt)("strong",{parentName:"li"},"This is the part where if you would like to donate to the Syscoin Foundation.")),(0,r.kt)("li",{parentName:"ul"},"payoutAddress: A Syscoin address to receive the owner\u2019s masternode rewards."),(0,r.kt)("li",{parentName:"ul"},"feeSourceAddress: An (optional) address used to fund ProTx fee. payoutAddress will be used if not specified.")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note that the operator is responsible for specifying their own reward address in a separate update_service transaction if you specify a non-zero operatorReward. The owner of the masternode collateral does not specify the operator\u2019s payout address.")),(0,r.kt)("p",null,"Either the ",(0,r.kt)("strong",{parentName:"p"},"feeSourceAddress")," or ",(0,r.kt)("strong",{parentName:"p"},"payoutAddress")," must hold a small balance since a standard transaction fee is involved. Example (remove line breaks if copying):"),(0,r.kt)("p",null,"Note in this example I will use the same address for owner and voting and i will have sent a small amount of Sys to the payoutAddress for fees as i am not using feeSourceAddress."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"(Remember to lock your collateral if using a seniority address)")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'Output:\n{\n "tx": "5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000",\n "collateralAddress": "TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG",\n "signMessage": "sys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0"\n}\n')),(0,r.kt)("p",null,"Next we will use the collateralAddress and signMessage fields to sign the transaction, and the output of the tx field to submit the transaction."),(0,r.kt)("h2",{id:"sign-the-proregtx-transaction"},"Sign the ProRegTx transaction"),(0,r.kt)("p",null,"We will now sign the content of the signMessage (returned above) field using the public key for the collateral address as specified in collateralAddress. The wallet used to sign must hold the private key to the collateral address and note that no internet connection is required for this step, meaning that the wallet can remain disconnected from the internet in cold storage to sign the message."),(0,r.kt)("p",null,"The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 collateralAddress signMessage\n")),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0\n")),(0,r.kt)("p",null,"Output: ",(0,r.kt)("inlineCode",{parentName:"p"},"IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=")),(0,r.kt)("h2",{id:"submit-the-signed-message"},"Submit the signed message"),(0,r.kt)("p",null,"We will now submit the ProRegTx special transaction to the blockchain to register the masternode. This command must be sent from the wallet holding a balance on either the feeSourceAddress or payoutAddress, since a standard transaction fee is involved."),(0,r.kt)("p",null,"The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit tx sig\n")),(0,r.kt)("p",null,"Where: tx: The serialized transaction previously returned in the tx output field from the protx_register_prepare command sig: The message returned from the signmessagebech32 command."),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit 5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000 IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"285fba6277586401f8efaf55d4eef7acfa6d690a30c0db7f213a0bb2c6194bd1\n")),(0,r.kt)("p",null,"Your masternode is now registered and will appear on the Deterministic Masternode List after the transaction is mined to a block."),(0,r.kt)("p",null,"You can view this list on the Masternodes tab in QT, or in the console using the command protx_list valid, where the txid of the final protx_register_submit transaction identifies your masternode."),(0,r.kt)("h2",{id:"specifying-donation-address-for-operatorreward-optional"},"Specifying donation address for operatorReward (optional)"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Syscoin Foundation Address:")," ",(0,r.kt)("inlineCode",{parentName:"p"},"sys1q6u9ey7qjh3fmnz5gsghcmpnjlh2akem4xm38sw")),(0,r.kt)("p",null,"You only need to do this if you input a value greater than 0 when completing the ProRegTx for operatorReward."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_update_service proTxHash ipAndPort operatorKey (operatorPayoutAddress feeSourceAddress)\n")),(0,r.kt)("p",null,"Where:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"proTxHash: The hash of the initial ProRegTx"),(0,r.kt)("li",{parentName:"ul"},"ipAndPort: IP and port in the form \u201cip:port\u201d"),(0,r.kt)("li",{parentName:"ul"},"operatorKey: The operator BLS private key associated with the registered operator public key"),(0,r.kt)("li",{parentName:"ul"},"operatorPayoutAddress: The address used for operator reward payments."),(0,r.kt)("li",{parentName:"ul"},"feeSourceAddress (optional): An address used to fund ProTx fee. operatorPayoutAddress will be used if not specified.")),(0,r.kt)("p",null,"Example:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx update_service 285fba6277586401f8efaf55d4eef7acfa6d690a30c0db7f213a0bb2c6194bd1 161.97.140.65:8369 1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7 sys1q6u9ey7qjh3fmnz5gsghcmpnjlh2akem4xm38sw\n")),(0,r.kt)("h2",{id:"masternode-commands"},"MASTERNODE COMMANDS"),(0,r.kt)("h6",{id:"view-your-syscoinconf"},"view your syscoin.conf"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo cat /home/syscoin/.syscoin/syscoin.conf\n")),(0,r.kt)("h6",{id:"view-your-sentinelconf"},"view your sentinel.conf"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo cat /home/syscoin/sentinel/sentinel.conf\n")),(0,r.kt)("h6",{id:"view-the-syscoin-user-crontab-which-should-contain"},"view the syscoin user crontab which should contain:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo crontab -u syscoin -l\n")),(0,r.kt)("h6",{id:"run-a-sentinel-ping-to-speed-up-qt-syncing-why-not"},"run a sentinel ping to speed up Qt syncing? why not!"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'sudo su -c "sentinel-ping" syscoin\n')),(0,r.kt)("h6",{id:"view-the-sentinel-ping-cron-log-look-for-errors"},"view the sentinel-ping cron log, look for errors"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo less /home/syscoin/sentinel/sentinel-cron.log\n")),(0,r.kt)("h6",{id:"view-the-syscoind-debug-log-look-for-errors"},"view the syscoind debug log, look for errors"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo less /home/syscoin/.syscoin/debug.log\n")),(0,r.kt)("h6",{id:"start-and-stop-the-syscoind-systemd-service"},"start and stop the syscoind systemd service"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo service syscoind stop\nsudo service syscoind start\nsudo service syscoind restart\n")),(0,r.kt)("h6",{id:"check-that-the-syscoind-process-is-running-at-the-proper-user"},"check that the syscoind process is running at the proper user"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"ps aux | grep [s]yscoind\n")),(0,r.kt)("h6",{id:"log-out-and-back-in-or-run-the-following-to-alias-syscoind-and-syscoin-cli"},"log out and back in or run the following to alias syscoind and syscoin-cli"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"source ~/.bashrc\n")),(0,r.kt)("h6",{id:"now-the-commands-run-as-the-syscoin-user"},"now the commands run as the syscoin user"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli getblockchaininfo\nsyscoin-cli mnsync status\nsyscoin-cli masternode_status\n")),(0,r.kt)("h6",{id:"it-is-aliased-to-this-shorter-function"},"it is aliased to this shorter function"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscli getblockchaininfo\nsyscli mnsync status\nsyscli masternode_status\n")),(0,r.kt)("h6",{id:"if-you-really-want-to-log-in-as-the-syscoin-user"},"if you really want to log in as the syscoin user"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo su - syscoin\n")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/68865756.cbbe3ab0.js b/assets/js/68865756.cbbe3ab0.js new file mode 100644 index 00000000..531d17d2 --- /dev/null +++ b/assets/js/68865756.cbbe3ab0.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8692],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>h});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var d=a.createContext({}),l=function(e){var t=a.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):s(s({},t),e)),n},c=function(e){var t=l(e.components);return a.createElement(d.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,d=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),u=l(n),h=r,m=u["".concat(d,".").concat(h)]||u[h]||p[h]||o;return n?a.createElement(m,s(s({ref:t},c),{},{components:n})):a.createElement(m,s({ref:t},c))}));function h(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,s=new Array(o);s[0]=u;var i={};for(var d in t)hasOwnProperty.call(t,d)&&(i[d]=t[d]);i.originalType=e,i.mdxType="string"==typeof e?e:r,s[1]=i;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const o={sidebar_position:5},s={unversionedId:"guides/mn_setup",id:"guides/mn_setup",isDocsHomePage:!1,title:"Masternode Setup Guide",description:"EACH MASTERNODE MUST HAVE THE FOLLOWING",source:"@site/docs/guides/mn_setup.mdx",sourceDirName:"guides",slug:"/guides/mn_setup",permalink:"/docs/guides/mn_setup",version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5},sidebar:"tutorialSidebar",previous:{title:"Use Syscoin 4.2 Tokens",permalink:"/docs/guides/spts/use-tokens"},next:{title:"Merged Mining Setup Guide",permalink:"/docs/guides/mining_setup"}},i=[{value:"EACH MASTERNODE MUST HAVE THE FOLLOWING",id:"each-masternode-must-have-the-following",children:[]},{value:"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum. You must install on a fresh new VPS.",id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum-you-must-install-on-a-fresh-new-vps",children:[]},{value:"Video Walkthrough",id:"video-walkthrough",children:[]},{value:"VPS Providers",id:"vps-providers",children:[]},{value:"MASTERNODE HELP",id:"masternode-help",children:[]},{value:"Prepare QT and Send 100k Syscoin",id:"prepare-qt-and-send-100k-syscoin",children:[]},{value:"Identify 100k Syscoin Transaction",id:"identify-100k-syscoin-transaction",children:[]},{value:"Generate BLS Key Pair",id:"generate-bls-key-pair",children:[]},{value:"Configure Masternode on VPS",id:"configure-masternode-on-vps",children:[]},{value:"Prepare a ProRegTx transaction",id:"prepare-a-proregtx-transaction",children:[]},{value:"Donate to the Syscoin Foundation",id:"donate-to-the-syscoin-foundation",children:[]},{value:"Register ProTx",id:"register-protx",children:[]},{value:"Sign the ProRegTx transaction",id:"sign-the-proregtx-transaction",children:[]},{value:"Submit the signed message",id:"submit-the-signed-message",children:[]},{value:"Specifying donation address for operatorReward (optional)",id:"specifying-donation-address-for-operatorreward-optional",children:[]},{value:"MASTERNODE COMMANDS",id:"masternode-commands",children:[]}],d={toc:i};function l(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h3",{id:"each-masternode-must-have-the-following"},"EACH MASTERNODE MUST HAVE THE FOLLOWING"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"1. A brand new VPS to install"),"\n",(0,r.kt)("strong",{parentName:"p"},"2. A Seperate BLS Key per node."),"\n",(0,r.kt)("strong",{parentName:"p"},"3. An Owner and Voting Key")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"You can not use the same BLS Key or Owner, Voting Keys for multiple nodes!")),(0,r.kt)("h3",{id:"below-are-the-minimum-requirements-for-your-vps-please-do-not-try-to-compile-without-the-minimum-you-must-install-on-a-fresh-new-vps"},"Below are the minimum requirements for your VPS. Please do not try to compile without the minimum. You must install on a fresh new VPS."),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"64-bit CPU \u2014 2 Cores (4 preferred)"),(0,r.kt)("li",{parentName:"ul"},"4gb RAM (real) minimum (8gb RAM preferred)"),(0,r.kt)("li",{parentName:"ul"},"4gb swap (if less than 8gb real RAM) Will need to use SSD if using Swap"),(0,r.kt)("li",{parentName:"ul"},"KVM or OpenVZ (KVM preferred)"),(0,r.kt)("li",{parentName:"ul"},"Linux OS \u2014 Minimum Ubuntu 18.04, LTS Ubuntu 20.04 LTS (Focal Fossa) preferred."),(0,r.kt)("li",{parentName:"ul"},"80gb Disk Space (100gb+ SSD preferred).")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},(0,r.kt)("strong",{parentName:"p"},"If using an existing address with seniority you will have to manually \u2018lock\u2019 the collateral. Do this via Coin Control - right click your 100k tx and click \u201cLock Unspent\u201d. You do not need to make a new transaction. Doing so will lose your Seniority. If setting up a Masternode with a seniority address you can skip to generating your BLS KEYS."))),(0,r.kt)("h2",{id:"video-walkthrough"},"Video Walkthrough"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://www.youtube.com/watch?v=pOwcFMP92hY"},"Masternode Install Guide")),(0,r.kt)("h2",{id:"vps-providers"},"VPS Providers"),(0,r.kt)("p",null,"There are many VPS service providers that offer and exceed the hardware requirements, as such it is recommended that you shop around and do your own homework on various potential providers. Note the following is a list of just some examples and should not be interpreted as recommendations or endorsement."),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://uk2.net/"},"UK2.net")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ionos.co.uk/"},"IONOS.co.uk")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://interserver.net/"},"InterServer.net")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ovh.co.uk/"},"OVH.co.uk")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://kimsufi.com/"},"KimSufi.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://mvps.net/"},"mVPS.net")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://vps-mart.com/"},"VPS-Mart.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://hostinger.com/"},"Hostinger.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://budgetvm.com/"},"BudgetVM.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://virtono.com/"},"Virtono.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://leaseweb.com/"},"LeaseWeb.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://homeatcloud.com/"},"HomeAtCloud.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ideastack.com/"},"IdeaStack.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ssdnodes.com/"},"SSDNodes.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://simplyhosting.com/"},"SimplyHosting.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://ramnode.com/"},"RAMNode.com")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"https://time4vps.com/"},"Time4VPS.com"))),(0,r.kt)("h2",{id:"masternode-help"},"MASTERNODE HELP"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://discord.gg/RkK2AXD"},"Syscoin Discord"),": If you require more help, jump into the Syscoin Discord and our community will be more than happy to help you out!"),(0,r.kt)("p",null,(0,r.kt)("a",{parentName:"p",href:"https://sysnode.info/"},"Sysnode.info"),": This website has an array of tools such as Masternode Stats, Monitoring and keeping up to date with current news with Syscoin."),(0,r.kt)("h2",{id:"prepare-qt-and-send-100k-syscoin"},"Prepare QT and Send 100k Syscoin"),(0,r.kt)("p",null,"To stake your Masternode you will need to provide exactly ",(0,r.kt)("strong",{parentName:"p"},"100,000 SYS")," in your Masternode address. Use Syscoin Core Qt for your system to process this transaction."),(0,r.kt)("p",null,"Create a new address for collateral this does not need to be a legacy address anymore, or you can use an existing seniority address. If you are using an existing Seniority Address you do not have to make a new transaction or create a new address."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1\n")),(0,r.kt)("p",null,"Send exactly ",(0,r.kt)("strong",{parentName:"p"},"100,000 Syscoin")," to this address."),(0,r.kt)("h2",{id:"identify-100k-syscoin-transaction"},"Identify 100k Syscoin Transaction"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"Click Window>Console and enter the following command: Note some commands now require an underscore")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"masternode_outputs\n")),(0,r.kt)("p",null,"This should return a string of characters similar to the following:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "3304a4920f20e1e5cd1f34e5396556ded1e603296f7c5dd66c7ec4fe63cb008d": "0"\n}\n')),(0,r.kt)("p",null,"The first long string is your collateralHash, while the last number is the collateralIndex."),(0,r.kt)("h2",{id:"generate-bls-key-pair"},"Generate BLS Key Pair"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},(0,r.kt)("strong",{parentName:"p"},"NOTE: YOU MUST CREATE A BLS KEY PAIR FOR EVERY NODE"))),(0,r.kt)("p",null,"A public/secret BLS key pair is required to operate a masternode. The secret key is specified on the masternode itself, and allows it to be included in the deterministic masternode list once a provider registration transaction with the corresponding public key has been created."),(0,r.kt)("p",null,"If you are using a hosting service, they may provide you with their public key, and you can skip this step. If you are hosting your own masternode or have agreed to provide your host with the BLS secret key, generate a BLS public/secret keypair in the Console and entering the following command:"),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"These keys are NOT stored by the wallet and must be kept secure, similar to the value provided in the past by the masternode genkey command.")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'bls_generate\n{\n "secret": "1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7",\n "public": "05afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de"\n}\n')),(0,r.kt)("h2",{id:"configure-masternode-on-vps"},"Configure Masternode on VPS"),(0,r.kt)("p",null,"Finally we are ready to work on your server. Connect to your VPS as root via SSH (Putty) and enter the following command to start the automated install:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"bash <(curl -sL https://raw.githubusercontent.com/Syscoin/Masternode-install-script/master/script.sh)\n")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},(0,r.kt)("strong",{parentName:"p"},"Please also check the latest releases - if it is not 4.3.0, you will need to enter in the latest release tag for for Syscoin Core Github Branch. So if the latest release is 4.3.1, you would enter 4.3.1 and then press enter. You can check that here; ",(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/releases"},"Releases \xb7 syscoin/syscoin \xb7 GitHub")))),(0,r.kt)("p",null,"Default values are found in brackets and pressing enter will selected the ","[default]"," value. For entries with a ","[Y/n]"," the capital letter is the default. Enter ","[Y]"," to choose \u201cyes\u201d or ","[N]"," to choose \u201cno\u201d. Likely the only value you will need to enter is the latest release tag and Masternode BLS Secret key."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"Syscoin Core Github Branch [master]: enter latest release tag here. For eg. 4.3.0\nExternal IP Address [123.123.123.123]:\nMasternode Port [8369]:\nMasternode BLS Secret Key []: 1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7\nConfigure for mainnet? [Y/n]:\n\nPress any key to continue or Ctrl+C to exit...\n")),(0,r.kt)("p",null,"Once the build process and configuration have completed, to access the syscoind and syscoin-cli executables via the new syscoin user type the below into cmd; ",(0,r.kt)("inlineCode",{parentName:"p"},"source ~/.bashrc")),(0,r.kt)("p",null,"To check on sync status type; ",(0,r.kt)("inlineCode",{parentName:"p"},"syscli mnsync status")),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Now head to your Syscoin QT to Register your masternode")),(0,r.kt)("h2",{id:"prepare-a-proregtx-transaction"},"Prepare a ProRegTx transaction"),(0,r.kt)("p",null,"A pair of BLS keys for the operator were already generated above, and the secret key was entered on the masternode. The public key is used in this transaction as the operatorPubKey"),(0,r.kt)("p",null,"First, we need to get a new, unused address from the wallet to serve as the owner key address ownerKeyAddr. This is not the same as the collateral address holding 100,000 Syscoin. This address must be different for each MN."),(0,r.kt)("p",null,"Generate a new address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-owner\n")),(0,r.kt)("p",null,"This address can also be used as the voting key address ",(0,r.kt)("strong",{parentName:"p"},"votingKeyAddr"),". Alternatively, you can specify an address provided to you by your chosen voting delegate, or simply generate a new voting key address as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress mn1-voting\n")),(0,r.kt)("p",null,"Then either generate or choose an existing address to receive the owner\u2019s masternode payouts ",(0,r.kt)("strong",{parentName:"p"},"payoutAddress"),". This address cannot be the same as your owner or voting address, it is also possible to use an address external to the wallet:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"getnewaddress payouts\n")),(0,r.kt)("p",null,"You can also optionally generate and fund another address as the transaction fee source ",(0,r.kt)("strong",{parentName:"p"},"feeSourceAddress"),". If you selected an external payout address, you must specify a fee source address."),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Either the payout address or fee source address must have enough balance to pay the transaction fee, or the register_prepare transaction will fail.")),(0,r.kt)("p",null,"The private keys to the owner and fee source addresses must exist in the wallet submitting the transaction to the network. If your wallet is protected by a password, it must now be unlocked to perform the following commands. Unlock your wallet for 5 minutes:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"walletpassphrase yourSecretPassword 300\n")),(0,r.kt)("h2",{id:"donate-to-the-syscoin-foundation"},"Donate to the Syscoin Foundation"),(0,r.kt)("p",null,"When Registering your Syscoin Masternode in the next step you have the option to donate a percentage of your rewards to someone else via the ",(0,r.kt)("strong",{parentName:"p"},"operatorReward")," argument. Please help support the team and choose an amount that you are happy to donate such as 5% to 10%. By doing this you help the efforts of the Foundation on creating a solid network and the continued development of Syscoin. If you do select an amount, there will be an extra step at the end of the tutorial that you will need to complete via Syscoin QT console. ",(0,r.kt)("strong",{parentName:"p"},"The team thanks you in advance for your continued support.")),(0,r.kt)("h2",{id:"register-protx"},"Register ProTx"),(0,r.kt)("p",null,"We will now prepare an unsigned ProRegTx special transaction using the protx_register_prepare command."),(0,r.kt)("p",null,"This command has the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_prepare collateralHash collateralIndex ipAndPort ownerKeyAddr operatorPubKey votingKeyAddr operatorReward payoutAddress (feeSourceAddress)\n")),(0,r.kt)("p",null,"Open a text editor such as notepad ++ to prepare this command or head to ",(0,r.kt)("a",{parentName:"p",href:"https://syshub-dev.web.app/masternodes/masternode-registration"},"SysHub Masternode Registration"),"."),(0,r.kt)("p",null,"Replace each argument to the command as follows:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"collateralHash: The txid of the 100000 Syscoin collateral funding transaction"),(0,r.kt)("li",{parentName:"ul"},"collateralIndex: The output index of the 100000 Syscoin funding transaction"),(0,r.kt)("li",{parentName:"ul"},"ipAndPort: Masternode IP address and port, in the format x.x.x.x:yyyy"),(0,r.kt)("li",{parentName:"ul"},"ownerKeyAddr: The Syscoin address generated above for the owner address"),(0,r.kt)("li",{parentName:"ul"},"operatorPubKey: The BLS public key generated above (or provided by your hosting service)"),(0,r.kt)("li",{parentName:"ul"},"votingKeyAddr: The Syscoin address generated above, or the address of a delegate, used for proposal voting"),(0,r.kt)("li",{parentName:"ul"},"operatorReward: The percentage of the block reward allocated to the operator as payment, 0 for no reward - this is if you want to pay someone else a % of your rewards. ",(0,r.kt)("strong",{parentName:"li"},"This is the part where if you would like to donate to the Syscoin Foundation.")),(0,r.kt)("li",{parentName:"ul"},"payoutAddress: A Syscoin address to receive the owner\u2019s masternode rewards."),(0,r.kt)("li",{parentName:"ul"},"feeSourceAddress: An (optional) address used to fund ProTx fee. payoutAddress will be used if not specified.")),(0,r.kt)("blockquote",null,(0,r.kt)("p",{parentName:"blockquote"},"Note that the operator is responsible for specifying their own reward address in a separate update_service transaction if you specify a non-zero operatorReward. The owner of the masternode collateral does not specify the operator\u2019s payout address.")),(0,r.kt)("p",null,"Either the ",(0,r.kt)("strong",{parentName:"p"},"feeSourceAddress")," or ",(0,r.kt)("strong",{parentName:"p"},"payoutAddress")," must hold a small balance since a standard transaction fee is involved. Example (remove line breaks if copying):"),(0,r.kt)("p",null,"Note in this example I will use the same address for owner and voting and i will have sent a small amount of Sys to the payoutAddress for fees as i am not using feeSourceAddress."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"(Remember to lock your collateral if using a seniority address)")),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'Output:\n{\n "tx": "5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000",\n "collateralAddress": "TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG",\n "signMessage": "sys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0"\n}\n')),(0,r.kt)("p",null,"Next we will use the collateralAddress and signMessage fields to sign the transaction, and the output of the tx field to submit the transaction."),(0,r.kt)("h2",{id:"sign-the-proregtx-transaction"},"Sign the ProRegTx transaction"),(0,r.kt)("p",null,"We will now sign the content of the signMessage (returned above) field using the public key for the collateral address as specified in collateralAddress. The wallet used to sign must hold the private key to the collateral address and note that no internet connection is required for this step, meaning that the wallet can remain disconnected from the internet in cold storage to sign the message."),(0,r.kt)("p",null,"The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 collateralAddress signMessage\n")),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"signmessagebech32 TB59KQk6WsMaJxkc8UB3hudjtGMqfeQWSG tsys1quuu4ach5npjp3vpmaezzctc9r33405p39khz67|0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|tsys1q9aejtrvkrlnqsfeqanr5zh2wh676mvmekj4hj0|00def144051468bdb1a855f01bf9f022091c4c0ebc745d1ecc28ac418c9af2e0\n")),(0,r.kt)("p",null,"Output: ",(0,r.kt)("inlineCode",{parentName:"p"},"IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=")),(0,r.kt)("h2",{id:"submit-the-signed-message"},"Submit the signed message"),(0,r.kt)("p",null,"We will now submit the ProRegTx special transaction to the blockchain to register the masternode. This command must be sent from the wallet holding a balance on either the feeSourceAddress or payoutAddress, since a standard transaction fee is involved."),(0,r.kt)("p",null,"The command takes the following syntax:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit tx sig\n")),(0,r.kt)("p",null,"Where: tx: The serialized transaction previously returned in the tx output field from the protx_register_prepare command sig: The message returned from the signmessagebech32 command."),(0,r.kt)("p",null,"Example: (excluding \u201c \u201d)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_register_submit 5000000000010163dc2d9a36a7a620386a23002ab6b8a2aba0956e7e047b73a6cf27d9d51571e80100000000feffffff020000000000000000d16a4cce0100000000008d00cb63fec47e6cd65d7c6f2903e6d1de566539e5341fcde5e1200f92a404330000000000000000000000000000ffffa1618f4447c12f73258d961fe6082720ecc7415d4ebebdadb37905afc5f75d0a215951677703e41a108a67f2efb31110e392d988dbd4f9e8446a3336d59de1ff886ec0d3c65c822af2de2f73258d961fe6082720ecc7415d4ebebdadb3790000160014e7395ee2f4986418b03bee442c2f051c6357d0318e95079d496ed43baba5101dab0ab5ace776ac1b0b7fcba7711a2504c9ea36610074c89a3b00000000160014279a7a94c83130b3eee07f2c66b2faa94b6cfe990247304402201f1e01ab33d4f388386ca5df94818674cf4b1909806c3a92ffc11ded88d84dfb02206d289cca1fbd19bc5154c85ec4f1eb3748f77071d863ae4f6aa18f56807f76e801210298a88bd8293e4d0248eb89f276cb54c26b3686ea4e17df155a22bfed2426862800000000 IGj1ORdk3yv/uAMKG+DZrBA/GTHX4dW8zn/rmMfGzOzCIaxqmyUbNveYtnqh9wLVECENMjyuyeR2VmB3ccNlRLw=\n")),(0,r.kt)("p",null,"Output:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"285fba6277586401f8efaf55d4eef7acfa6d690a30c0db7f213a0bb2c6194bd1\n")),(0,r.kt)("p",null,"Your masternode is now registered and will appear on the Deterministic Masternode List after the transaction is mined to a block."),(0,r.kt)("p",null,"You can view this list on the Masternodes tab in QT, or in the console using the command protx_list valid, where the txid of the final protx_register_submit transaction identifies your masternode."),(0,r.kt)("h2",{id:"specifying-donation-address-for-operatorreward-optional"},"Specifying donation address for operatorReward (optional)"),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Syscoin Foundation Address:")," ",(0,r.kt)("inlineCode",{parentName:"p"},"sys1q6u9ey7qjh3fmnz5gsghcmpnjlh2akem4xm38sw")),(0,r.kt)("p",null,"You only need to do this if you input a value greater than 0 when completing the ProRegTx for operatorReward."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx_update_service proTxHash ipAndPort operatorKey (operatorPayoutAddress feeSourceAddress)\n")),(0,r.kt)("p",null,"Where:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"proTxHash: The hash of the initial ProRegTx"),(0,r.kt)("li",{parentName:"ul"},"ipAndPort: IP and port in the form \u201cip:port\u201d"),(0,r.kt)("li",{parentName:"ul"},"operatorKey: The operator BLS private key associated with the registered operator public key"),(0,r.kt)("li",{parentName:"ul"},"operatorPayoutAddress: The address used for operator reward payments."),(0,r.kt)("li",{parentName:"ul"},"feeSourceAddress (optional): An address used to fund ProTx fee. operatorPayoutAddress will be used if not specified.")),(0,r.kt)("p",null,"Example:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"protx update_service 285fba6277586401f8efaf55d4eef7acfa6d690a30c0db7f213a0bb2c6194bd1 161.97.140.65:8369 1a8f477d2b02650b7d159efe315940f05252334eb292376309386cc99b0c4ec7 sys1q6u9ey7qjh3fmnz5gsghcmpnjlh2akem4xm38sw\n")),(0,r.kt)("h2",{id:"masternode-commands"},"MASTERNODE COMMANDS"),(0,r.kt)("h6",{id:"view-your-syscoinconf"},"view your syscoin.conf"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo cat /home/syscoin/.syscoin/syscoin.conf\n")),(0,r.kt)("h6",{id:"view-your-sentinelconf"},"view your sentinel.conf"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo cat /home/syscoin/sentinel/sentinel.conf\n")),(0,r.kt)("h6",{id:"view-the-syscoin-user-crontab-which-should-contain"},"view the syscoin user crontab which should contain:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo crontab -u syscoin -l\n")),(0,r.kt)("h6",{id:"run-a-sentinel-ping-to-speed-up-qt-syncing-why-not"},"run a sentinel ping to speed up Qt syncing? why not!"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'sudo su -c "sentinel-ping" syscoin\n')),(0,r.kt)("h6",{id:"view-the-sentinel-ping-cron-log-look-for-errors"},"view the sentinel-ping cron log, look for errors"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo less /home/syscoin/sentinel/sentinel-cron.log\n")),(0,r.kt)("h6",{id:"view-the-syscoind-debug-log-look-for-errors"},"view the syscoind debug log, look for errors"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo less /home/syscoin/.syscoin/debug.log\n")),(0,r.kt)("h6",{id:"start-and-stop-the-syscoind-systemd-service"},"start and stop the syscoind systemd service"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo service syscoind stop\nsudo service syscoind start\nsudo service syscoind restart\n")),(0,r.kt)("h6",{id:"check-that-the-syscoind-process-is-running-at-the-proper-user"},"check that the syscoind process is running at the proper user"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"ps aux | grep [s]yscoind\n")),(0,r.kt)("h6",{id:"log-out-and-back-in-or-run-the-following-to-alias-syscoind-and-syscoin-cli"},"log out and back in or run the following to alias syscoind and syscoin-cli"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"source ~/.bashrc\n")),(0,r.kt)("h6",{id:"now-the-commands-run-as-the-syscoin-user"},"now the commands run as the syscoin user"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscoin-cli getblockchaininfo\nsyscoin-cli mnsync status\nsyscoin-cli masternode_status\n")),(0,r.kt)("h6",{id:"it-is-aliased-to-this-shorter-function"},"it is aliased to this shorter function"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"syscli getblockchaininfo\nsyscli mnsync status\nsyscli masternode_status\n")),(0,r.kt)("h6",{id:"if-you-really-want-to-log-in-as-the-syscoin-user"},"if you really want to log in as the syscoin user"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"sudo su - syscoin\n")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/75a64746.8d866dd5.js b/assets/js/75a64746.8d866dd5.js deleted file mode 100644 index 91f350bd..00000000 --- a/assets/js/75a64746.8d866dd5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9160],{3905:(e,n,t)=>{t.d(n,{Zo:()=>d,kt:()=>h});var a=t(67294);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function i(e){for(var n=1;n=0||(s[t]=e[t]);return s}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(s[t]=e[t])}return s}var l=a.createContext({}),u=function(e){var n=a.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},d=function(e){var n=u(e.components);return a.createElement(l.Provider,{value:n},e.children)},c="mdxType",p={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},f=a.forwardRef((function(e,n){var t=e.components,s=e.mdxType,o=e.originalType,l=e.parentName,d=r(e,["components","mdxType","originalType","parentName"]),c=u(t),f=s,h=c["".concat(l,".").concat(f)]||c[f]||p[f]||o;return t?a.createElement(h,i(i({ref:n},d),{},{components:t})):a.createElement(h,i({ref:n},d))}));function h(e,n){var t=arguments,s=n&&n.mdxType;if("string"==typeof e||s){var o=t.length,i=new Array(o);i[0]=f;var r={};for(var l in n)hasOwnProperty.call(n,l)&&(r[l]=n[l]);r.originalType=e,r[c]="string"==typeof e?e:s,i[1]=r;for(var u=2;u{t.r(n),t.d(n,{default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>r});var a=t(87462),s=(t(67294),t(3905));const o={},i={unversionedId:"guides/spts/create-issue-tokens",id:"guides/spts/create-issue-tokens",isDocsHomePage:!1,title:"Create/Issue Tokens",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/create-issue-tokens.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/create-issue-tokens",permalink:"/docs/guides/spts/create-issue-tokens",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Auxiliary Fees",permalink:"/docs/guides/spts/aux-fees"},next:{title:"Notary and Business Rulesets",permalink:"/docs/guides/spts/notary-business-rulesets"}},r=[{value:"1. Ensure your wallet has over 1 SYS to fund asset creation and other operations",id:"1-ensure-your-wallet-has-over-1-sys-to-fund-asset-creation-and-other-operations",children:[]},{value:"2. Define and create your token",id:"2-define-and-create-your-token",children:[]},{value:"3. Check the token specification",id:"3-check-the-token-specification",children:[]},{value:"4. Issue Fungible Tokens",id:"4-issue-fungible-tokens",children:[]},{value:"4b. Issue Non-Fungible Tokens",id:"4b-issue-non-fungible-tokens",children:[]},{value:"4b(i). How to Issue and Transfer a Fractional (Divisible) Non-Fungible Token",id:"4bi-how-to-issue-and-transfer-a-fractional-divisible-non-fungible-token",children:[]},{value:"4b(ii). How to Issue and Transfer a Non-Fractional Non-Fungible Token",id:"4bii-how-to-issue-and-transfer-a-non-fractional-non-fungible-token",children:[]}],l={toc:r},u="wrapper";function d(e){let{components:n,...t}=e;return(0,s.kt)(u,(0,a.Z)({},l,t,{components:n,mdxType:"MDXLayout"}),(0,s.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,s.kt)("div",{parentName:"div",className:"admonition-heading"},(0,s.kt)("h5",{parentName:"div"},(0,s.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,s.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,s.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,s.kt)("div",{parentName:"div",className:"admonition-content"},(0,s.kt)("p",{parentName:"div"},(0,s.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,s.kt)("br",{parentName:"p"}),"\n","Now ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,s.kt)("p",{parentName:"div"},"Examples are available at ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,s.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,s.kt)("p",null,"This guide helps you create and issue a Syscoin Platform Token (SPT) using Syscoin Core 4.3."),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"changes-to-the-syscoin-token-platform-since-syscoin-core-3"},"\ud83d\udea7Changes to the Syscoin Token Platform since Syscoin Core 3")),(0,s.kt)("blockquote",null,(0,s.kt)("ul",{parentName:"blockquote"},(0,s.kt)("li",{parentName:"ul"},"Non-Fungible Tokens (NFT), both fractional and non-fractional, are now supported"),(0,s.kt)("li",{parentName:"ul"},"All tokens are now UTXO-based (like Bitcoin) for greater efficiency instead of Account-based (like Ethereum)"),(0,s.kt)("li",{parentName:"ul"},"Tokens can now be used with Syscoin Bridge when Agent nodes are active"),(0,s.kt)("li",{parentName:"ul"},"Token creation fee is 1 SYS instead of 500 SYS"),(0,s.kt)("li",{parentName:"ul"},"New option: notary_address, notary_details (",(0,s.kt)("a",{parentName:"li",href:"notary-business-rulesets"},"learn more"),")"),(0,s.kt)("li",{parentName:"ul"},"New option: auxfee_details (",(0,s.kt)("a",{parentName:"li",href:"aux-fees"},"learn more"),")"),(0,s.kt)("li",{parentName:"ul"},"New option: contract (the contract of the token on the NEVM chain)"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("inlineCode",{parentName:"li"},"asset_guid")," is the unique identifier of a token"),(0,s.kt)("li",{parentName:"ul"},"Tokens are now address-only. On-chain aliases have been removed for greater scalability."),(0,s.kt)("li",{parentName:"ul"},"P2PWKH and P2WSH are the current supported witness programs. Future witness programs may be included in Bitcoin Core and Syscoin Core enhancements to extend functionality."))),(0,s.kt)("h2",{id:"1-ensure-your-wallet-has-over-1-sys-to-fund-asset-creation-and-other-operations"},"1. Ensure your wallet has over 1 SYS to fund asset creation and other operations"),(0,s.kt)("p",null,"The token creation fee is currently 1 SYS. You'll also need extra to serve as a gas fund for the token, and for future transactions such as updating your token spec."),(0,s.kt)("p",null,"If you need to send 1 or more SYS to your wallet, wait until your transaction has at least one confirmation, then proceed."),(0,s.kt)("h2",{id:"2-define-and-create-your-token"},"2. Define and create your token"),(0,s.kt)("p",null,"We will now define then create the SPT using the ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," command. This command will sign and broadcast the transaction to the network, and return the transaction ID."),(0,s.kt)("p",null,"In this example we will create a very basic SPT without using the ",(0,s.kt)("inlineCode",{parentName:"p"},"contract"),", ",(0,s.kt)("inlineCode",{parentName:"p"},"aux_fees")," and ",(0,s.kt)("inlineCode",{parentName:"p"},"notary")," options."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli help assetnew\n\nassetnew funding_amount "symbol" "description" "contract" precision max_supply ( updatecapability_flags "notary_address" {"endpoint":"str","instant_transfers":bool,"hd_required":bool} {"auxfee_address":"str","fee_struct":[,,...]} )\n\nCreate a new asset\n\nArguments:\n1. funding_amount (numeric or string, required) Fund resulting UTXO owning the asset by this much SYS for gas.\n2. symbol (string, required) Asset symbol (1-8 characters)\n3. description (string, required) Public description of the token.\n4. contract (string, required) Ethereum token contract for SyscoinX bridge. Must be in hex and not include the \'0x\' format tag. For example contract \'0xb060ddb93707d2bc2f8bcc39451a5a28852f8d1d\' should be set as \'b060ddb93707d2bc2f8bcc39451a5a28852f8d1d\'. Leave empty for no smart contract bridge.\n5. precision (numeric, required) Precision of balances. Must be between 0 and 8. The lower it is the higher possible max_supply is available since the supply is represented as a 64 bit integer. With a precision of 8 the max supply is 10 billion.\n6. max_supply (numeric or string, required) Maximum supply of this asset. Depends on the precision value that is set, the lower the precision the higher max_supply can be.\n7. updatecapability_flags (numeric) Ability to update certain fields. Must be decimal value which is a bitmask for certain rights to update. The bitmask 1 represents the ability to update public data field, 2 for updating the smart contract field, 4 for updating supply, 8 for updating notary address, 16 for updating notary details, 32 for updating auxfee details, 64 for ability to update the capability flags (this field). 127 for all. 0 for none (not updatable).\n8. notary_address (string) Notary address\n9. notary_details (json object) Notary details structure (if notary_address is set)\n {\n "endpoint": "str", (string, required) Notary API endpoint (if applicable)\n "instant_transfers": bool, (boolean, required) Enforced double-spend prevention on Notary for Instant Transfers\n "hd_required": bool, (boolean, required) If Notary requires HD Wallet approval (for sender approval specifically applicable to change address schemes), usually in the form of account XPUB or Verifiable Credential of account XPUB using DID\n }\n10. auxfee_details (json object) Auxiliary fee structure (may be enforced if notary is set)\n {\n "auxfee_address": "str", (string, required) AuxFee address\n "fee_struct": [ (json array, required) Auxiliary fee structure\n , (numeric or string, required) Bound (in amount) for for the fee level based on total transaction amount\n , (numeric, required) The percentage in %% to share with the operator. The value must be\n between 0.00(0%%) and 0.65535(65.535%%).\n ...\n ],\n }\n\nResult:\n{ (json object)\n "txid" : "hex", (string) The transaction id\n "asset_guid" : n (numeric) The unique identifier of the new asset\n}\n\nExamples:\n> syscoin-cli assetnew 1 "CAT" "publicvalue" "contractaddr" 8 1000 127 "notary_address" {} {}\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetnew", "params": [1, "CAT", "publicvalue", "contractaddr", 8, 1000, 127, "notary_address", {}, {}]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n')),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"aux_fees"},"\ud83d\udcd8aux_fees"),(0,s.kt)("p",{parentName:"blockquote"},"The aux_fees parameter is used to specify a custom fee structure for your token. ",(0,s.kt)("a",{parentName:"p",href:"aux-fees"},"Learn about aux_fees and how to use them"),".")),(0,s.kt)("p",null,"Summary of ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," arguments:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},'assetnew "" "" "" "" {} {}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"A standard fungible token")," looks as follows:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetnew 100 "MYASSET" "This is my asset, a very good asset" "" 8 10000 127 "" {} {}\n\n{\n "txid": "67bbbeb8635bf6894c460bfda4cda0ced2a69e3e9ebe01dd9bba54e878d043ad",\n "asset_guid": 3942786440\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"A non-fractional (indivisible), non-fungible token")," can be created as follows with precision set to zero and max supply 1.0:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetnew 100 "ANDYSELF" "Self-Portrait, Andy Warhol, Original (1963)" "" 0 1.0 127 "" {} {}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"A fractional (divisible) non-fungible token")," is created when a token is issued via ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," with a NFTID specified. See section 4b(i) below."),(0,s.kt)("p",null,"Record the assigned asset GUID for future use."),(0,s.kt)("p",null,"Wait for this transaction to receive at least one confirmation, then proceed."),(0,s.kt)("h2",{id:"3-check-the-token-specification"},"3. Check the token specification"),(0,s.kt)("p",null,"Review your token specification as it exists on the Syscoin blockchain by executing this command: ",(0,s.kt)("inlineCode",{parentName:"p"},"assetinfo ")),(0,s.kt)("p",null,"It should look similar to this and reflect the attributes you have most recently set:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 3942786440\n\n{\n "asset_guid": 3942786440,\n "symbol": "MYASSET",\n "public_value": {\n "desc": "This is my asset, a very good asset"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 0.00000000,\n "max_supply": 10000.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,s.kt)("p",null,'The total supply will remain "0" until you use ',(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," to issue some of the tokens."),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"a-note-on-issuance-the-difference-between-assetsend-and-assetallocationsend"},"\ud83d\udcd8A note on issuance: The difference between ",(0,s.kt)("inlineCode",{parentName:"h3"},"assetsend")," and ",(0,s.kt)("inlineCode",{parentName:"h3"},"assetallocationsend")),(0,s.kt)("p",{parentName:"blockquote"},(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," is not for sending existing tokens from one address to another (asset allocation), it is strictly for issuance of tokens by the owner of the token specification."),(0,s.kt)("p",{parentName:"blockquote"},"Token users can learn how to perform basic asset allocations with ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend")," ",(0,s.kt)("a",{parentName:"p",href:"use-tokens"},"here"),".")),(0,s.kt)("h2",{id:"4-issue-fungible-tokens"},"4. Issue Fungible Tokens"),(0,s.kt)("p",null,"This step covers how to issue a quantity of fungible tokens into circulation."),(0,s.kt)("p",null,(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," will issue and allocate a designated quantity of tokens to an address. It also signs and broadcasts the transaction to the network, and returns the transaction ID."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ help assetsend\n\nassetsend asset_guid "address" amount ( sys_amount NFTID )\n\nSend an asset you own to another address.\n\nArguments:\n1. asset_guid (numeric, required) The asset guid.\n2. address (string, required) The address to send the asset to (creates an asset allocation).\n3. amount (numeric or string, required) Amount of asset to send.\n4. sys_amount (numeric or string) Amount of syscoin to send.\n5. NFTID (numeric) Optional NFT ID to send\n\nResult:\n{ (json object)\n "txid" : "hex" (string) The transaction id\n}\n\nExamples:\n> syscoin-cli assetsend "asset_guid" "address" "amount" "sys_amount" "NFTID"\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetsend", "params": ["asset_guid", "address", "amount", "sys_amount", "NFTID"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n')),(0,s.kt)("p",null,"Summary of ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," arguments:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},'assetsend "" \n')),(0,s.kt)("p",null,"In this simple example we will not specify an NFTID - leave this blank. The issuance is handled as fungible when NFTID ",(0,s.kt)("strong",{parentName:"p"},"is not")," used. We will include a small amount of SYS for gas."),(0,s.kt)("p",null,"Our command for issuing a fungible portion of 425 tokens is as follows:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetsend 3942786440 "tsys1q7mn0aymk3cwv0uf3udegn68l3u5equz0x02jev" 425 0.0000098\n\n{\n "txid": "fcdb5d1793cc40c7f266e3f8fd8f8b74ffdf8f8f1e9c5e8b2c1c3aea9e36a4e9",\n "assets_issued_count": 1,\n "assets_issued": [\n {\n "asset_guid": 3942786440,\n "amount": 425.00000000,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("h2",{id:"4b-issue-non-fungible-tokens"},"4b. Issue Non-Fungible Tokens"),(0,s.kt)("p",null,"This step covers how to issue and transfer a non-fungible token to its first owner. ",(0,s.kt)("strong",{parentName:"p"},"To issue fungible tokens, go to subsection 4a.")),(0,s.kt)("p",null,"Syscoin 4.2 enables issuers to ",(0,s.kt)("strong",{parentName:"p"},"optionally")," assign a unique identifier to an issuance, which effectively makes it an NFT. Using ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," with NFTID will issue and allocate a non-fungible token to an address. It also signs and broadcasts the transaction to the network, and returns the transaction ID."),(0,s.kt)("p",null,"Further, ",(0,s.kt)("strong",{parentName:"p"},"Divisible and Non-Divisible NFTs can be issued.")," This article covers how to do both."),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"nft-data"},"\ud83d\udcd8NFT Data"),(0,s.kt)("p",{parentName:"blockquote"},"The issuer-assigned ID of an NFT is stored on the Syscoin blockchain (NFTID). Beyond the unique identifier, storage of any detailed-oriented data associated with the asset is the responsibility of the issuer, and isn't stored on the Syscoin blockchain. This is part of what keeps the Syscoin blockchain and its NFT functionality efficient and scalable."),(0,s.kt)("p",{parentName:"blockquote"},"The issuer-assigned NFTID is a 4 byte unsigned integer with a max value of 4294967295. Syscoin Core also assigns a unique identifier of the same byte-length and type to ensure global uniqueness on the blockchain. The total footprint of an NFT is only 8 bytes greater than a standard fungible token.")),(0,s.kt)("h2",{id:"4bi-how-to-issue-and-transfer-a-fractional-divisible-non-fungible-token"},"4b(i). How to Issue and Transfer a Fractional (Divisible) Non-Fungible Token"),(0,s.kt)("p",null,"In this example we will work with a testnet asset representing an inventory of up to 1,000 serialized 100oz gold bars, 6 of which have already been issued to owners."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 2433418946\n\n{\n "asset_guid": 2433418946,\n "symbol": "AU100",\n "public_value": {\n "desc": "XYZ Vaulting Co. - 100oz AU bar - Royal Canadian Mint - Serialized"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 6.000000,\n "max_supply": 1000.000000,\n "updatecapability_flags": 127,\n "precision": 6\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"1.")," issue another entire bar (1 new token) and identify it with the serial number stamped on the physical asset by the Royal Canadian Mint (13077), and send to a designated recipient address - in this case an address for which you hold the key. Send a small amount of SYS for gas to be used in the future, too."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetsend 2433418946 "tsys1qs5wd5gftn22dtf7d00gvfkhjvdkdvlufpk86wj" 1 0.0000098 13077\n\n{\n "txid": "4946da4260cb5b8eed4f6be95673fd2aa48d349df2ed81921faed04eef4fb01b",\n "assets_issued_count": 1,\n "assets_issued": [\n {\n "asset_guid": 56167720748738,\n "base_asset_guid": 2433418946,\n "NFTID": 13077,\n "amount": 1.00000000,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"2.")," Transfer 12.7251% ownership of the bar (56167720748738) to another address by using ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend"),". We will also send the address a small amount of SYS for gas to be used in the future. We'll make the transaction use Z-DAG by specifying to be ",(0,s.kt)("inlineCode",{parentName:"p"},"false"),"."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationsend 56167720748738 tsys1qcycfg3uhw4x706nvqtaz0e6lu74zwsc2qvy4vs 0.127251 0.0000098 false\n\n{\n "txid": "737abcbfa2d42e2188966343b169442c8067c82d133a39d27ad56015076376cf",\n "assetallocations_sent_count": 1,\n "assetallocations_sent": [\n {\n "asset_guid": 56167720748738,\n "base_asset_guid": 2433418946,\n "NFTID": 13077,\n "amount": 0.12725100,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("h2",{id:"4bii-how-to-issue-and-transfer-a-non-fractional-non-fungible-token"},"4b(ii). How to Issue and Transfer a Non-Fractional Non-Fungible Token"),(0,s.kt)("p",null,"In this example we will start with a testnet asset representing the inventory of an art vault."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 389115219\n\n{\n "asset_guid": 389115219,\n "symbol": "VAULT9",\n "public_value": {\n "desc": "Fitzstephen Co. Art Vault #9"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 0.00000000,\n "max_supply": 288.0,\n "updatecapability_flags": 127,\n "precision": 0\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"This asset was defined with a precision of 0 and a max supply of 288, because there are 288 art pieces held in the vault, and ownership of each of these will be transferred to one owner as a non-divisible token representing the entirety of the piece")),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"note"},"\ud83d\udcd8Note"),(0,s.kt)("p",{parentName:"blockquote"},"You can also create an asset with precision 0 and max supply 1, effectively making the primary asset itself a non-divisble NFT. However, it's often more intuitive to issue multiple unique non-divisible tokens from a single parent asset (the inventory). This is more cost effective as you pay the asset creation fee only once (1 SYS) and are able to issue a quantity of unique child NFT's up to the max supply of the parent asset, only paying the comparatively small fee associated with ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," for each new NFT."),(0,s.kt)("p",{parentName:"blockquote"},"Children assets inherit the attributes of the parent and are unique only by their NFTID and deterministic child assetGUID. If you want each NFT you issue to use a different Notary API, on-chain description, etc, you would use ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," and pay the asset creation fee for each of them.")),(0,s.kt)("p",null,"Issue one of the art pieces into the new owner's possession with ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," in the amount of 1 token, and assign the NFTID (your own numeric identifier representing the art piece), in this case 14, your inventory number for Andy Warhol's original Self Portrait. We'll also send the new owner a small amount of SYS for gas to be used in the future (0.000098)."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetsend 389115219 "tsys1qktelej8knjvc5nfpka2evnwyfsw6ltqnhd9k2f" 1.0 0.0000098 14\n\n{\n "txid": "4ef2b4f0a807f2542567cc79201ddf8b22aadb0156ac54313cd0e186ef210296",\n "assets_issued_count": 1,\n "assets_issued": [\n {\n "asset_guid": 4684082515,\n "base_asset_guid": 389115219,\n "NFTID": 14,\n "amount": 1.0,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("p",null,"The new owner can now transfer ownership using ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend")," with 4684082515"))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/75a64746.e63758bf.js b/assets/js/75a64746.e63758bf.js new file mode 100644 index 00000000..391d6b9d --- /dev/null +++ b/assets/js/75a64746.e63758bf.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9160],{3905:(e,n,t)=>{t.d(n,{Zo:()=>d,kt:()=>f});var a=t(67294);function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function o(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,a)}return t}function i(e){for(var n=1;n=0||(s[t]=e[t]);return s}(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(s[t]=e[t])}return s}var l=a.createContext({}),u=function(e){var n=a.useContext(l),t=n;return e&&(t="function"==typeof e?e(n):i(i({},n),e)),t},d=function(e){var n=u(e.components);return a.createElement(l.Provider,{value:n},e.children)},c={inlineCode:"code",wrapper:function(e){var n=e.children;return a.createElement(a.Fragment,{},n)}},p=a.forwardRef((function(e,n){var t=e.components,s=e.mdxType,o=e.originalType,l=e.parentName,d=r(e,["components","mdxType","originalType","parentName"]),p=u(t),f=s,h=p["".concat(l,".").concat(f)]||p[f]||c[f]||o;return t?a.createElement(h,i(i({ref:n},d),{},{components:t})):a.createElement(h,i({ref:n},d))}));function f(e,n){var t=arguments,s=n&&n.mdxType;if("string"==typeof e||s){var o=t.length,i=new Array(o);i[0]=p;var r={};for(var l in n)hasOwnProperty.call(n,l)&&(r[l]=n[l]);r.originalType=e,r.mdxType="string"==typeof e?e:s,i[1]=r;for(var u=2;u{t.r(n),t.d(n,{default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>r});var a=t(87462),s=(t(67294),t(3905));const o={},i={unversionedId:"guides/spts/create-issue-tokens",id:"guides/spts/create-issue-tokens",isDocsHomePage:!1,title:"Create/Issue Tokens",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/create-issue-tokens.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/create-issue-tokens",permalink:"/docs/guides/spts/create-issue-tokens",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Auxiliary Fees",permalink:"/docs/guides/spts/aux-fees"},next:{title:"Notary and Business Rulesets",permalink:"/docs/guides/spts/notary-business-rulesets"}},r=[{value:"1. Ensure your wallet has over 1 SYS to fund asset creation and other operations",id:"1-ensure-your-wallet-has-over-1-sys-to-fund-asset-creation-and-other-operations",children:[]},{value:"2. Define and create your token",id:"2-define-and-create-your-token",children:[]},{value:"3. Check the token specification",id:"3-check-the-token-specification",children:[]},{value:"4. Issue Fungible Tokens",id:"4-issue-fungible-tokens",children:[]},{value:"4b. Issue Non-Fungible Tokens",id:"4b-issue-non-fungible-tokens",children:[]},{value:"4b(i). How to Issue and Transfer a Fractional (Divisible) Non-Fungible Token",id:"4bi-how-to-issue-and-transfer-a-fractional-divisible-non-fungible-token",children:[]},{value:"4b(ii). How to Issue and Transfer a Non-Fractional Non-Fungible Token",id:"4bii-how-to-issue-and-transfer-a-non-fractional-non-fungible-token",children:[]}],l={toc:r};function u(e){let{components:n,...t}=e;return(0,s.kt)("wrapper",(0,a.Z)({},l,t,{components:n,mdxType:"MDXLayout"}),(0,s.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,s.kt)("div",{parentName:"div",className:"admonition-heading"},(0,s.kt)("h5",{parentName:"div"},(0,s.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,s.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,s.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,s.kt)("div",{parentName:"div",className:"admonition-content"},(0,s.kt)("p",{parentName:"div"},(0,s.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,s.kt)("br",{parentName:"p"}),"\n","Now ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,s.kt)("p",{parentName:"div"},"Examples are available at ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,s.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,s.kt)("strong",{parentName:"p"},(0,s.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,s.kt)("p",null,"This guide helps you create and issue a Syscoin Platform Token (SPT) using Syscoin Core 4.3."),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"changes-to-the-syscoin-token-platform-since-syscoin-core-3"},"\ud83d\udea7Changes to the Syscoin Token Platform since Syscoin Core 3")),(0,s.kt)("blockquote",null,(0,s.kt)("ul",{parentName:"blockquote"},(0,s.kt)("li",{parentName:"ul"},"Non-Fungible Tokens (NFT), both fractional and non-fractional, are now supported"),(0,s.kt)("li",{parentName:"ul"},"All tokens are now UTXO-based (like Bitcoin) for greater efficiency instead of Account-based (like Ethereum)"),(0,s.kt)("li",{parentName:"ul"},"Tokens can now be used with Syscoin Bridge when Agent nodes are active"),(0,s.kt)("li",{parentName:"ul"},"Token creation fee is 1 SYS instead of 500 SYS"),(0,s.kt)("li",{parentName:"ul"},"New option: notary_address, notary_details (",(0,s.kt)("a",{parentName:"li",href:"notary-business-rulesets"},"learn more"),")"),(0,s.kt)("li",{parentName:"ul"},"New option: auxfee_details (",(0,s.kt)("a",{parentName:"li",href:"aux-fees"},"learn more"),")"),(0,s.kt)("li",{parentName:"ul"},"New option: contract (the contract of the token on the NEVM chain)"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("inlineCode",{parentName:"li"},"asset_guid")," is the unique identifier of a token"),(0,s.kt)("li",{parentName:"ul"},"Tokens are now address-only. On-chain aliases have been removed for greater scalability."),(0,s.kt)("li",{parentName:"ul"},"P2PWKH and P2WSH are the current supported witness programs. Future witness programs may be included in Bitcoin Core and Syscoin Core enhancements to extend functionality."))),(0,s.kt)("h2",{id:"1-ensure-your-wallet-has-over-1-sys-to-fund-asset-creation-and-other-operations"},"1. Ensure your wallet has over 1 SYS to fund asset creation and other operations"),(0,s.kt)("p",null,"The token creation fee is currently 1 SYS. You'll also need extra to serve as a gas fund for the token, and for future transactions such as updating your token spec."),(0,s.kt)("p",null,"If you need to send 1 or more SYS to your wallet, wait until your transaction has at least one confirmation, then proceed."),(0,s.kt)("h2",{id:"2-define-and-create-your-token"},"2. Define and create your token"),(0,s.kt)("p",null,"We will now define then create the SPT using the ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," command. This command will sign and broadcast the transaction to the network, and return the transaction ID."),(0,s.kt)("p",null,"In this example we will create a very basic SPT without using the ",(0,s.kt)("inlineCode",{parentName:"p"},"contract"),", ",(0,s.kt)("inlineCode",{parentName:"p"},"aux_fees")," and ",(0,s.kt)("inlineCode",{parentName:"p"},"notary")," options."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli help assetnew\n\nassetnew funding_amount "symbol" "description" "contract" precision max_supply ( updatecapability_flags "notary_address" {"endpoint":"str","instant_transfers":bool,"hd_required":bool} {"auxfee_address":"str","fee_struct":[,,...]} )\n\nCreate a new asset\n\nArguments:\n1. funding_amount (numeric or string, required) Fund resulting UTXO owning the asset by this much SYS for gas.\n2. symbol (string, required) Asset symbol (1-8 characters)\n3. description (string, required) Public description of the token.\n4. contract (string, required) Ethereum token contract for SyscoinX bridge. Must be in hex and not include the \'0x\' format tag. For example contract \'0xb060ddb93707d2bc2f8bcc39451a5a28852f8d1d\' should be set as \'b060ddb93707d2bc2f8bcc39451a5a28852f8d1d\'. Leave empty for no smart contract bridge.\n5. precision (numeric, required) Precision of balances. Must be between 0 and 8. The lower it is the higher possible max_supply is available since the supply is represented as a 64 bit integer. With a precision of 8 the max supply is 10 billion.\n6. max_supply (numeric or string, required) Maximum supply of this asset. Depends on the precision value that is set, the lower the precision the higher max_supply can be.\n7. updatecapability_flags (numeric) Ability to update certain fields. Must be decimal value which is a bitmask for certain rights to update. The bitmask 1 represents the ability to update public data field, 2 for updating the smart contract field, 4 for updating supply, 8 for updating notary address, 16 for updating notary details, 32 for updating auxfee details, 64 for ability to update the capability flags (this field). 127 for all. 0 for none (not updatable).\n8. notary_address (string) Notary address\n9. notary_details (json object) Notary details structure (if notary_address is set)\n {\n "endpoint": "str", (string, required) Notary API endpoint (if applicable)\n "instant_transfers": bool, (boolean, required) Enforced double-spend prevention on Notary for Instant Transfers\n "hd_required": bool, (boolean, required) If Notary requires HD Wallet approval (for sender approval specifically applicable to change address schemes), usually in the form of account XPUB or Verifiable Credential of account XPUB using DID\n }\n10. auxfee_details (json object) Auxiliary fee structure (may be enforced if notary is set)\n {\n "auxfee_address": "str", (string, required) AuxFee address\n "fee_struct": [ (json array, required) Auxiliary fee structure\n , (numeric or string, required) Bound (in amount) for for the fee level based on total transaction amount\n , (numeric, required) The percentage in %% to share with the operator. The value must be\n between 0.00(0%%) and 0.65535(65.535%%).\n ...\n ],\n }\n\nResult:\n{ (json object)\n "txid" : "hex", (string) The transaction id\n "asset_guid" : n (numeric) The unique identifier of the new asset\n}\n\nExamples:\n> syscoin-cli assetnew 1 "CAT" "publicvalue" "contractaddr" 8 1000 127 "notary_address" {} {}\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetnew", "params": [1, "CAT", "publicvalue", "contractaddr", 8, 1000, 127, "notary_address", {}, {}]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n')),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"aux_fees"},"\ud83d\udcd8aux_fees"),(0,s.kt)("p",{parentName:"blockquote"},"The aux_fees parameter is used to specify a custom fee structure for your token. ",(0,s.kt)("a",{parentName:"p",href:"aux-fees"},"Learn about aux_fees and how to use them"),".")),(0,s.kt)("p",null,"Summary of ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," arguments:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},'assetnew "" "" "" "" {} {}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"A standard fungible token")," looks as follows:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetnew 100 "MYASSET" "This is my asset, a very good asset" "" 8 10000 127 "" {} {}\n\n{\n "txid": "67bbbeb8635bf6894c460bfda4cda0ced2a69e3e9ebe01dd9bba54e878d043ad",\n "asset_guid": 3942786440\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"A non-fractional (indivisible), non-fungible token")," can be created as follows with precision set to zero and max supply 1.0:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetnew 100 "ANDYSELF" "Self-Portrait, Andy Warhol, Original (1963)" "" 0 1.0 127 "" {} {}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"A fractional (divisible) non-fungible token")," is created when a token is issued via ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," with a NFTID specified. See section 4b(i) below."),(0,s.kt)("p",null,"Record the assigned asset GUID for future use."),(0,s.kt)("p",null,"Wait for this transaction to receive at least one confirmation, then proceed."),(0,s.kt)("h2",{id:"3-check-the-token-specification"},"3. Check the token specification"),(0,s.kt)("p",null,"Review your token specification as it exists on the Syscoin blockchain by executing this command: ",(0,s.kt)("inlineCode",{parentName:"p"},"assetinfo ")),(0,s.kt)("p",null,"It should look similar to this and reflect the attributes you have most recently set:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 3942786440\n\n{\n "asset_guid": 3942786440,\n "symbol": "MYASSET",\n "public_value": {\n "desc": "This is my asset, a very good asset"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 0.00000000,\n "max_supply": 10000.00000000,\n "updatecapability_flags": 127,\n "precision": 8\n}\n')),(0,s.kt)("p",null,'The total supply will remain "0" until you use ',(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," to issue some of the tokens."),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"a-note-on-issuance-the-difference-between-assetsend-and-assetallocationsend"},"\ud83d\udcd8A note on issuance: The difference between ",(0,s.kt)("inlineCode",{parentName:"h3"},"assetsend")," and ",(0,s.kt)("inlineCode",{parentName:"h3"},"assetallocationsend")),(0,s.kt)("p",{parentName:"blockquote"},(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," is not for sending existing tokens from one address to another (asset allocation), it is strictly for issuance of tokens by the owner of the token specification."),(0,s.kt)("p",{parentName:"blockquote"},"Token users can learn how to perform basic asset allocations with ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend")," ",(0,s.kt)("a",{parentName:"p",href:"use-tokens"},"here"),".")),(0,s.kt)("h2",{id:"4-issue-fungible-tokens"},"4. Issue Fungible Tokens"),(0,s.kt)("p",null,"This step covers how to issue a quantity of fungible tokens into circulation."),(0,s.kt)("p",null,(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," will issue and allocate a designated quantity of tokens to an address. It also signs and broadcasts the transaction to the network, and returns the transaction ID."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ help assetsend\n\nassetsend asset_guid "address" amount ( sys_amount NFTID )\n\nSend an asset you own to another address.\n\nArguments:\n1. asset_guid (numeric, required) The asset guid.\n2. address (string, required) The address to send the asset to (creates an asset allocation).\n3. amount (numeric or string, required) Amount of asset to send.\n4. sys_amount (numeric or string) Amount of syscoin to send.\n5. NFTID (numeric) Optional NFT ID to send\n\nResult:\n{ (json object)\n "txid" : "hex" (string) The transaction id\n}\n\nExamples:\n> syscoin-cli assetsend "asset_guid" "address" "amount" "sys_amount" "NFTID"\n> curl --user myusername --data-binary \'{"jsonrpc": "1.0", "id": "curltest", "method": "assetsend", "params": ["asset_guid", "address", "amount", "sys_amount", "NFTID"]}\' -H \'content-type: text/plain;\' http://127.0.0.1:8370/\n')),(0,s.kt)("p",null,"Summary of ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," arguments:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre"},'assetsend "" \n')),(0,s.kt)("p",null,"In this simple example we will not specify an NFTID - leave this blank. The issuance is handled as fungible when NFTID ",(0,s.kt)("strong",{parentName:"p"},"is not")," used. We will include a small amount of SYS for gas."),(0,s.kt)("p",null,"Our command for issuing a fungible portion of 425 tokens is as follows:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetsend 3942786440 "tsys1q7mn0aymk3cwv0uf3udegn68l3u5equz0x02jev" 425 0.0000098\n\n{\n "txid": "fcdb5d1793cc40c7f266e3f8fd8f8b74ffdf8f8f1e9c5e8b2c1c3aea9e36a4e9",\n "assets_issued_count": 1,\n "assets_issued": [\n {\n "asset_guid": 3942786440,\n "amount": 425.00000000,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("h2",{id:"4b-issue-non-fungible-tokens"},"4b. Issue Non-Fungible Tokens"),(0,s.kt)("p",null,"This step covers how to issue and transfer a non-fungible token to its first owner. ",(0,s.kt)("strong",{parentName:"p"},"To issue fungible tokens, go to subsection 4a.")),(0,s.kt)("p",null,"Syscoin 4.2 enables issuers to ",(0,s.kt)("strong",{parentName:"p"},"optionally")," assign a unique identifier to an issuance, which effectively makes it an NFT. Using ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," with NFTID will issue and allocate a non-fungible token to an address. It also signs and broadcasts the transaction to the network, and returns the transaction ID."),(0,s.kt)("p",null,"Further, ",(0,s.kt)("strong",{parentName:"p"},"Divisible and Non-Divisible NFTs can be issued.")," This article covers how to do both."),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"nft-data"},"\ud83d\udcd8NFT Data"),(0,s.kt)("p",{parentName:"blockquote"},"The issuer-assigned ID of an NFT is stored on the Syscoin blockchain (NFTID). Beyond the unique identifier, storage of any detailed-oriented data associated with the asset is the responsibility of the issuer, and isn't stored on the Syscoin blockchain. This is part of what keeps the Syscoin blockchain and its NFT functionality efficient and scalable."),(0,s.kt)("p",{parentName:"blockquote"},"The issuer-assigned NFTID is a 4 byte unsigned integer with a max value of 4294967295. Syscoin Core also assigns a unique identifier of the same byte-length and type to ensure global uniqueness on the blockchain. The total footprint of an NFT is only 8 bytes greater than a standard fungible token.")),(0,s.kt)("h2",{id:"4bi-how-to-issue-and-transfer-a-fractional-divisible-non-fungible-token"},"4b(i). How to Issue and Transfer a Fractional (Divisible) Non-Fungible Token"),(0,s.kt)("p",null,"In this example we will work with a testnet asset representing an inventory of up to 1,000 serialized 100oz gold bars, 6 of which have already been issued to owners."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 2433418946\n\n{\n "asset_guid": 2433418946,\n "symbol": "AU100",\n "public_value": {\n "desc": "XYZ Vaulting Co. - 100oz AU bar - Royal Canadian Mint - Serialized"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 6.000000,\n "max_supply": 1000.000000,\n "updatecapability_flags": 127,\n "precision": 6\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"1.")," issue another entire bar (1 new token) and identify it with the serial number stamped on the physical asset by the Royal Canadian Mint (13077), and send to a designated recipient address - in this case an address for which you hold the key. Send a small amount of SYS for gas to be used in the future, too."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetsend 2433418946 "tsys1qs5wd5gftn22dtf7d00gvfkhjvdkdvlufpk86wj" 1 0.0000098 13077\n\n{\n "txid": "4946da4260cb5b8eed4f6be95673fd2aa48d349df2ed81921faed04eef4fb01b",\n "assets_issued_count": 1,\n "assets_issued": [\n {\n "asset_guid": 56167720748738,\n "base_asset_guid": 2433418946,\n "NFTID": 13077,\n "amount": 1.00000000,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"2.")," Transfer 12.7251% ownership of the bar (56167720748738) to another address by using ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend"),". We will also send the address a small amount of SYS for gas to be used in the future. We'll make the transaction use Z-DAG by specifying to be ",(0,s.kt)("inlineCode",{parentName:"p"},"false"),"."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetallocationsend 56167720748738 tsys1qcycfg3uhw4x706nvqtaz0e6lu74zwsc2qvy4vs 0.127251 0.0000098 false\n\n{\n "txid": "737abcbfa2d42e2188966343b169442c8067c82d133a39d27ad56015076376cf",\n "assetallocations_sent_count": 1,\n "assetallocations_sent": [\n {\n "asset_guid": 56167720748738,\n "base_asset_guid": 2433418946,\n "NFTID": 13077,\n "amount": 0.12725100,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("h2",{id:"4bii-how-to-issue-and-transfer-a-non-fractional-non-fungible-token"},"4b(ii). How to Issue and Transfer a Non-Fractional Non-Fungible Token"),(0,s.kt)("p",null,"In this example we will start with a testnet asset representing the inventory of an art vault."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetinfo 389115219\n\n{\n "asset_guid": 389115219,\n "symbol": "VAULT9",\n "public_value": {\n "desc": "Fitzstephen Co. Art Vault #9"\n },\n "contract": "",\n "notary_address": "",\n "total_supply": 0.00000000,\n "max_supply": 288.0,\n "updatecapability_flags": 127,\n "precision": 0\n}\n')),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"This asset was defined with a precision of 0 and a max supply of 288, because there are 288 art pieces held in the vault, and ownership of each of these will be transferred to one owner as a non-divisible token representing the entirety of the piece")),(0,s.kt)("blockquote",null,(0,s.kt)("h3",{parentName:"blockquote",id:"note"},"\ud83d\udcd8Note"),(0,s.kt)("p",{parentName:"blockquote"},"You can also create an asset with precision 0 and max supply 1, effectively making the primary asset itself a non-divisble NFT. However, it's often more intuitive to issue multiple unique non-divisible tokens from a single parent asset (the inventory). This is more cost effective as you pay the asset creation fee only once (1 SYS) and are able to issue a quantity of unique child NFT's up to the max supply of the parent asset, only paying the comparatively small fee associated with ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," for each new NFT."),(0,s.kt)("p",{parentName:"blockquote"},"Children assets inherit the attributes of the parent and are unique only by their NFTID and deterministic child assetGUID. If you want each NFT you issue to use a different Notary API, on-chain description, etc, you would use ",(0,s.kt)("inlineCode",{parentName:"p"},"assetnew")," and pay the asset creation fee for each of them.")),(0,s.kt)("p",null,"Issue one of the art pieces into the new owner's possession with ",(0,s.kt)("inlineCode",{parentName:"p"},"assetsend")," in the amount of 1 token, and assign the NFTID (your own numeric identifier representing the art piece), in this case 14, your inventory number for Andy Warhol's original Self Portrait. We'll also send the new owner a small amount of SYS for gas to be used in the future (0.000098)."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},'$ syscoin-cli assetsend 389115219 "tsys1qktelej8knjvc5nfpka2evnwyfsw6ltqnhd9k2f" 1.0 0.0000098 14\n\n{\n "txid": "4ef2b4f0a807f2542567cc79201ddf8b22aadb0156ac54313cd0e186ef210296",\n "assets_issued_count": 1,\n "assets_issued": [\n {\n "asset_guid": 4684082515,\n "base_asset_guid": 389115219,\n "NFTID": 14,\n "amount": 1.0,\n "sys_amount": 0.00000980\n }\n ]\n}\n')),(0,s.kt)("p",null,"The new owner can now transfer ownership using ",(0,s.kt)("inlineCode",{parentName:"p"},"assetallocationsend")," with 4684082515"))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/75d97c0d.09e7d522.js b/assets/js/75d97c0d.09e7d522.js new file mode 100644 index 00000000..29a13927 --- /dev/null +++ b/assets/js/75d97c0d.09e7d522.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1174],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>h});var a=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},p=a.forwardRef((function(e,t){var n=e.components,s=e.mdxType,o=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),p=c(n),h=s,f=p["".concat(l,".").concat(h)]||p[h]||u[h]||o;return n?a.createElement(f,r(r({ref:t},d),{},{components:n})):a.createElement(f,r({ref:t},d))}));function h(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var o=n.length,r=new Array(o);r[0]=p;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:s,r[1]=i;for(var c=2;c{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>o,metadata:()=>r,toc:()=>i});var a=n(87462),s=(n(67294),n(3905));const o={},r={unversionedId:"dev-resources/sys/asset-index",id:"dev-resources/sys/asset-index",isDocsHomePage:!1,title:"SPT Asset Index Technical Description",description:"Introduction",source:"@site/docs/dev-resources/sys/asset-index.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/asset-index",permalink:"/docs/dev-resources/sys/asset-index",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Rollups",permalink:"/docs/dev-resources/nevm/zk-rollups"},next:{title:"SPT Exchange Integration",permalink:"/docs/dev-resources/sys/exchange-integration"}},i=[],l={toc:i};function c(e){let{components:t,...n}=e;return(0,s.kt)("wrapper",(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Introduction")),(0,s.kt)("p",null,"Asset index is a high performance blockchain re-organization aware flag that allows users to be able to query historical information related to Syscoin Assets."),(0,s.kt)("p",null,"The asset index was created as a way for exchanges and other services to be able to manage Syscoin assets via viewing transactional history without requiring third party tools. This index is useful for viewing information only. The current set of RPCs to create transactions for managing assets are created in a way that are not dependent on a wallet and thus are compatible with signing tools such as hardware wallets. This is a reference implementation and of course third party tools in some contexts make sense. However as a fallback we created a reference implementation for those requiring all information to be available from within Syscoin Core itself without the need for custom modifications. You do not need to enable txindex and it is pruning compatible. There are two RPCs exposed for the use of asset index."),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"listassetindex - This will let you filter all assets + asset allocations via an asset GUID and/or an address. You can leave the address field empty to scan through the entire asset."),(0,s.kt)("li",{parentName:"ol"},"listassetindexassets - Takes in an address and returns any asset GUIDs that are owned by the address as allocations.")),(0,s.kt)("p",null,"There are two configuration variables to use when dealing with an asset index. -assetindex and -blockindex. Blockindex allows once to view the block related to an asset transaction. It is re-org aware. This means that every transaction is associated with a blockhash and on a disconnect of a block the blockindex is updated to remove the blockhash associated with the disconnected transactions in the block(s) rolled back. The blockhash is output in the ",(0,s.kt)("inlineCode",{parentName:"p"},"listassetindex")," command as the block_hash field. This makes the assetindex re-org aware by extension as one would be able to rely on the block_hash field of the returned entries to know if a transaction was confirmed or potentially not part of the longest chain on a node."),(0,s.kt)("p",null,"You somtimes do not want to have to index all assets in Syscoin and just want to index the ones you care about and thus there are configurations for those cases you can read about below."),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Use Cases")),(0,s.kt)("p",null,"The main usecases of using such an index are as follows:"),(0,s.kt)("p",null,"Use case #1: enter an asset GUID and address and get back a list of transactions (sends/receives) related to that asset/address tuple."),(0,s.kt)("p",null,"Use case #2: enter an address and view all assets connected to an address."),(0,s.kt)("p",null,"Use case #3: enter an asset GUID and view all transactions (sends/receives/updates) related to an asset."),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Motivation")),(0,s.kt)("p",null,"We needed high performance to avoid large delays as transactional volume increased. The requirement for this index in the design phase was to have O(1) time complexity and <= O(N) space complexity. We solved this by using a Key-Value storage database and using a tuple of information as Key to reduce lookup complexity yet remain flexible to be able to walk through the historical information with intuition. We require the Key to have a page number to create this efficiency and thus consuming clients would work under a paged view mechanism. The default page size is 25 results per page."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"// Configuration Parameters (in syscoin.conf or passed into the binary when running Syscoin Core):\n\nAssetindex - true if we want to index asset history, false to skip. Default is false. Set to true if consuming client is a block explorer, asset wallet, crypto-currency exchange or any other client that needs history of assets.\n\nAssetindexguids - comma seperated list of asset guids to index, empty for all if Assetindex is true.\n\nAssetindexpagesize - if Assetindex is true set this to a page size based on how the consuming client will render results. Default is 10.\n\nBlockindex - true if you want block_hash information for every asset transaction result from listassetindex RPC\n")),(0,s.kt)("p",null,"Note that ",(0,s.kt)("inlineCode",{parentName:"p"},"Assetindexpagesize")," is dynamic and set upon configuration, if changed you need to reindex the blockchain from start."),(0,s.kt)("p",null,"Database Structure:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"Collection for TXIDs for each allocation, Get/Set -
= vector (size of vector is based on page size);\n\nCurrent highest page number, Get/Set - = int;\n\nCollection for JSON outputs for TXID, Get/Set - = JSON output of transaction;\n\nAssets per address, Get/Set -
= vector;\n\nTXIDs of asset update/send/receive, Get/Set - = vector;\n// In Memory structure:\nGet/Set - Set of TXID\u2019s (lets call it confirmedTXIDs);\n")),(0,s.kt)("p",null,"Pseudocode for Connect Block logic:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"Set TXID to confirmedTXIDs;\n\nGet page number as pageNum;\n\nGet vector based on
;\n\nIf vector size if >= 10 increase pageNum and create new vector;\n\nSet JSON output of transaction to vector collection of JSON outputs per TXID;\n\nSet vector based on
to TXID collection for asset allocation;\n\nSet pageNum to highest page number collection;\n")),(0,s.kt)("p",null,"Pseudocode for Disconnect Block logic:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"For every transaction:\n Remove TXID from confirmedTXIDs;\n")),(0,s.kt)("p",null,"Pseudocode for listassetindex RPC function:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"/*Scan an asset/address tuple for a page of transaction. Consuming clients should page results based on page size set in configuration to the core. Will return all tx\u2019s regardless if they were re-orged or not. A confirmed parameter will indicate if the transaction is part of the blockchain and confirmed.\n Parameters:\n Asset guid - asset guid number specific to each asset\n Address - a sender or receiver address that owns an asset. If empty then assume you want all tx\u2019s based on asset.\n Page number - return specific page number of transactions. 0 by default*/\n \nIf Address is empty:\n Get vector based on ;\nElse:\n Get vector based on
;\n\nFor each txid in vector:\n Get JSON output based on txid;\n Get blockhash of txid from blockindex (if exist otherwise set to empty);\n Add blockhash of txid to JSON output as block_hash;\n\nReturn JSON output to caller\n")),(0,s.kt)("p",null,"Pseudocode for listassetindexassets RPC function:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"/*Assets per Address:\nReturns all asset guids related to an address at any time in blockchain history.\n Parameters:\n Address - a sender or receiver address that potentially owns an asset*/\n\nGet vector based on
;\n\nReturn JSON of all assets found to caller;\n")),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Q&A")),(0,s.kt)("p",null,"What does re-org protected mean?\nIt means that if the blockchain tip is disconnected for whatever reason (longer chain is found) then you have to rollback transactions, we wouldn't want our asset view to incorrectly show transactions as confirmed when they have been rolled back."),(0,s.kt)("p",null,"What does asset indexing mean?\nIt means that we need a way to show all transactions related to an asset+address tuple. You need to be able to as a wallet or explorer view pertaining transactions for your asset allocation as a sender or receiver."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/75d97c0d.88b1a6f7.js b/assets/js/75d97c0d.88b1a6f7.js deleted file mode 100644 index b8a4344f..00000000 --- a/assets/js/75d97c0d.88b1a6f7.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1174],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>f});var a=n(67294);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var l=a.createContext({}),c=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(l.Provider,{value:t},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},h=a.forwardRef((function(e,t){var n=e.components,s=e.mdxType,o=e.originalType,l=e.parentName,d=i(e,["components","mdxType","originalType","parentName"]),u=c(n),h=s,f=u["".concat(l,".").concat(h)]||u[h]||p[h]||o;return n?a.createElement(f,r(r({ref:t},d),{},{components:n})):a.createElement(f,r({ref:t},d))}));function f(e,t){var n=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var o=n.length,r=new Array(o);r[0]=h;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[u]="string"==typeof e?e:s,r[1]=i;for(var c=2;c{n.r(t),n.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>r,toc:()=>i});var a=n(87462),s=(n(67294),n(3905));const o={},r={unversionedId:"dev-resources/sys/asset-index",id:"dev-resources/sys/asset-index",isDocsHomePage:!1,title:"SPT Asset Index Technical Description",description:"Introduction",source:"@site/docs/dev-resources/sys/asset-index.mdx",sourceDirName:"dev-resources/sys",slug:"/dev-resources/sys/asset-index",permalink:"/docs/dev-resources/sys/asset-index",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Rollups",permalink:"/docs/dev-resources/nevm/zk-rollups"},next:{title:"SPT Exchange Integration",permalink:"/docs/dev-resources/sys/exchange-integration"}},i=[],l={toc:i},c="wrapper";function d(e){let{components:t,...n}=e;return(0,s.kt)(c,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Introduction")),(0,s.kt)("p",null,"Asset index is a high performance blockchain re-organization aware flag that allows users to be able to query historical information related to Syscoin Assets."),(0,s.kt)("p",null,"The asset index was created as a way for exchanges and other services to be able to manage Syscoin assets via viewing transactional history without requiring third party tools. This index is useful for viewing information only. The current set of RPCs to create transactions for managing assets are created in a way that are not dependent on a wallet and thus are compatible with signing tools such as hardware wallets. This is a reference implementation and of course third party tools in some contexts make sense. However as a fallback we created a reference implementation for those requiring all information to be available from within Syscoin Core itself without the need for custom modifications. You do not need to enable txindex and it is pruning compatible. There are two RPCs exposed for the use of asset index."),(0,s.kt)("ol",null,(0,s.kt)("li",{parentName:"ol"},"listassetindex - This will let you filter all assets + asset allocations via an asset GUID and/or an address. You can leave the address field empty to scan through the entire asset."),(0,s.kt)("li",{parentName:"ol"},"listassetindexassets - Takes in an address and returns any asset GUIDs that are owned by the address as allocations.")),(0,s.kt)("p",null,"There are two configuration variables to use when dealing with an asset index. -assetindex and -blockindex. Blockindex allows once to view the block related to an asset transaction. It is re-org aware. This means that every transaction is associated with a blockhash and on a disconnect of a block the blockindex is updated to remove the blockhash associated with the disconnected transactions in the block(s) rolled back. The blockhash is output in the ",(0,s.kt)("inlineCode",{parentName:"p"},"listassetindex")," command as the block_hash field. This makes the assetindex re-org aware by extension as one would be able to rely on the block_hash field of the returned entries to know if a transaction was confirmed or potentially not part of the longest chain on a node."),(0,s.kt)("p",null,"You somtimes do not want to have to index all assets in Syscoin and just want to index the ones you care about and thus there are configurations for those cases you can read about below."),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Use Cases")),(0,s.kt)("p",null,"The main usecases of using such an index are as follows:"),(0,s.kt)("p",null,"Use case #1: enter an asset GUID and address and get back a list of transactions (sends/receives) related to that asset/address tuple."),(0,s.kt)("p",null,"Use case #2: enter an address and view all assets connected to an address."),(0,s.kt)("p",null,"Use case #3: enter an asset GUID and view all transactions (sends/receives/updates) related to an asset."),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Motivation")),(0,s.kt)("p",null,"We needed high performance to avoid large delays as transactional volume increased. The requirement for this index in the design phase was to have O(1) time complexity and <= O(N) space complexity. We solved this by using a Key-Value storage database and using a tuple of information as Key to reduce lookup complexity yet remain flexible to be able to walk through the historical information with intuition. We require the Key to have a page number to create this efficiency and thus consuming clients would work under a paged view mechanism. The default page size is 25 results per page."),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"// Configuration Parameters (in syscoin.conf or passed into the binary when running Syscoin Core):\n\nAssetindex - true if we want to index asset history, false to skip. Default is false. Set to true if consuming client is a block explorer, asset wallet, crypto-currency exchange or any other client that needs history of assets.\n\nAssetindexguids - comma seperated list of asset guids to index, empty for all if Assetindex is true.\n\nAssetindexpagesize - if Assetindex is true set this to a page size based on how the consuming client will render results. Default is 10.\n\nBlockindex - true if you want block_hash information for every asset transaction result from listassetindex RPC\n")),(0,s.kt)("p",null,"Note that ",(0,s.kt)("inlineCode",{parentName:"p"},"Assetindexpagesize")," is dynamic and set upon configuration, if changed you need to reindex the blockchain from start."),(0,s.kt)("p",null,"Database Structure:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"Collection for TXIDs for each allocation, Get/Set -
= vector (size of vector is based on page size);\n\nCurrent highest page number, Get/Set - = int;\n\nCollection for JSON outputs for TXID, Get/Set - = JSON output of transaction;\n\nAssets per address, Get/Set -
= vector;\n\nTXIDs of asset update/send/receive, Get/Set - = vector;\n// In Memory structure:\nGet/Set - Set of TXID\u2019s (lets call it confirmedTXIDs);\n")),(0,s.kt)("p",null,"Pseudocode for Connect Block logic:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"Set TXID to confirmedTXIDs;\n\nGet page number as pageNum;\n\nGet vector based on
;\n\nIf vector size if >= 10 increase pageNum and create new vector;\n\nSet JSON output of transaction to vector collection of JSON outputs per TXID;\n\nSet vector based on
to TXID collection for asset allocation;\n\nSet pageNum to highest page number collection;\n")),(0,s.kt)("p",null,"Pseudocode for Disconnect Block logic:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"For every transaction:\n Remove TXID from confirmedTXIDs;\n")),(0,s.kt)("p",null,"Pseudocode for listassetindex RPC function:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-text"},"/*Scan an asset/address tuple for a page of transaction. Consuming clients should page results based on page size set in configuration to the core. Will return all tx\u2019s regardless if they were re-orged or not. A confirmed parameter will indicate if the transaction is part of the blockchain and confirmed.\n Parameters:\n Asset guid - asset guid number specific to each asset\n Address - a sender or receiver address that owns an asset. If empty then assume you want all tx\u2019s based on asset.\n Page number - return specific page number of transactions. 0 by default*/\n \nIf Address is empty:\n Get vector based on ;\nElse:\n Get vector based on
;\n\nFor each txid in vector:\n Get JSON output based on txid;\n Get blockhash of txid from blockindex (if exist otherwise set to empty);\n Add blockhash of txid to JSON output as block_hash;\n\nReturn JSON output to caller\n")),(0,s.kt)("p",null,"Pseudocode for listassetindexassets RPC function:"),(0,s.kt)("pre",null,(0,s.kt)("code",{parentName:"pre",className:"language-cplusplus"},"/*Assets per Address:\nReturns all asset guids related to an address at any time in blockchain history.\n Parameters:\n Address - a sender or receiver address that potentially owns an asset*/\n\nGet vector based on
;\n\nReturn JSON of all assets found to caller;\n")),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Q&A")),(0,s.kt)("p",null,"What does re-org protected mean?\nIt means that if the blockchain tip is disconnected for whatever reason (longer chain is found) then you have to rollback transactions, we wouldn't want our asset view to incorrectly show transactions as confirmed when they have been rolled back."),(0,s.kt)("p",null,"What does asset indexing mean?\nIt means that we need a way to show all transactions related to an asset+address tuple. You need to be able to as a wallet or explorer view pertaining transactions for your asset allocation as a sender or receiver."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7637bbfc.71ce61f8.js b/assets/js/7637bbfc.71ce61f8.js deleted file mode 100644 index 3ca52389..00000000 --- a/assets/js/7637bbfc.71ce61f8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7283],{3905:(e,t,a)=>{a.d(t,{Zo:()=>h,kt:()=>y});var n=a(67294);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var l=n.createContext({}),c=function(e){var t=n.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},h=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var a=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,h=s(e,["components","mdxType","originalType","parentName"]),u=c(a),p=i,y=u["".concat(l,".").concat(p)]||u[p]||d[p]||o;return a?n.createElement(y,r(r({ref:t},h),{},{components:a})):n.createElement(y,r({ref:t},h))}));function y(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=a.length,r=new Array(o);r[0]=p;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[u]="string"==typeof e?e:i,r[1]=s;for(var c=2;c{a.r(t),a.d(t,{default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>s});var n=a(87462),i=(a(67294),a(3905));const o={sidebar_position:1},r={unversionedId:"intro/syscoin-what",id:"intro/syscoin-what",isDocsHomePage:!1,title:"About Syscoin",description:"What is Syscoin?",source:"@site/docs/intro/syscoin-what.mdx",sourceDirName:"intro",slug:"/intro/syscoin-what",permalink:"/docs/intro/syscoin-what",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"Bitcoin Technology",permalink:"/docs/tech/bitcoin-tech"}},s=[{value:"What is Syscoin?",id:"what-is-syscoin",children:[]},{value:"Modular Design",id:"modular-design",children:[{value:"Execution Layer",id:"execution-layer",children:[]},{value:"Settlement Layer",id:"settlement-layer",children:[]},{value:"Data Availability",id:"data-availability",children:[]}]},{value:"Why use Syscoin?",id:"why-use-syscoin",children:[]}],l={toc:s},c="wrapper";function h(e){let{components:t,...a}=e;return(0,i.kt)(c,(0,n.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"what-is-syscoin"},"What is Syscoin?"),(0,i.kt)("p",null,"Syscoin is a full-stack modular Proof-of-Work blockchain solution ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mined")," with Bitcoin. At its base is a dual-chain Layer 1: the core is the Syscoin native (UTXO) blockchain network providing ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/poda"},"Data Availability")," and ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"Finality"),", and running in tandem with it is an Ethereum Virtual Machine (EVM) chain called ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},(0,i.kt)("em",{parentName:"a"},"NEVM"))," (Network-Enhanced Virtual Machine) which provides Ethereum equivalence while inheriting enhanced security from the native chain and providing scalability through rollups."),(0,i.kt)("p",null,"Notable features of Syscoin include:"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/nevm"},(0,i.kt)("em",{parentName:"a"},"NEVM"))," - the Network-Enhanced Virtual Machine that powers smart contracts on Syscoin."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/rollux"},(0,i.kt)("em",{parentName:"a"},"Rollux"))," - a Layer 2 suite of Optimistic and ZK-based rollups to scale NEVM smart contracts."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/z-dag"},(0,i.kt)("em",{parentName:"a"},"Z-DAG"))," - an instant settlement protocol with probabilistic security used to enable blisteringly fast UTXO transfers of stablecoins or other SPT assets."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/masternodes"},(0,i.kt)("em",{parentName:"a"},"Masternodes"))," - incentivized full nodes collectively provide ",(0,i.kt)("a",{parentName:"li",href:"/docs/tech/finality"},"finality")," through multi-quorum chainlocks as additive security and finality on top of Nakamoto consensus. Owners of these collateralized nodes receive rewards for the services they provide to the network."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/notary"},(0,i.kt)("em",{parentName:"a"},"Notary rulesets"))," - in a nutshell these allow ",(0,i.kt)("a",{parentName:"li",href:"/docs/tech/tokens"},(0,i.kt)("em",{parentName:"a"},"Syscoin Platform Token (SPT)"))," creators to apply their own rulesets on transfers of their SPT and then accept or deny the transfers by signing or not signing the transactions. These off-chain rulesets enable SPT asset managers to maintain compliance even when regulations or business rules change.")),(0,i.kt)("h2",{id:"modular-design"},"Modular Design"),(0,i.kt)("p",null,"To understand why Syscoin is the perfect choice for developers, one must first understand the new direction in which the EVM-based blockchain ecosystem is evolving. The new paradigm is focused on modular blockchains. Rather than trying to achieve everything (scalability, decentralization, security) on a single blockchain layer, modularity involves multiple layers. There are three terms to keep in mind for the coming blockchain future, these are:"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Execution layer"),(0,i.kt)("li",{parentName:"ul"},"Settlement layer"),(0,i.kt)("li",{parentName:"ul"},"Data availability")),(0,i.kt)("p",null,"These will be expanded on below."),(0,i.kt)("h3",{id:"execution-layer"},"Execution Layer"),(0,i.kt)("p",null,"The execution layer in the new blockchain paradigm is where all the day-to-day transactions take place. Using a DEX to swap tokens? Buying NFTs on a marketplace? Whatever you can think of, most of these smart contracts will be operating on the execution layer. These Layer 2 scaling solutions can be optimistic or ZK-based rollups, or perhaps hybridized rollups in the future. Layer 1 blockchains, i.e. Syscoin NEVM or Ethereum, cannot scale on their own without trading-off some security and/or decentralization. This is why execution belongs a separate Layer 2 focused on scalability, enabling the Layer 1 to serve its best purposes - secure decentralized settlement and data availability."),(0,i.kt)("h3",{id:"settlement-layer"},"Settlement Layer"),(0,i.kt)("p",null,"The settlement layer is the layer that secures the ecosystem, as such it should be highly secure such as through being ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mined")," with Bitcoin. Highly scalable rollups operating as the execution layer for Syscoin will, at regular intervals, post proofs of the transactions that took place on them to the ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},"NEVM")," blockchain in order to securely and immutably store what has taken place within the rollups."),(0,i.kt)("h3",{id:"data-availability"},"Data Availability"),(0,i.kt)("p",null,"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications, and secure users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA is able to utilize an existing fee market while Ethereum requires the addition of new complexities."),(0,i.kt)("p",null,"PoDA\u2019s design considers proving and archiving as separate concerns. With PoDA, the succinct proof of data is stored on Layer 1, while an assumption is made that at least one honest party in the world will archive the raw data within a 6-hour window of time - similar to the honesty assumption made when syncing a Bitcoin node (at least one honest node). If desired, the raw data itself can be secured by Syscoin\u2019s L1 network by reposting the data every 6 hours."),(0,i.kt)("p",null,"Validium (fully offchain DA) is also available as an alternative to PoDA for less-critical applications where the focus might be on even lower cost and higher throughput by trading-off Layer 1 data security."),(0,i.kt)("h2",{id:"why-use-syscoin"},"Why use Syscoin?"),(0,i.kt)("p",null,"As detailed above, with rollups operating on top of Syscoin, service is highly scalable. With Validium and fractal scaling, even greater scale can be achieved. As such the scalability aspect is very much covered. Scalability doesn't just mean high transaction per second volume though, it also takes into consideration the cost of transactions. Transactions on Syscoin will be cheap even at high throughput, as such if a project was considering which chain to operate their rollups on top of and wanted to have low gas fees for regularly posting proofs to the blockchain, Syscoin will be cheaper than other EVM-based chains."),(0,i.kt)("p",null,"Next is decentralization, Syscoin has around 2500 active masternodes operating on its network, with its popularity increasing as it becomes a more well-known smart chain it's likely that this number will increase for the rewards hosting a masternode provides. This means that Syscoin is not just scalable but also decentralized."),(0,i.kt)("p",null,"Lastly is security. Due to being merge-mined with Bitcoin Syscoin currently has around 30% of the hashpower that goes into mining Bitcoin. This is a large amount of security already and the Syscoin team is now looking to onboard more Bitcoin miners as it aims to become one of the most secure settlement layers. Not content with just this though, Syscoin also utilizes multi-quorum chainlocks for ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"finality"),", practically eliminating the risk of attacks like 51%, selfish mining, and long-range MEV attacks, making it even more secure."),(0,i.kt)("p",null,"To conclude, Syscoin is not only designed to be scalable and decentralized, it is also highly secure and cost-effective to build on."),(0,i.kt)("p",null,"Are you a project interested in building on Syscoin?"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Contact us here: ",(0,i.kt)("a",{parentName:"li",href:"https://syscoin.org/contact"},"https://syscoin.org/contact")),(0,i.kt)("li",{parentName:"ul"},"Or you can connect with us on the Syscoin Discord server: ",(0,i.kt)("a",{parentName:"li",href:"https://discord.gg/syscoin"},"https://discord.gg/syscoin"))))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7637bbfc.7799081e.js b/assets/js/7637bbfc.7799081e.js new file mode 100644 index 00000000..43641e04 --- /dev/null +++ b/assets/js/7637bbfc.7799081e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7283],{3905:(e,t,a)=>{a.d(t,{Zo:()=>h,kt:()=>p});var n=a(67294);function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t=0||(i[a]=e[a]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}var l=n.createContext({}),c=function(e){var t=n.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},h=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var a=e.components,i=e.mdxType,o=e.originalType,l=e.parentName,h=s(e,["components","mdxType","originalType","parentName"]),d=c(a),p=i,y=d["".concat(l,".").concat(p)]||d[p]||u[p]||o;return a?n.createElement(y,r(r({ref:t},h),{},{components:a})):n.createElement(y,r({ref:t},h))}));function p(e,t){var a=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=a.length,r=new Array(o);r[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:i,r[1]=s;for(var c=2;c{a.r(t),a.d(t,{default:()=>c,frontMatter:()=>o,metadata:()=>r,toc:()=>s});var n=a(87462),i=(a(67294),a(3905));const o={sidebar_position:1},r={unversionedId:"intro/syscoin-what",id:"intro/syscoin-what",isDocsHomePage:!1,title:"About Syscoin",description:"What is Syscoin?",source:"@site/docs/intro/syscoin-what.mdx",sourceDirName:"intro",slug:"/intro/syscoin-what",permalink:"/docs/intro/syscoin-what",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"Bitcoin Technology",permalink:"/docs/tech/bitcoin-tech"}},s=[{value:"What is Syscoin?",id:"what-is-syscoin",children:[]},{value:"Modular Design",id:"modular-design",children:[{value:"Execution Layer",id:"execution-layer",children:[]},{value:"Settlement Layer",id:"settlement-layer",children:[]},{value:"Data Availability",id:"data-availability",children:[]}]},{value:"Why use Syscoin?",id:"why-use-syscoin",children:[]}],l={toc:s};function c(e){let{components:t,...a}=e;return(0,i.kt)("wrapper",(0,n.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"what-is-syscoin"},"What is Syscoin?"),(0,i.kt)("p",null,"Syscoin is a full-stack modular Proof-of-Work blockchain solution ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mined")," with Bitcoin. At its base is a dual-chain Layer 1: the core is the Syscoin native (UTXO) blockchain network providing ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/poda"},"Data Availability")," and ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"Finality"),", and running in tandem with it is an Ethereum Virtual Machine (EVM) chain called ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},(0,i.kt)("em",{parentName:"a"},"NEVM"))," (Network-Enhanced Virtual Machine) which provides Ethereum equivalence while inheriting enhanced security from the native chain and providing scalability through rollups."),(0,i.kt)("p",null,"Notable features of Syscoin include:"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/nevm"},(0,i.kt)("em",{parentName:"a"},"NEVM"))," - the Network-Enhanced Virtual Machine that powers smart contracts on Syscoin."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/rollux"},(0,i.kt)("em",{parentName:"a"},"Rollux"))," - a Layer 2 suite of Optimistic and ZK-based rollups to scale NEVM smart contracts."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/z-dag"},(0,i.kt)("em",{parentName:"a"},"Z-DAG"))," - an instant settlement protocol with probabilistic security used to enable blisteringly fast UTXO transfers of stablecoins or other SPT assets."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/masternodes"},(0,i.kt)("em",{parentName:"a"},"Masternodes"))," - incentivized full nodes collectively provide ",(0,i.kt)("a",{parentName:"li",href:"/docs/tech/finality"},"finality")," through multi-quorum chainlocks as additive security and finality on top of Nakamoto consensus. Owners of these collateralized nodes receive rewards for the services they provide to the network."),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/notary"},(0,i.kt)("em",{parentName:"a"},"Notary rulesets"))," - in a nutshell these allow ",(0,i.kt)("a",{parentName:"li",href:"/docs/tech/tokens"},(0,i.kt)("em",{parentName:"a"},"Syscoin Platform Token (SPT)"))," creators to apply their own rulesets on transfers of their SPT and then accept or deny the transfers by signing or not signing the transactions. These off-chain rulesets enable SPT asset managers to maintain compliance even when regulations or business rules change.")),(0,i.kt)("h2",{id:"modular-design"},"Modular Design"),(0,i.kt)("p",null,"To understand why Syscoin is the perfect choice for developers, one must first understand the new direction in which the EVM-based blockchain ecosystem is evolving. The new paradigm is focused on modular blockchains. Rather than trying to achieve everything (scalability, decentralization, security) on a single blockchain layer, modularity involves multiple layers. There are three terms to keep in mind for the coming blockchain future, these are:"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Execution layer"),(0,i.kt)("li",{parentName:"ul"},"Settlement layer"),(0,i.kt)("li",{parentName:"ul"},"Data availability")),(0,i.kt)("p",null,"These will be expanded on below."),(0,i.kt)("h3",{id:"execution-layer"},"Execution Layer"),(0,i.kt)("p",null,"The execution layer in the new blockchain paradigm is where all the day-to-day transactions take place. Using a DEX to swap tokens? Buying NFTs on a marketplace? Whatever you can think of, most of these smart contracts will be operating on the execution layer. These Layer 2 scaling solutions can be optimistic or ZK-based rollups, or perhaps hybridized rollups in the future. Layer 1 blockchains, i.e. Syscoin NEVM or Ethereum, cannot scale on their own without trading-off some security and/or decentralization. This is why execution belongs a separate Layer 2 focused on scalability, enabling the Layer 1 to serve its best purposes - secure decentralized settlement and data availability."),(0,i.kt)("h3",{id:"settlement-layer"},"Settlement Layer"),(0,i.kt)("p",null,"The settlement layer is the layer that secures the ecosystem, as such it should be highly secure such as through being ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mined")," with Bitcoin. Highly scalable rollups operating as the execution layer for Syscoin will, at regular intervals, post proofs of the transactions that took place on them to the ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},"NEVM")," blockchain in order to securely and immutably store what has taken place within the rollups."),(0,i.kt)("h3",{id:"data-availability"},"Data Availability"),(0,i.kt)("p",null,"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications, and secure users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA is able to utilize an existing fee market while Ethereum requires the addition of new complexities."),(0,i.kt)("p",null,"PoDA\u2019s design considers proving and archiving as separate concerns. With PoDA, the succinct proof of data is stored on Layer 1, while an assumption is made that at least one honest party in the world will archive the raw data within a 6-hour window of time - similar to the honesty assumption made when syncing a Bitcoin node (at least one honest node). If desired, the raw data itself can be secured by Syscoin\u2019s L1 network by reposting the data every 6 hours."),(0,i.kt)("p",null,"Validium (fully offchain DA) is also available as an alternative to PoDA for less-critical applications where the focus might be on even lower cost and higher throughput by trading-off Layer 1 data security."),(0,i.kt)("h2",{id:"why-use-syscoin"},"Why use Syscoin?"),(0,i.kt)("p",null,"As detailed above, with rollups operating on top of Syscoin, service is highly scalable. With Validium and fractal scaling, even greater scale can be achieved. As such the scalability aspect is very much covered. Scalability doesn't just mean high transaction per second volume though, it also takes into consideration the cost of transactions. Transactions on Syscoin will be cheap even at high throughput, as such if a project was considering which chain to operate their rollups on top of and wanted to have low gas fees for regularly posting proofs to the blockchain, Syscoin will be cheaper than other EVM-based chains."),(0,i.kt)("p",null,"Next is decentralization, Syscoin has around 2500 active masternodes operating on its network, with its popularity increasing as it becomes a more well-known smart chain it's likely that this number will increase for the rewards hosting a masternode provides. This means that Syscoin is not just scalable but also decentralized."),(0,i.kt)("p",null,"Lastly is security. Due to being merge-mined with Bitcoin Syscoin currently has around 30% of the hashpower that goes into mining Bitcoin. This is a large amount of security already and the Syscoin team is now looking to onboard more Bitcoin miners as it aims to become one of the most secure settlement layers. Not content with just this though, Syscoin also utilizes multi-quorum chainlocks for ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"finality"),", practically eliminating the risk of attacks like 51%, selfish mining, and long-range MEV attacks, making it even more secure."),(0,i.kt)("p",null,"To conclude, Syscoin is not only designed to be scalable and decentralized, it is also highly secure and cost-effective to build on."),(0,i.kt)("p",null,"Are you a project interested in building on Syscoin?"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Contact us here: ",(0,i.kt)("a",{parentName:"li",href:"https://syscoin.org/contact"},"https://syscoin.org/contact")),(0,i.kt)("li",{parentName:"ul"},"Or you can connect with us on the Syscoin Discord server: ",(0,i.kt)("a",{parentName:"li",href:"https://discord.gg/syscoin"},"https://discord.gg/syscoin"))))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/784e1b47.05b27f88.js b/assets/js/784e1b47.05b27f88.js new file mode 100644 index 00000000..5c24043d --- /dev/null +++ b/assets/js/784e1b47.05b27f88.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9804],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>m});var n=r(67294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=l(r),m=a,y=u["".concat(c,".").concat(m)]||u[m]||p[m]||o;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function m(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=u;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:a,i[1]=s;for(var l=2;l{r.r(t),r.d(t,{default:()=>l,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var n=r(87462),a=(r(67294),r(3905));const o={},i={unversionedId:"tech/masternodes",id:"tech/masternodes",isDocsHomePage:!1,title:"Masternodes",description:"Syscoin masternodes are essentially full nodes that are incentivized to keep resources online and operate 24/7. These nodes increase the decentralization of Syscoin, contribute computing resources, and enable the operator to perform specific services for the network. The primary service they provided is Finality, which increases the security of the chain beyond that of typical Proof-of-Work blockchains.",source:"@site/docs/tech/masternodes.mdx",sourceDirName:"tech",slug:"/tech/masternodes",permalink:"/docs/tech/masternodes",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Finality",permalink:"/docs/tech/finality"},next:{title:"Merged Mining",permalink:"/docs/tech/merged-mining"}},s=[],c={toc:s};function l(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"Syscoin masternodes are essentially full nodes that are incentivized to keep resources online and operate 24/7. These nodes increase the decentralization of Syscoin, contribute computing resources, and enable the operator to perform specific services for the network. The primary service they provided is ",(0,a.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"Finality"),", which increases the security of the chain beyond that of typical Proof-of-Work blockchains."),(0,a.kt)("p",null,"Owning a Syscoin masternode and providing this service to earn income requires you to hold 100,000 SYS as collateral. While the masternode is active it will be paid regularly for its service. The beginning of payments is determined by when the masternode goes online. The (deterministic) qualification period following a masternode activation typically lasts around a week depending on how many masternodes are currently on the network. A newly activated masternode is added to queue of those waiting to be paid each block and this position will be kept as long as it is live. Fewer masternodes on the network translates to more frequent payments. With 2500~ online, a masternode receives income roughly once every three days."),(0,a.kt)("p",null,"The base income payment to a masternode is 55.70 SYS as of March 2023. There are two further seniority levels based on when the 100,000 SYS collateral transaction was settled, as can be seen below."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Payouts as of March 2023")),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"center"},"Seniority Level"),(0,a.kt)("th",{parentName:"tr",align:"center"},"Payout"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},"Basic"),(0,a.kt)("td",{parentName:"tr",align:"center"},"55.70 sys")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},"1 year"),(0,a.kt)("td",{parentName:"tr",align:"center"},"75.19 sys")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},"2.5 years"),(0,a.kt)("td",{parentName:"tr",align:"center"},"111.40 sys")))),(0,a.kt)("p",null,"There is a 5% reduction in these payouts each year. This reduction will cease in the distant future at a minimum of 5.275 sys per payout for basic-seniority level nodes, and 10.55 sys for full-seniority nodes. This floor, combined with SYS EIP-1559 coinomics, serves to keep masternodes incentivized indefinitely into the future."),(0,a.kt)("p",null,"If you have 100,000 SYS and are interested in setting up a new masternode, use this ",(0,a.kt)("a",{parentName:"p",href:"/docs/guides/mn_setup"},"setup guide"),"."),(0,a.kt)("p",null,"If you already have a masternode and are looking to upgrade Syscoin Core to the current latest version (4.4), use this ",(0,a.kt)("a",{parentName:"p",href:"https://syscoin.medium.com/masternode-mandatory-upgrade-to-syscoin-4-4-56c9421f9ca2"},"upgrade guide"),"."))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/784e1b47.8065b803.js b/assets/js/784e1b47.8065b803.js deleted file mode 100644 index 43e43739..00000000 --- a/assets/js/784e1b47.8065b803.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9804],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>y});var n=r(67294);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var c=n.createContext({}),l=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(c.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=l(r),m=a,y=p["".concat(c,".").concat(m)]||p[m]||u[m]||o;return r?n.createElement(y,i(i({ref:t},d),{},{components:r})):n.createElement(y,i({ref:t},d))}));function y(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=r.length,i=new Array(o);i[0]=m;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[p]="string"==typeof e?e:a,i[1]=s;for(var l=2;l{r.r(t),r.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var n=r(87462),a=(r(67294),r(3905));const o={},i={unversionedId:"tech/masternodes",id:"tech/masternodes",isDocsHomePage:!1,title:"Masternodes",description:"Syscoin masternodes are essentially full nodes that are incentivized to keep resources online and operate 24/7. These nodes increase the decentralization of Syscoin, contribute computing resources, and enable the operator to perform specific services for the network. The primary service they provided is Finality, which increases the security of the chain beyond that of typical Proof-of-Work blockchains.",source:"@site/docs/tech/masternodes.mdx",sourceDirName:"tech",slug:"/tech/masternodes",permalink:"/docs/tech/masternodes",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Finality",permalink:"/docs/tech/finality"},next:{title:"Merged Mining",permalink:"/docs/tech/merged-mining"}},s=[],c={toc:s},l="wrapper";function d(e){let{components:t,...r}=e;return(0,a.kt)(l,(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"Syscoin masternodes are essentially full nodes that are incentivized to keep resources online and operate 24/7. These nodes increase the decentralization of Syscoin, contribute computing resources, and enable the operator to perform specific services for the network. The primary service they provided is ",(0,a.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"Finality"),", which increases the security of the chain beyond that of typical Proof-of-Work blockchains."),(0,a.kt)("p",null,"Owning a Syscoin masternode and providing this service to earn income requires you to hold 100,000 SYS as collateral. While the masternode is active it will be paid regularly for its service. The beginning of payments is determined by when the masternode goes online. The (deterministic) qualification period following a masternode activation typically lasts around a week depending on how many masternodes are currently on the network. A newly activated masternode is added to queue of those waiting to be paid each block and this position will be kept as long as it is live. Fewer masternodes on the network translates to more frequent payments. With 2500~ online, a masternode receives income roughly once every three days."),(0,a.kt)("p",null,"The base income payment to a masternode is 55.70 SYS as of March 2023. There are two further seniority levels based on when the 100,000 SYS collateral transaction was settled, as can be seen below."),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Payouts as of March 2023")),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"center"},"Seniority Level"),(0,a.kt)("th",{parentName:"tr",align:"center"},"Payout"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},"Basic"),(0,a.kt)("td",{parentName:"tr",align:"center"},"55.70 sys")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},"1 year"),(0,a.kt)("td",{parentName:"tr",align:"center"},"75.19 sys")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"center"},"2.5 years"),(0,a.kt)("td",{parentName:"tr",align:"center"},"111.40 sys")))),(0,a.kt)("p",null,"There is a 5% reduction in these payouts each year. This reduction will cease in the distant future at a minimum of 5.275 sys per payout for basic-seniority level nodes, and 10.55 sys for full-seniority nodes. This floor, combined with SYS EIP-1559 coinomics, serves to keep masternodes incentivized indefinitely into the future."),(0,a.kt)("p",null,"If you have 100,000 SYS and are interested in setting up a new masternode, use this ",(0,a.kt)("a",{parentName:"p",href:"/docs/guides/mn_setup"},"setup guide"),"."),(0,a.kt)("p",null,"If you already have a masternode and are looking to upgrade Syscoin Core to the current latest version (4.4), use this ",(0,a.kt)("a",{parentName:"p",href:"https://syscoin.medium.com/masternode-mandatory-upgrade-to-syscoin-4-4-56c9421f9ca2"},"upgrade guide"),"."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/7fb06139.37f3598c.js b/assets/js/7fb06139.bead70f8.js similarity index 92% rename from assets/js/7fb06139.37f3598c.js rename to assets/js/7fb06139.bead70f8.js index c955c5ea..14bed38e 100644 --- a/assets/js/7fb06139.37f3598c.js +++ b/assets/js/7fb06139.bead70f8.js @@ -1 +1 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[4728],{57463:(e,s,n)=>{n.d(s,{Z:()=>f});var t=n(87462),a=n(67294),o=n(340),r=n(38456),c=n.n(r),d=n(13960),i=n(89739);const l={code(e){let{node:s,inline:n,className:o,children:r,...c}=e;const l=/language-(\w+)/.exec(o||"");return!n&&l?a.createElement(d.Z,(0,t.Z)({style:i.Z,language:l[1],PreTag:"div",children:String(r).replace(/\n$/,"")},c)):a.createElement("code",(0,t.Z)({className:o},c))}};class u extends a.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?a.createElement(o.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},a.createElement(o.td,null,this.state.examples.map(((e,s)=>a.createElement(o.OK,{key:s,label:s},"Example ",s+1)))),this.state.examples.map(((e,s)=>a.createElement(o.x4,{key:s},a.createElement(c(),{components:l,children:e}))))):this.state.examples.map(((e,s)=>a.createElement(c(),{key:s,components:l,children:e}))):null}}const f=u},89262:(e,s,n)=>{n.d(s,{Z:()=>l});var t=n(67294),a=(n(99403),n(65053),n(58650),n(38456)),o=n.n(a);n(66367);class r extends t.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let s=`**\`${e.data.name}\`**`,n="";return" yes"===e.data.required&&(n="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:t.createElement("li",{class:"li-param"},t.createElement("div",{class:"flex short"},t.createElement(o(),{class:"md-type",children:s}),t.createElement("p",{class:"required"},n)))}renderParam(e){let s=`${e.data.type}`;return e.children?t.createElement("div",{class:"md-type"},this.getParamElement(e),t.createElement("ul",{class:"ul-param"},t.createElement("li",{class:"li-param"},t.createElement("details",{class:"short-spacing"},t.createElement("summary",null,t.createElement("div",null,t.createElement(o(),{class:"md-type",children:s}),t.createElement(o(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):t.createElement("div",{class:"md-type"},this.getParamElement(e),t.createElement("ul",{class:"ul-param"},t.createElement("li",{class:"li-param"},t.createElement("div",{class:"short-spacing"},t.createElement(o(),{class:"md-type",children:s}),t.createElement(o(),{class:"md-type",children:e.data.description})))))}renderParams(e){return t.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?t.createElement("div",null,this.renderParams(this.state.nodes)):null}}const c=r;var d=n(57463);class i extends t.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,s,n){return!1!==this.state.showTitles?t.createElement("div",null,t.createElement("h4",null,s),t.createElement(c,{root:n,type:e})):t.createElement(c,{root:n,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?t.createElement("div",null,t.createElement("h4",null,"Examples"),t.createElement(d.Z,{examples:this.state.examples})):t.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?t.createElement("div",null,t.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):t.createElement("div",null,t.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const l=i},48551:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToEth () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = { ethaddress: Buffer.from('07C72973d42D28de80D47Eb1F8Bc4a8ee0D5bBb1', 'hex') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '1965866356'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1quexf5zalfak2cvv9mujkh9pc3f3wrcgz7gzhh5' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const sysFromXpubOrAddress = 'vpub5ZdpZuCU7ubDRZ5V7uryBDBEZxDNP67FLgPyHgPtiVgjwDk8rjxAFbg4cHNAyp9ZLXNgJRq6f9QjWCc4Ef7gUxFivP7GkSKo6ANNb2jrzhA'\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},10988:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // empty ethaddress means burning SYSX to SYS, otherwise its burning asset to goto Etheruem\n const assetOpts = { ethaddress: Buffer.from('') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '3372068234'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},80585:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = {\n bridgetransferid: 2,\n blocknumber: 6816449,\n txvalue: Buffer.from('f9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txroot: Buffer.from('a0842ab40a9c4770c8ec74158aadcf943e8158128fdd1ba8cef9c7cb8eda732692', 'hex'),\n txparentnodes: Buffer.from('f9039cf871a04442f3f69add48df0531fe3c0025103b53fcf3fe38060e5f29366caec8855e4fa0229f7b7e69c0b5793f8a61c06f5cc09b0f4938561856c632ee56c3b2c4d6d153808080808080a07720fff5e8eabef55fa129ee55b3b0d82875e2b25b8f26e22cf6b5c4f9cec7ab8080808080808080f901f180a03ee147749c5b769bc5d1a53e4f37567506d417de4ec4e67722130eda4638427da043caa62b40dad61bce4d50fb62ea485729a6687c3aa13895cf4ba234b92afe82a0b79958e4aa63104da4599ebb91e712375e6adfc89abc14b9533c5778f107e7d8a01bc7f80f81a8d281253ac882bb89aca6131e5794bfcbdccde990bb6d5be6cb2fa0aedad62f1426b68e395a59e06bf242fb28b882af67589bce3495a99650058ec4a0c21a7e0b9d0948bb6b65a5e73f5f01173064d20e4819ca4884d1eabc22bf737da090087708c533b10af8925eebf398c005fc16cb6a515111f2be4f328f762949d0a02827daacd6a52ae6c74a78791ff0c5e33a7a85f5ca0a47cdfbcd5219f75f705ca0af7ecf31d56575155d272cd813bf7d7ac435f62b0538c31771e407dafef6be53a09b74707c3abdbfa305cb61f23c940f063f553f17d0bd3013126aad357193353ea067a52ed59820bb48f8010d2b2bb0ee92803b1a00a8341fd4c3269b065ed070d9a0bf0e9b45955283e6e04b71eda63bfc7b55d9f54527943aa1c159b4161b1e1daea0ecabd4c00deacf9a7ff25be942c9f468628eb776fbec23a9ca0d8fc256f14a31a0df406c7ac7f38c2ea1d9bdb06c2e51db3de8cf0e655a8e0e683e19ca1ddf83d3a08360ec6c5e26614f144520ed9d0b577640381f0f38b5429b67422f75d603ad5a80f9013220b9012ef9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txpath: Buffer.from('0b', 'hex'),\n receiptvalue: Buffer.from('f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex'),\n receiptroot: Buffer.from('a0a958499bf48fcce17672b58aa9037bd3dafeb6231880722d909c60bacfaaa8d4', 'hex'),\n receiptparentnodes: Buffer.from('f90551f871a0cab13def05783d763febde31920bd234d0486c26955c2937e0486db909a28eeea09cf564a668a29a5f1cc5d6ef8e19988dfd2b30d290672f0ffc4200e608cb65ac808080808080a029b8ed2258c53562954c87bcd7f60671029680d2a19ef8bcd3ad470ea48d57d18080808080808080f901f180a07c21ca39872e6b8f611bc6b1b295c24f988b5cf944625eabf5236b37ea3b9f01a0edb9e63fdc31ba41f11a8b2fb8000ad1357b3c0b27a8483968d75e93e7b488a1a02231847aa3c5dde2f2a1851a66aabec65e5eaae8c28110756f122c72be1fba05a08fa87809e5b7f989e78ccbe1a6bc4924115d5747529af879f2fe196f959b64fca091f1bf748061eba21a413b72d70afccb8daebb5906d5cd9dda06d5f877065d5ba0d7e6c82dd1c25eb2f90b02f038beaff98c260d46992d0b3c1eac7d51552c7417a01d5c43deb2e3794292cdffb04f82ab25bc4e75f5e0cab928b66582e08026f5b1a0d7323a87dc8fbc66c7b34810d2cad92fc0da168d962b4556e825a3266a148b74a0af31f0b7cdcd6a855ac7678ef2b8fcb1afeda918b0c8e4696a4013f2b75ca402a0f9d63f2db8ab6d3c3e12073ac2910ee575832bde3e4586f18e59dd26a16adb7ca0f0c91e059c43780617d304fe8992511f096ccc35232da1f25127db53ba4fb05aa052030932d0a9026efd2a3ada67f33d401cd9a97ddb24c606af3a0a0c24e432aba0142af9b4686c6ca30b0ac39133fa76d8682b7bbbec488e62e652d3f25419777da0940f31617e91cfbabaa9d0d1638949f8125f80a43027122778522675194a4e65a0edc4c7d2cf30150fdf7e502d0ef06c80c85fc37260134a112493c6183f62f4b580f902e720b902e3f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex')\n }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '2615707979'\n // mint 100 COINS\n const amountToMint = new sjs.utils.BN(10000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},96163:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\n// pass just Eth txid and let Syscoin get proof to create transaction\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // infura URL + ID and ethereum burn txid\n const assetOpts = {\n infuraurl: '',\n ethtxid: '0x3c3bfe141fcbe313f2afd31be1b63dd3a0147235161e637407fbb8605d3d294f'\n }\n // will be auto filled based on ethtxid eth-proof\n const assetMap = null\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},39900:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '3813460941'\n // mint 11000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qpay7ehn7epk5dmh8xv7dn5ksvyhr06323mtz0s' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},89872:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2264781424'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }],\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},61610:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2441957158'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},90449:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function newAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n const assetOpts = { precision: 8, symbol: 'JAG', maxsupply: new sjs.utils.BN(100000000000), description: 'publicvalue' }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n // let HDSigner find asset destination address\n const sysReceivingAddress = null\n const psbt = await syscoinjs.assetNew(assetOpts, txOpts, sysChangeAddress, sysReceivingAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n const assets = syscointx.getAssetsFromTx(psbt.extractTransaction())\n console.log('created asset ' + assets.keys().next().value)\n}"},98510:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const outputsArr = [\n { address: 'tsys1quas925cuqmlkc0082442uh68efv3hdazknmjpd', value: new sjs.utils.BN(10000000) }\n ]\n const psbt = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},75408:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSysMemo () {\n const feeRate = new sjs.utils.BN(10)\n const memo = Buffer.from('Gas station order id: 606c80d6cc793f13d2f0d424. Asset GUID 341906151')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader, assetWhiteList: new Map([['341906151', {}]]) }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p'\n const outputsArr = [\n { address: 'tsys1q0hxdj9r3tyxmr66tehdhhl35l5rk4ucanteuh6', value: new sjs.utils.BN(3158692) }\n ]\n const result = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate, 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n }\n const psbt = await syscoinjs.signAndSendWithWIF(result.psbt, 'cQh85hzaUMQDCneQvuwEvKFS418gzHfaQ9MmKj9pCd8aKgRNaEDr', result.assets)\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString())\n}"},81099:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sysBurnToAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '3372068234'\n // mint 10 COINS\n const amountToMint = new sjs.utils.BN(1000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.syscoinBurnToAssetAllocation(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},35964:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAsset () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: false }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(500), address: 'tsys1qgkyez6kz2l2qkr5zmjmwx0rwkrkylf2p09lyd4' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},40770:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByAddress () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '2201781193'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'tsys1qd2wejyl606fratchj0emvwcl78p67wq4x9cy4w')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSendWithWIF(result.res, 'cSRej8siHpwEKN9Mzh8s7WFwFenhb2my5dnyWK8pH1jUwonCvEdP', result.assets)\n}"},5235:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByMultiHDSigners () {\n const mnemonic1 = 'bicycle lucky earn primary wasp ranch dinner gravity property tenant gospel nephew soul cruise tool'\n const Signer1 = new sjs.utils.HDSigner(mnemonic1, null, true)\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qfqq6fg6jacruta85xysa4hzc00y9c0numedhh8' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const sysFromXpubOrAddress = [HDSigner.getAccountXpub(), Signer1.getAccountXpub()]\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n // this should sign one of the inputs with HDSigner\n let psbt = await syscoinjs.signAndSend(result.psbt, result.assets)\n // this should sign the other input with Signer1, and then notarize, signing one input with Signer1 again\n const psbt1 = await syscoinjs.signAndSend(psbt, result.assets, Signer1)\n // this should finalize the transaction from HDSigner signing (this time notarized) and send it to network\n psbt = await syscoinjs.signAndSend(psbt1, result.assets)\n}"},61127:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByXpub () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(100000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'vpub5ZnEznWQvUgz3caxxZVnfnxkHkDstTFrsdSi9zQAf48ozc4a1XdfaAY6eBgKigm4NxykfcFh7d3oBwMHqKzzGo2jKET8AbypuuffvbBwAwH')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSend(result.res, result.assets)\n}"},5852:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetWithMemo () {\n const feeRate = new sjs.utils.BN(10)\n // data carrying memo field added to opreturn commitment\n const memo = Buffer.from('a7bf215279d3f6568dcd17c429d41a35a466f803', 'hex')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(5), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString('hex'))\n}"},54545:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2125509931'\n // update capability flags, update description and update eth smart contract address\n const assetOpts = { updatecapabilityflags: '123', contract: Buffer.from('2b1e58b979e4b2d72d8bca5bb4646ccc032ddbfc', 'hex'), description: 'new publicvalue' }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},98741:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAssetAuxFees () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2229676993'\n const scalarPct = 1000\n // the aux fee keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n const auxFeeKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n // setup the auxfee table\n const auxFees = [\n {\n bound: new sjs.utils.BN(0),\n percent: 1 * scalarPct\n },\n {\n bound: new sjs.utils.BN(10 * syscointx.utils.COIN),\n percent: 0.4 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250 * syscointx.utils.COIN),\n percent: 0.2 * scalarPct\n },\n {\n bound: new sjs.utils.BN(2500 * syscointx.utils.COIN),\n percent: 0.07 * scalarPct\n },\n {\n bound: new sjs.utils.BN(25000 * syscointx.utils.COIN),\n percent: 0.007 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250000 * syscointx.utils.COIN),\n percent: 0\n }\n ]\n // update auxfee details\n const assetOpts = { auxfeedetails: { auxfeekeyid: auxFeeKeyID, auxfees: auxFees } }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},5160:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function updateAssetNotary () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2039276165'\n // the notary keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n // the notary key and the details can be updated independently but we will update both here\n const notaryKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n const notaryDetails =\n {\n // endpoint must be encoded in utf8 using Buffer.from (default) because it should encode as bytes represented by base64 string (encodeToBase64)\n endpoint: Buffer.from(syscointx.utils.encodeToBase64('https://test12.com')),\n instanttransfers: true,\n hdrequired: false\n }\n // update auxfee details\n const assetOpts = { notarykeyid: notaryKeyID, notarydetails: notaryDetails }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},40528:(e,s,n)=>{n.r(s),n.d(s,{default:()=>R,frontMatter:()=>v,metadata:()=>C,toc:()=>D});var t=n(87462),a=(n(67294),n(3905)),o=n(89262),r=(n(57463),n(48551)),c=n(10988),d=n(81099),i=n(90449),l=n(39900),u=n(89872),f=n(61610),b=n(80585),h=n(96163),p=n(98510),y=n(75408),m=n(35964),g=n(40770),S=n(5235),k=n(61127),w=n(5852),x=n(54545),j=n(98741),A=n(5160);const v={sidebar_position:7},C={unversionedId:"dev-resources/documentation/javascript-sdk-ref/examples",id:"dev-resources/documentation/javascript-sdk-ref/examples",isDocsHomePage:!1,title:"Examples",description:"Burn Asset to Ethereum",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/examples.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/examples",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/examples",version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"Blockbook API",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook"},next:{title:"SYS/TSYS Faucets",permalink:"/docs/dev-resources/tsys"}},D=[{value:"Burn Asset to Ethereum",id:"burn-asset-to-ethereum",children:[]},{value:"Burn Asset to Syscoin",id:"burn-asset-to-syscoin",children:[]},{value:"Burn SYS to Asset",id:"burn-sys-to-asset",children:[]},{value:"Create Asset",id:"create-asset",children:[]},{value:"Issue Asset",id:"issue-asset",children:[]},{value:"Issue NFT 1",id:"issue-nft-1",children:[]},{value:"Issue NFT 2",id:"issue-nft-2",children:[]},{value:"Mint Asset to Syscoin 1",id:"mint-asset-to-syscoin-1",children:[]},{value:"Mint Asset to Syscoin 2",id:"mint-asset-to-syscoin-2",children:[]},{value:"Send SYS",id:"send-sys",children:[]},{value:"Send SYS with Memo",id:"send-sys-with-memo",children:[]},{value:"Transfer Asset",id:"transfer-asset",children:[]},{value:"Transfer Asset Funded by an Address",id:"transfer-asset-funded-by-an-address",children:[]},{value:"Transfer Asset Funded by Multiple Signers",id:"transfer-asset-funded-by-multiple-signers",children:[]},{value:"Transfer Asset Funded by xPUB",id:"transfer-asset-funded-by-xpub",children:[]},{value:"Transfer Asset with Memo",id:"transfer-asset-with-memo",children:[]},{value:"Update Asset",id:"update-asset",children:[]},{value:"Update Asset AuxFees",id:"update-asset-auxfees",children:[]},{value:"Update Asset Notary Details",id:"update-asset-notary-details",children:[]}],H={toc:D},T="wrapper";function R(e){let{components:s,...n}=e;return(0,a.kt)(T,(0,t.Z)({},H,n,{components:s,mdxType:"MDXLayout"}),(0,a.kt)("h3",{id:"burn-asset-to-ethereum"},"Burn Asset to Ethereum"),(0,a.kt)(o.Z,{examples:[r.Z],anchor:"#burn-asset-to-ethereum",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"burn-asset-to-syscoin"},"Burn Asset to Syscoin"),(0,a.kt)(o.Z,{examples:[c.Z],anchor:"#burn-asset-to-syscoin",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"burn-sys-to-asset"},"Burn SYS to Asset"),(0,a.kt)(o.Z,{examples:[d.Z],anchor:"#burn-sys-to-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"create-asset"},"Create Asset"),(0,a.kt)(o.Z,{examples:[i.Z],anchor:"#create-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issue-asset"},"Issue Asset"),(0,a.kt)(o.Z,{examples:[l.Z],anchor:"#issue-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issue-nft-1"},"Issue NFT 1"),(0,a.kt)(o.Z,{examples:[u.Z],anchor:"#issue-nft-1",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issue-nft-2"},"Issue NFT 2"),(0,a.kt)(o.Z,{examples:[f.Z],anchor:"#issue-nft-2",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"mint-asset-to-syscoin-1"},"Mint Asset to Syscoin 1"),(0,a.kt)(o.Z,{examples:[b.Z],anchor:"#mint-asset-to-syscoin-1",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"mint-asset-to-syscoin-2"},"Mint Asset to Syscoin 2"),(0,a.kt)(o.Z,{examples:[h.Z],anchor:"#mint-asset-to-syscoin-2",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"send-sys"},"Send SYS"),(0,a.kt)(o.Z,{examples:[p.Z],anchor:"#send-sys",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"send-sys-with-memo"},"Send SYS with Memo"),(0,a.kt)(o.Z,{examples:[y.Z],anchor:"#send-sys-with-memo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset"},"Transfer Asset"),(0,a.kt)(o.Z,{examples:[m.Z],anchor:"#transfer-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-funded-by-an-address"},"Transfer Asset Funded by an Address"),(0,a.kt)(o.Z,{examples:[g.Z],anchor:"#transfer-asset-funded-by-an-address",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-funded-by-multiple-signers"},"Transfer Asset Funded by Multiple Signers"),(0,a.kt)(o.Z,{examples:[S.Z],anchor:"#transfer-asset-funded-by-multiple-Signers",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-funded-by-xpub"},"Transfer Asset Funded by xPUB"),(0,a.kt)(o.Z,{examples:[k.Z],anchor:"#transfer-asset-funded-by-xpub",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-with-memo"},"Transfer Asset with Memo"),(0,a.kt)(o.Z,{examples:[w.Z],anchor:"#transfer-asset-with-memo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"update-asset"},"Update Asset"),(0,a.kt)(o.Z,{examples:[x.Z],anchor:"#update-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"update-asset-auxfees"},"Update Asset AuxFees"),(0,a.kt)(o.Z,{examples:[j.Z],anchor:"#update-asset-auxfees",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"update-asset-notary-details"},"Update Asset Notary Details"),(0,a.kt)(o.Z,{examples:[A.Z],anchor:"#update-asset-notary-details",showTitles:!1,mdxType:"ShowInfoComponent"}))}R.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[4728],{57463:(e,s,n)=>{n.d(s,{Z:()=>f});var t=n(87462),a=n(67294),o=n(340),r=n(38456),c=n.n(r),d=n(45822),i=n(89739);const l={code(e){let{node:s,inline:n,className:o,children:r,...c}=e;const l=/language-(\w+)/.exec(o||"");return!n&&l?a.createElement(d.Z,(0,t.Z)({style:i.Z,language:l[1],PreTag:"div",children:String(r).replace(/\n$/,"")},c)):a.createElement("code",(0,t.Z)({className:o},c))}};class u extends a.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?a.createElement(o.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},a.createElement(o.td,null,this.state.examples.map(((e,s)=>a.createElement(o.OK,{key:s,label:s},"Example ",s+1)))),this.state.examples.map(((e,s)=>a.createElement(o.x4,{key:s},a.createElement(c(),{components:l,children:e}))))):this.state.examples.map(((e,s)=>a.createElement(c(),{key:s,components:l,children:e}))):null}}const f=u},89262:(e,s,n)=>{n.d(s,{Z:()=>l});var t=n(67294),a=(n(99403),n(65053),n(58650),n(38456)),o=n.n(a);n(66367);class r extends t.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let s=`**\`${e.data.name}\`**`,n="";return" yes"===e.data.required&&(n="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:t.createElement("li",{class:"li-param"},t.createElement("div",{class:"flex short"},t.createElement(o(),{class:"md-type",children:s}),t.createElement("p",{class:"required"},n)))}renderParam(e){let s=`${e.data.type}`;return e.children?t.createElement("div",{class:"md-type"},this.getParamElement(e),t.createElement("ul",{class:"ul-param"},t.createElement("li",{class:"li-param"},t.createElement("details",{class:"short-spacing"},t.createElement("summary",null,t.createElement("div",null,t.createElement(o(),{class:"md-type",children:s}),t.createElement(o(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):t.createElement("div",{class:"md-type"},this.getParamElement(e),t.createElement("ul",{class:"ul-param"},t.createElement("li",{class:"li-param"},t.createElement("div",{class:"short-spacing"},t.createElement(o(),{class:"md-type",children:s}),t.createElement(o(),{class:"md-type",children:e.data.description})))))}renderParams(e){return t.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?t.createElement("div",null,this.renderParams(this.state.nodes)):null}}const c=r;var d=n(57463);class i extends t.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,s,n){return!1!==this.state.showTitles?t.createElement("div",null,t.createElement("h4",null,s),t.createElement(c,{root:n,type:e})):t.createElement(c,{root:n,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?t.createElement("div",null,t.createElement("h4",null,"Examples"),t.createElement(d.Z,{examples:this.state.examples})):t.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?t.createElement("div",null,t.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):t.createElement("div",null,t.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const l=i},48551:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToEth () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = { ethaddress: Buffer.from('07C72973d42D28de80D47Eb1F8Bc4a8ee0D5bBb1', 'hex') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '1965866356'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1quexf5zalfak2cvv9mujkh9pc3f3wrcgz7gzhh5' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const sysFromXpubOrAddress = 'vpub5ZdpZuCU7ubDRZ5V7uryBDBEZxDNP67FLgPyHgPtiVgjwDk8rjxAFbg4cHNAyp9ZLXNgJRq6f9QjWCc4Ef7gUxFivP7GkSKo6ANNb2jrzhA'\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},10988:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // empty ethaddress means burning SYSX to SYS, otherwise its burning asset to goto Etheruem\n const assetOpts = { ethaddress: Buffer.from('') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '3372068234'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},80585:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = {\n bridgetransferid: 2,\n blocknumber: 6816449,\n txvalue: Buffer.from('f9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txroot: Buffer.from('a0842ab40a9c4770c8ec74158aadcf943e8158128fdd1ba8cef9c7cb8eda732692', 'hex'),\n txparentnodes: Buffer.from('f9039cf871a04442f3f69add48df0531fe3c0025103b53fcf3fe38060e5f29366caec8855e4fa0229f7b7e69c0b5793f8a61c06f5cc09b0f4938561856c632ee56c3b2c4d6d153808080808080a07720fff5e8eabef55fa129ee55b3b0d82875e2b25b8f26e22cf6b5c4f9cec7ab8080808080808080f901f180a03ee147749c5b769bc5d1a53e4f37567506d417de4ec4e67722130eda4638427da043caa62b40dad61bce4d50fb62ea485729a6687c3aa13895cf4ba234b92afe82a0b79958e4aa63104da4599ebb91e712375e6adfc89abc14b9533c5778f107e7d8a01bc7f80f81a8d281253ac882bb89aca6131e5794bfcbdccde990bb6d5be6cb2fa0aedad62f1426b68e395a59e06bf242fb28b882af67589bce3495a99650058ec4a0c21a7e0b9d0948bb6b65a5e73f5f01173064d20e4819ca4884d1eabc22bf737da090087708c533b10af8925eebf398c005fc16cb6a515111f2be4f328f762949d0a02827daacd6a52ae6c74a78791ff0c5e33a7a85f5ca0a47cdfbcd5219f75f705ca0af7ecf31d56575155d272cd813bf7d7ac435f62b0538c31771e407dafef6be53a09b74707c3abdbfa305cb61f23c940f063f553f17d0bd3013126aad357193353ea067a52ed59820bb48f8010d2b2bb0ee92803b1a00a8341fd4c3269b065ed070d9a0bf0e9b45955283e6e04b71eda63bfc7b55d9f54527943aa1c159b4161b1e1daea0ecabd4c00deacf9a7ff25be942c9f468628eb776fbec23a9ca0d8fc256f14a31a0df406c7ac7f38c2ea1d9bdb06c2e51db3de8cf0e655a8e0e683e19ca1ddf83d3a08360ec6c5e26614f144520ed9d0b577640381f0f38b5429b67422f75d603ad5a80f9013220b9012ef9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txpath: Buffer.from('0b', 'hex'),\n receiptvalue: Buffer.from('f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex'),\n receiptroot: Buffer.from('a0a958499bf48fcce17672b58aa9037bd3dafeb6231880722d909c60bacfaaa8d4', 'hex'),\n receiptparentnodes: Buffer.from('f90551f871a0cab13def05783d763febde31920bd234d0486c26955c2937e0486db909a28eeea09cf564a668a29a5f1cc5d6ef8e19988dfd2b30d290672f0ffc4200e608cb65ac808080808080a029b8ed2258c53562954c87bcd7f60671029680d2a19ef8bcd3ad470ea48d57d18080808080808080f901f180a07c21ca39872e6b8f611bc6b1b295c24f988b5cf944625eabf5236b37ea3b9f01a0edb9e63fdc31ba41f11a8b2fb8000ad1357b3c0b27a8483968d75e93e7b488a1a02231847aa3c5dde2f2a1851a66aabec65e5eaae8c28110756f122c72be1fba05a08fa87809e5b7f989e78ccbe1a6bc4924115d5747529af879f2fe196f959b64fca091f1bf748061eba21a413b72d70afccb8daebb5906d5cd9dda06d5f877065d5ba0d7e6c82dd1c25eb2f90b02f038beaff98c260d46992d0b3c1eac7d51552c7417a01d5c43deb2e3794292cdffb04f82ab25bc4e75f5e0cab928b66582e08026f5b1a0d7323a87dc8fbc66c7b34810d2cad92fc0da168d962b4556e825a3266a148b74a0af31f0b7cdcd6a855ac7678ef2b8fcb1afeda918b0c8e4696a4013f2b75ca402a0f9d63f2db8ab6d3c3e12073ac2910ee575832bde3e4586f18e59dd26a16adb7ca0f0c91e059c43780617d304fe8992511f096ccc35232da1f25127db53ba4fb05aa052030932d0a9026efd2a3ada67f33d401cd9a97ddb24c606af3a0a0c24e432aba0142af9b4686c6ca30b0ac39133fa76d8682b7bbbec488e62e652d3f25419777da0940f31617e91cfbabaa9d0d1638949f8125f80a43027122778522675194a4e65a0edc4c7d2cf30150fdf7e502d0ef06c80c85fc37260134a112493c6183f62f4b580f902e720b902e3f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex')\n }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '2615707979'\n // mint 100 COINS\n const amountToMint = new sjs.utils.BN(10000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},96163:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\n// pass just Eth txid and let Syscoin get proof to create transaction\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // infura URL + ID and ethereum burn txid\n const assetOpts = {\n infuraurl: '',\n ethtxid: '0x3c3bfe141fcbe313f2afd31be1b63dd3a0147235161e637407fbb8605d3d294f'\n }\n // will be auto filled based on ethtxid eth-proof\n const assetMap = null\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},39900:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '3813460941'\n // mint 11000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qpay7ehn7epk5dmh8xv7dn5ksvyhr06323mtz0s' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},89872:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2264781424'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }],\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},61610:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2441957158'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},90449:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function newAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n const assetOpts = { precision: 8, symbol: 'JAG', maxsupply: new sjs.utils.BN(100000000000), description: 'publicvalue' }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n // let HDSigner find asset destination address\n const sysReceivingAddress = null\n const psbt = await syscoinjs.assetNew(assetOpts, txOpts, sysChangeAddress, sysReceivingAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n const assets = syscointx.getAssetsFromTx(psbt.extractTransaction())\n console.log('created asset ' + assets.keys().next().value)\n}"},98510:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const outputsArr = [\n { address: 'tsys1quas925cuqmlkc0082442uh68efv3hdazknmjpd', value: new sjs.utils.BN(10000000) }\n ]\n const psbt = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},75408:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSysMemo () {\n const feeRate = new sjs.utils.BN(10)\n const memo = Buffer.from('Gas station order id: 606c80d6cc793f13d2f0d424. Asset GUID 341906151')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader, assetWhiteList: new Map([['341906151', {}]]) }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p'\n const outputsArr = [\n { address: 'tsys1q0hxdj9r3tyxmr66tehdhhl35l5rk4ucanteuh6', value: new sjs.utils.BN(3158692) }\n ]\n const result = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate, 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n }\n const psbt = await syscoinjs.signAndSendWithWIF(result.psbt, 'cQh85hzaUMQDCneQvuwEvKFS418gzHfaQ9MmKj9pCd8aKgRNaEDr', result.assets)\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString())\n}"},81099:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sysBurnToAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '3372068234'\n // mint 10 COINS\n const amountToMint = new sjs.utils.BN(1000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.syscoinBurnToAssetAllocation(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},35964:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAsset () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: false }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(500), address: 'tsys1qgkyez6kz2l2qkr5zmjmwx0rwkrkylf2p09lyd4' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},40770:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByAddress () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '2201781193'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'tsys1qd2wejyl606fratchj0emvwcl78p67wq4x9cy4w')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSendWithWIF(result.res, 'cSRej8siHpwEKN9Mzh8s7WFwFenhb2my5dnyWK8pH1jUwonCvEdP', result.assets)\n}"},5235:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByMultiHDSigners () {\n const mnemonic1 = 'bicycle lucky earn primary wasp ranch dinner gravity property tenant gospel nephew soul cruise tool'\n const Signer1 = new sjs.utils.HDSigner(mnemonic1, null, true)\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qfqq6fg6jacruta85xysa4hzc00y9c0numedhh8' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const sysFromXpubOrAddress = [HDSigner.getAccountXpub(), Signer1.getAccountXpub()]\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n // this should sign one of the inputs with HDSigner\n let psbt = await syscoinjs.signAndSend(result.psbt, result.assets)\n // this should sign the other input with Signer1, and then notarize, signing one input with Signer1 again\n const psbt1 = await syscoinjs.signAndSend(psbt, result.assets, Signer1)\n // this should finalize the transaction from HDSigner signing (this time notarized) and send it to network\n psbt = await syscoinjs.signAndSend(psbt1, result.assets)\n}"},61127:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByXpub () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(100000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'vpub5ZnEznWQvUgz3caxxZVnfnxkHkDstTFrsdSi9zQAf48ozc4a1XdfaAY6eBgKigm4NxykfcFh7d3oBwMHqKzzGo2jKET8AbypuuffvbBwAwH')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSend(result.res, result.assets)\n}"},5852:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetWithMemo () {\n const feeRate = new sjs.utils.BN(10)\n // data carrying memo field added to opreturn commitment\n const memo = Buffer.from('a7bf215279d3f6568dcd17c429d41a35a466f803', 'hex')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(5), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString('hex'))\n}"},54545:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2125509931'\n // update capability flags, update description and update eth smart contract address\n const assetOpts = { updatecapabilityflags: '123', contract: Buffer.from('2b1e58b979e4b2d72d8bca5bb4646ccc032ddbfc', 'hex'), description: 'new publicvalue' }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},98741:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAssetAuxFees () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2229676993'\n const scalarPct = 1000\n // the aux fee keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n const auxFeeKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n // setup the auxfee table\n const auxFees = [\n {\n bound: new sjs.utils.BN(0),\n percent: 1 * scalarPct\n },\n {\n bound: new sjs.utils.BN(10 * syscointx.utils.COIN),\n percent: 0.4 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250 * syscointx.utils.COIN),\n percent: 0.2 * scalarPct\n },\n {\n bound: new sjs.utils.BN(2500 * syscointx.utils.COIN),\n percent: 0.07 * scalarPct\n },\n {\n bound: new sjs.utils.BN(25000 * syscointx.utils.COIN),\n percent: 0.007 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250000 * syscointx.utils.COIN),\n percent: 0\n }\n ]\n // update auxfee details\n const assetOpts = { auxfeedetails: { auxfeekeyid: auxFeeKeyID, auxfees: auxFees } }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},5160:(e,s,n)=>{n.d(s,{Z:()=>t});const t="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function updateAssetNotary () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2039276165'\n // the notary keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n // the notary key and the details can be updated independently but we will update both here\n const notaryKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n const notaryDetails =\n {\n // endpoint must be encoded in utf8 using Buffer.from (default) because it should encode as bytes represented by base64 string (encodeToBase64)\n endpoint: Buffer.from(syscointx.utils.encodeToBase64('https://test12.com')),\n instanttransfers: true,\n hdrequired: false\n }\n // update auxfee details\n const assetOpts = { notarykeyid: notaryKeyID, notarydetails: notaryDetails }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},40528:(e,s,n)=>{n.r(s),n.d(s,{default:()=>T,frontMatter:()=>v,metadata:()=>C,toc:()=>D});var t=n(87462),a=(n(67294),n(3905)),o=n(89262),r=(n(57463),n(48551)),c=n(10988),d=n(81099),i=n(90449),l=n(39900),u=n(89872),f=n(61610),b=n(80585),h=n(96163),p=n(98510),y=n(75408),m=n(35964),g=n(40770),S=n(5235),k=n(61127),w=n(5852),x=n(54545),j=n(98741),A=n(5160);const v={sidebar_position:7},C={unversionedId:"dev-resources/documentation/javascript-sdk-ref/examples",id:"dev-resources/documentation/javascript-sdk-ref/examples",isDocsHomePage:!1,title:"Examples",description:"Burn Asset to Ethereum",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/examples.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/examples",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/examples",version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"Blockbook API",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook"},next:{title:"SYS/TSYS Faucets",permalink:"/docs/dev-resources/tsys"}},D=[{value:"Burn Asset to Ethereum",id:"burn-asset-to-ethereum",children:[]},{value:"Burn Asset to Syscoin",id:"burn-asset-to-syscoin",children:[]},{value:"Burn SYS to Asset",id:"burn-sys-to-asset",children:[]},{value:"Create Asset",id:"create-asset",children:[]},{value:"Issue Asset",id:"issue-asset",children:[]},{value:"Issue NFT 1",id:"issue-nft-1",children:[]},{value:"Issue NFT 2",id:"issue-nft-2",children:[]},{value:"Mint Asset to Syscoin 1",id:"mint-asset-to-syscoin-1",children:[]},{value:"Mint Asset to Syscoin 2",id:"mint-asset-to-syscoin-2",children:[]},{value:"Send SYS",id:"send-sys",children:[]},{value:"Send SYS with Memo",id:"send-sys-with-memo",children:[]},{value:"Transfer Asset",id:"transfer-asset",children:[]},{value:"Transfer Asset Funded by an Address",id:"transfer-asset-funded-by-an-address",children:[]},{value:"Transfer Asset Funded by Multiple Signers",id:"transfer-asset-funded-by-multiple-signers",children:[]},{value:"Transfer Asset Funded by xPUB",id:"transfer-asset-funded-by-xpub",children:[]},{value:"Transfer Asset with Memo",id:"transfer-asset-with-memo",children:[]},{value:"Update Asset",id:"update-asset",children:[]},{value:"Update Asset AuxFees",id:"update-asset-auxfees",children:[]},{value:"Update Asset Notary Details",id:"update-asset-notary-details",children:[]}],H={toc:D};function T(e){let{components:s,...n}=e;return(0,a.kt)("wrapper",(0,t.Z)({},H,n,{components:s,mdxType:"MDXLayout"}),(0,a.kt)("h3",{id:"burn-asset-to-ethereum"},"Burn Asset to Ethereum"),(0,a.kt)(o.Z,{examples:[r.Z],anchor:"#burn-asset-to-ethereum",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"burn-asset-to-syscoin"},"Burn Asset to Syscoin"),(0,a.kt)(o.Z,{examples:[c.Z],anchor:"#burn-asset-to-syscoin",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"burn-sys-to-asset"},"Burn SYS to Asset"),(0,a.kt)(o.Z,{examples:[d.Z],anchor:"#burn-sys-to-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"create-asset"},"Create Asset"),(0,a.kt)(o.Z,{examples:[i.Z],anchor:"#create-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issue-asset"},"Issue Asset"),(0,a.kt)(o.Z,{examples:[l.Z],anchor:"#issue-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issue-nft-1"},"Issue NFT 1"),(0,a.kt)(o.Z,{examples:[u.Z],anchor:"#issue-nft-1",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"issue-nft-2"},"Issue NFT 2"),(0,a.kt)(o.Z,{examples:[f.Z],anchor:"#issue-nft-2",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"mint-asset-to-syscoin-1"},"Mint Asset to Syscoin 1"),(0,a.kt)(o.Z,{examples:[b.Z],anchor:"#mint-asset-to-syscoin-1",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"mint-asset-to-syscoin-2"},"Mint Asset to Syscoin 2"),(0,a.kt)(o.Z,{examples:[h.Z],anchor:"#mint-asset-to-syscoin-2",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"send-sys"},"Send SYS"),(0,a.kt)(o.Z,{examples:[p.Z],anchor:"#send-sys",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"send-sys-with-memo"},"Send SYS with Memo"),(0,a.kt)(o.Z,{examples:[y.Z],anchor:"#send-sys-with-memo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset"},"Transfer Asset"),(0,a.kt)(o.Z,{examples:[m.Z],anchor:"#transfer-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-funded-by-an-address"},"Transfer Asset Funded by an Address"),(0,a.kt)(o.Z,{examples:[g.Z],anchor:"#transfer-asset-funded-by-an-address",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-funded-by-multiple-signers"},"Transfer Asset Funded by Multiple Signers"),(0,a.kt)(o.Z,{examples:[S.Z],anchor:"#transfer-asset-funded-by-multiple-Signers",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-funded-by-xpub"},"Transfer Asset Funded by xPUB"),(0,a.kt)(o.Z,{examples:[k.Z],anchor:"#transfer-asset-funded-by-xpub",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"transfer-asset-with-memo"},"Transfer Asset with Memo"),(0,a.kt)(o.Z,{examples:[w.Z],anchor:"#transfer-asset-with-memo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"update-asset"},"Update Asset"),(0,a.kt)(o.Z,{examples:[x.Z],anchor:"#update-asset",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"update-asset-auxfees"},"Update Asset AuxFees"),(0,a.kt)(o.Z,{examples:[j.Z],anchor:"#update-asset-auxfees",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"update-asset-notary-details"},"Update Asset Notary Details"),(0,a.kt)(o.Z,{examples:[A.Z],anchor:"#update-asset-notary-details",showTitles:!1,mdxType:"ShowInfoComponent"}))}T.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/935f2afb.f70f06ae.js b/assets/js/935f2afb.4fa2c53f.js similarity index 55% rename from assets/js/935f2afb.f70f06ae.js rename to assets/js/935f2afb.4fa2c53f.js index 92d53fde..08f3deef 100644 --- a/assets/js/935f2afb.f70f06ae.js +++ b/assets/js/935f2afb.4fa2c53f.js @@ -1 +1 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"Introduction","items":[{"type":"link","label":"About Syscoin","href":"/docs/intro/syscoin-what"}],"collapsed":true},{"type":"category","label":"Technical Features","items":[{"type":"link","label":"Bitcoin Technology","href":"/docs/tech/bitcoin-tech"},{"type":"link","label":"Finality","href":"/docs/tech/finality"},{"type":"link","label":"Masternodes","href":"/docs/tech/masternodes"},{"type":"link","label":"Merged Mining","href":"/docs/tech/merged-mining"},{"type":"link","label":"NEVM Chain (EVM)","href":"/docs/tech/nevm"},{"type":"link","label":"Notary and Business Rulesets","href":"/docs/tech/notary"},{"type":"link","label":"PoDA (Data Availability on Layer 1)","href":"/docs/tech/poda"},{"type":"link","label":"Rollux","href":"/docs/tech/rollux"},{"type":"link","label":"Syscoin Platform Tokens (SPTs)","href":"/docs/tech/tokens"},{"type":"link","label":"Z-DAG (UTXO)","href":"/docs/tech/z-dag"}],"collapsed":true},{"type":"category","label":"Developer Resources","items":[{"type":"category","label":"NEVM Chain (EVM)","items":[{"type":"link","label":"Resources","href":"/docs/dev-resources/nevm/resources"},{"type":"link","label":"Communities","href":"/docs/dev-resources/nevm/communities"},{"type":"link","label":"Documentation & Libraries","href":"/docs/dev-resources/nevm/docs-and-libs"},{"type":"link","label":"Courses, Guides & Tutorials","href":"/docs/dev-resources/nevm/guides-and-tuts"},{"type":"link","label":"Tooling","href":"/docs/dev-resources/nevm/tooling"},{"type":"link","label":"Deploying Smart Contracts with Truffle","href":"/docs/dev-resources/nevm/truffle"},{"type":"link","label":"Rollups","href":"/docs/dev-resources/nevm/zk-rollups"}],"collapsed":true},{"type":"category","label":"Native Chain (UTXO)","items":[{"type":"link","label":"SPT Asset Index Technical Description","href":"/docs/dev-resources/sys/asset-index"},{"type":"link","label":"SPT Exchange Integration","href":"/docs/dev-resources/sys/exchange-integration"},{"type":"link","label":"Testnet Setup","href":"/docs/dev-resources/sys/testnet"},{"type":"link","label":"Testnet Masternode Setup Guide","href":"/docs/dev-resources/sys/testnet_mn"},{"type":"link","label":"Z-DAG Developer Guide","href":"/docs/dev-resources/sys/z-dag"}],"collapsed":true},{"type":"category","label":"Documentation","items":[{"type":"category","label":"JS SDK Reference","items":[{"type":"link","label":"Overview","href":"/docs/dev-resources/documentation/javascript-sdk-ref/overview"},{"type":"link","label":"Syscoinjs-lib","href":"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs"},{"type":"link","label":"Utils","href":"/docs/dev-resources/documentation/javascript-sdk-ref/utils"},{"type":"link","label":"HDSigner","href":"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner"},{"type":"link","label":"TrezorSigner","href":"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner"},{"type":"link","label":"Types","href":"/docs/dev-resources/documentation/javascript-sdk-ref/types"},{"type":"link","label":"Blockbook API","href":"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook"},{"type":"link","label":"Examples","href":"/docs/dev-resources/documentation/javascript-sdk-ref/examples"}],"collapsed":true}],"collapsed":true},{"type":"link","label":"SYS/TSYS Faucets","href":"/docs/dev-resources/tsys"}],"collapsed":true},{"type":"category","label":"User Guides","items":[{"type":"link","label":"Overview","href":"/docs/guides/overview"},{"type":"category","label":"NEVM Chain (EVM)","items":[{"type":"link","label":"Add to MetaMask","href":"/docs/guides/nevm/metamask"},{"type":"link","label":"Syscoin Geth (sysgeth)","href":"/docs/guides/nevm/sysgeth"}],"collapsed":true},{"type":"category","label":"Rollux","items":[{"type":"link","label":"Add to MetaMask","href":"/docs/guides/rollux/metamask"}],"collapsed":true},{"type":"category","label":"Syscoin Platform Tokens (SPTs)","items":[{"type":"link","label":"Auxiliary Fees","href":"/docs/guides/spts/aux-fees"},{"type":"link","label":"Create/Issue Tokens","href":"/docs/guides/spts/create-issue-tokens"},{"type":"link","label":"Notary and Business Rulesets","href":"/docs/guides/spts/notary-business-rulesets"},{"type":"link","label":"Use Syscoin 4.2 Tokens","href":"/docs/guides/spts/use-tokens"}],"collapsed":true},{"type":"link","label":"Masternode Setup Guide","href":"/docs/guides/mn_setup"},{"type":"link","label":"Merged Mining Setup Guide","href":"/docs/guides/mining_setup"}],"collapsed":true},{"type":"link","label":"FAQ","href":"/docs/faq"}]},"permalinkToSidebar":{"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/examples":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/overview":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/types":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/utils":"tutorialSidebar","/docs/dev-resources/nevm/communities":"tutorialSidebar","/docs/dev-resources/nevm/docs-and-libs":"tutorialSidebar","/docs/dev-resources/nevm/guides-and-tuts":"tutorialSidebar","/docs/dev-resources/nevm/resources":"tutorialSidebar","/docs/dev-resources/nevm/tooling":"tutorialSidebar","/docs/dev-resources/nevm/truffle":"tutorialSidebar","/docs/dev-resources/nevm/zk-rollups":"tutorialSidebar","/docs/dev-resources/sys/asset-index":"tutorialSidebar","/docs/dev-resources/sys/exchange-integration":"tutorialSidebar","/docs/dev-resources/sys/testnet":"tutorialSidebar","/docs/dev-resources/sys/testnet_mn":"tutorialSidebar","/docs/dev-resources/sys/z-dag":"tutorialSidebar","/docs/dev-resources/tsys":"tutorialSidebar","/docs/faq":"tutorialSidebar","/docs/guides/mining_setup":"tutorialSidebar","/docs/guides/mn_setup":"tutorialSidebar","/docs/guides/nevm/metamask":"tutorialSidebar","/docs/guides/nevm/sysgeth":"tutorialSidebar","/docs/guides/overview":"tutorialSidebar","/docs/guides/rollux/metamask":"tutorialSidebar","/docs/guides/spts/aux-fees":"tutorialSidebar","/docs/guides/spts/create-issue-tokens":"tutorialSidebar","/docs/guides/spts/notary-business-rulesets":"tutorialSidebar","/docs/guides/spts/use-tokens":"tutorialSidebar","/docs/intro/syscoin-what":"tutorialSidebar","/docs/tech/bitcoin-tech":"tutorialSidebar","/docs/tech/finality":"tutorialSidebar","/docs/tech/masternodes":"tutorialSidebar","/docs/tech/merged-mining":"tutorialSidebar","/docs/tech/nevm":"tutorialSidebar","/docs/tech/notary":"tutorialSidebar","/docs/tech/poda":"tutorialSidebar","/docs/tech/rollux":"tutorialSidebar","/docs/tech/tokens":"tutorialSidebar","/docs/tech/z-dag":"tutorialSidebar"}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[53],{1109:e=>{e.exports=JSON.parse('{"pluginId":"default","version":"current","label":"Next","isLast":true,"docsSidebars":{"tutorialSidebar":[{"type":"category","label":"Introduction","items":[{"type":"link","label":"About Syscoin","href":"/docs/intro/syscoin-what"}],"collapsed":true},{"type":"category","label":"Technical Features","items":[{"type":"link","label":"Bitcoin Technology","href":"/docs/tech/bitcoin-tech"},{"type":"link","label":"Finality","href":"/docs/tech/finality"},{"type":"link","label":"Masternodes","href":"/docs/tech/masternodes"},{"type":"link","label":"Merged Mining","href":"/docs/tech/merged-mining"},{"type":"link","label":"NEVM Chain (EVM)","href":"/docs/tech/nevm"},{"type":"link","label":"Notary and Business Rulesets","href":"/docs/tech/notary"},{"type":"link","label":"PoDA (Data Availability on Layer 1)","href":"/docs/tech/poda"},{"type":"link","label":"Rollux","href":"/docs/tech/rollux"},{"type":"link","label":"Syscoin Platform Tokens (SPTs)","href":"/docs/tech/tokens"},{"type":"link","label":"Z-DAG (UTXO)","href":"/docs/tech/z-dag"}],"collapsed":true},{"type":"category","label":"Developer Resources","items":[{"type":"category","label":"NEVM Chain (EVM)","items":[{"type":"link","label":"Resources","href":"/docs/dev-resources/nevm/resources"},{"type":"link","label":"Communities","href":"/docs/dev-resources/nevm/communities"},{"type":"link","label":"Documentation & Libraries","href":"/docs/dev-resources/nevm/docs-and-libs"},{"type":"link","label":"Courses, Guides & Tutorials","href":"/docs/dev-resources/nevm/guides-and-tuts"},{"type":"link","label":"Tooling","href":"/docs/dev-resources/nevm/tooling"},{"type":"link","label":"Deploying Smart Contracts with Truffle","href":"/docs/dev-resources/nevm/truffle"},{"type":"link","label":"Rollups","href":"/docs/dev-resources/nevm/zk-rollups"}],"collapsed":true},{"type":"category","label":"Native Chain (UTXO)","items":[{"type":"link","label":"SPT Asset Index Technical Description","href":"/docs/dev-resources/sys/asset-index"},{"type":"link","label":"SPT Exchange Integration","href":"/docs/dev-resources/sys/exchange-integration"},{"type":"link","label":"Testnet Setup","href":"/docs/dev-resources/sys/testnet"},{"type":"link","label":"Testnet Masternode Setup Guide","href":"/docs/dev-resources/sys/testnet_mn"},{"type":"link","label":"Z-DAG Developer Guide","href":"/docs/dev-resources/sys/z-dag"}],"collapsed":true},{"type":"category","label":"Documentation","items":[{"type":"category","label":"JS SDK Reference","items":[{"type":"link","label":"Overview","href":"/docs/dev-resources/documentation/javascript-sdk-ref/overview"},{"type":"link","label":"Syscoinjs-lib","href":"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs"},{"type":"link","label":"Utils","href":"/docs/dev-resources/documentation/javascript-sdk-ref/utils"},{"type":"link","label":"HDSigner","href":"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner"},{"type":"link","label":"TrezorSigner","href":"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner"},{"type":"link","label":"Types","href":"/docs/dev-resources/documentation/javascript-sdk-ref/types"},{"type":"link","label":"Blockbook API","href":"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook"},{"type":"link","label":"Examples","href":"/docs/dev-resources/documentation/javascript-sdk-ref/examples"}],"collapsed":true}],"collapsed":true},{"type":"link","label":"SYS/TSYS Faucets","href":"/docs/dev-resources/tsys"}],"collapsed":true},{"type":"category","label":"User Guides","items":[{"type":"link","label":"Overview","href":"/docs/guides/overview"},{"type":"category","label":"NEVM Chain (EVM)","items":[{"type":"link","label":"Add to MetaMask","href":"/docs/guides/nevm/metamask"},{"type":"link","label":"Syscoin Geth (sysgeth)","href":"/docs/guides/nevm/sysgeth"}],"collapsed":true},{"type":"category","label":"Rollux","items":[{"type":"link","label":"Add to MetaMask or install Pali Wallet","href":"/docs/guides/rollux/metamask"}],"collapsed":true},{"type":"category","label":"Syscoin Platform Tokens (SPTs)","items":[{"type":"link","label":"Auxiliary Fees","href":"/docs/guides/spts/aux-fees"},{"type":"link","label":"Create/Issue Tokens","href":"/docs/guides/spts/create-issue-tokens"},{"type":"link","label":"Notary and Business Rulesets","href":"/docs/guides/spts/notary-business-rulesets"},{"type":"link","label":"Use Syscoin 4.2 Tokens","href":"/docs/guides/spts/use-tokens"}],"collapsed":true},{"type":"link","label":"Masternode Setup Guide","href":"/docs/guides/mn_setup"},{"type":"link","label":"Merged Mining Setup Guide","href":"/docs/guides/mining_setup"}],"collapsed":true},{"type":"link","label":"FAQ","href":"/docs/faq"}]},"permalinkToSidebar":{"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/examples":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/overview":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/types":"tutorialSidebar","/docs/dev-resources/documentation/javascript-sdk-ref/utils":"tutorialSidebar","/docs/dev-resources/nevm/communities":"tutorialSidebar","/docs/dev-resources/nevm/docs-and-libs":"tutorialSidebar","/docs/dev-resources/nevm/guides-and-tuts":"tutorialSidebar","/docs/dev-resources/nevm/resources":"tutorialSidebar","/docs/dev-resources/nevm/tooling":"tutorialSidebar","/docs/dev-resources/nevm/truffle":"tutorialSidebar","/docs/dev-resources/nevm/zk-rollups":"tutorialSidebar","/docs/dev-resources/sys/asset-index":"tutorialSidebar","/docs/dev-resources/sys/exchange-integration":"tutorialSidebar","/docs/dev-resources/sys/testnet":"tutorialSidebar","/docs/dev-resources/sys/testnet_mn":"tutorialSidebar","/docs/dev-resources/sys/z-dag":"tutorialSidebar","/docs/dev-resources/tsys":"tutorialSidebar","/docs/faq":"tutorialSidebar","/docs/guides/mining_setup":"tutorialSidebar","/docs/guides/mn_setup":"tutorialSidebar","/docs/guides/nevm/metamask":"tutorialSidebar","/docs/guides/nevm/sysgeth":"tutorialSidebar","/docs/guides/overview":"tutorialSidebar","/docs/guides/rollux/metamask":"tutorialSidebar","/docs/guides/spts/aux-fees":"tutorialSidebar","/docs/guides/spts/create-issue-tokens":"tutorialSidebar","/docs/guides/spts/notary-business-rulesets":"tutorialSidebar","/docs/guides/spts/use-tokens":"tutorialSidebar","/docs/intro/syscoin-what":"tutorialSidebar","/docs/tech/bitcoin-tech":"tutorialSidebar","/docs/tech/finality":"tutorialSidebar","/docs/tech/masternodes":"tutorialSidebar","/docs/tech/merged-mining":"tutorialSidebar","/docs/tech/nevm":"tutorialSidebar","/docs/tech/notary":"tutorialSidebar","/docs/tech/poda":"tutorialSidebar","/docs/tech/rollux":"tutorialSidebar","/docs/tech/tokens":"tutorialSidebar","/docs/tech/z-dag":"tutorialSidebar"}}')}}]); \ No newline at end of file diff --git a/assets/js/961dd717.9b346cc2.js b/assets/js/961dd717.9b346cc2.js new file mode 100644 index 00000000..5de5d0e0 --- /dev/null +++ b/assets/js/961dd717.9b346cc2.js @@ -0,0 +1 @@ +(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1636],{74002:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var a=n(67294);n(68903);class s extends a.Component{constructor(t){super(t),this.state={address:null,added:!1,network:this.props.network,window:null},this.connectWallet=this.connectWallet.bind(this)}componentDidMount(){window.ethereum&&this.setState({address:window.ethereum.selectedAddress})}async connectWallet(){const t={chainId:"0x"+57..toString(16),chainName:"Syscoin",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},rpcUrls:["https://rpc.ankr.com/syscoin","wss://rpc.syscoin.org/wss"],blockExplorerUrls:["https://explorer.syscoin.org"]},e={chainId:"0x"+5700..toString(16),chainName:"Syscoin Tanenbaum",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc.tanenbaum.io/"],blockExplorerUrls:["https://tanenbaum.io/"]},n={chainId:"0x"+57e3.toString(16),chainName:"Rollux Testnet",iconUrls:[""],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc-tanenbaum.rollux.com"],blockExplorerUrls:["https://rollux.tanenbaum.io/"]};if(window.ethereum){var a;switch(await window.ethereum.send("eth_requestAccounts"),this.state.network){case"Mainnet":a={method:"wallet_addEthereumChain",params:[t,this.state.selectedAddress]};break;case"Tanenbaum Testnet":a={method:"wallet_addEthereumChain",params:[e,this.state.selectedAddress]};break;case"Rollux Optimistic Testnet":a={method:"wallet_addEthereumChain",params:[n,this.state.selectedAddress]}}try{await window.ethereum.request(a)}catch(s){return console.log(s),!1}return this.setState({added:!0}),!0}}render(){return this.state.added?a.createElement("section",{className:"section"},a.createElement("button",{className:"addButton"},"Added")):a.createElement("section",{className:"section"},a.createElement("button",{onClick:this.connectWallet,className:"addButton"},"Add to MetaMask"))}}const o=s},80253:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>m,frontMatter:()=>i,metadata:()=>r,toc:()=>l});var a=n(87462),s=(n(67294),n(3905)),o=n(74002);const i={},r={unversionedId:"guides/nevm/metamask",id:"guides/nevm/metamask",isDocsHomePage:!1,title:"Add to MetaMask",description:"You can add the Syscoin networks to MetaMask using the table below. If this doesn't work for any reason you can either follow the first guide to use chainlist.org, or you can enter the information manually further down the page. Welcome to Syscoin!",source:"@site/docs/guides/nevm/metamask.mdx",sourceDirName:"guides/nevm",slug:"/guides/nevm/metamask",permalink:"/docs/guides/nevm/metamask",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Overview",permalink:"/docs/guides/overview"},next:{title:"Syscoin Geth (sysgeth)",permalink:"/docs/guides/nevm/sysgeth"}},l=[{value:"Install the MetaMask Extension from the Store",id:"install-the-metamask-extension-from-the-store",children:[]},{value:"Create a MetaMask Wallet or Import One",id:"create-a-metamask-wallet-or-import-one",children:[]},{value:"Quick Auto Setup to connect to Syscoin Network",id:"quick-auto-setup-to-connect-to-syscoin-network",children:[]},{value:"Manual Setup to connect to Syscoin Network",id:"manual-setup-to-connect-to-syscoin-network",children:[{value:"Mainnet",id:"mainnet",children:[]},{value:"Testnet",id:"testnet",children:[]}]}],c={toc:l};function m(t){let{components:e,...i}=t;return(0,s.kt)("wrapper",(0,a.Z)({},c,i,{components:e,mdxType:"MDXLayout"}),(0,s.kt)("p",null,"You can add the Syscoin networks to MetaMask using the table below. If this doesn't work for any reason you can either follow the first guide to use ",(0,s.kt)("a",{parentName:"p",href:"https://chainlist.org/"},"chainlist.org"),", or you can enter the information manually further down the page. Welcome to Syscoin!"),(0,s.kt)("table",null,(0,s.kt)("thead",{parentName:"table"},(0,s.kt)("tr",{parentName:"thead"},(0,s.kt)("th",{parentName:"tr",align:"left"},"Network"),(0,s.kt)("th",{parentName:"tr",align:null}))),(0,s.kt)("tbody",{parentName:"table"},(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Mainnet"),(0,s.kt)("td",{parentName:"tr",align:null},(0,s.kt)(o.Z,{network:"Mainnet",mdxType:"AddNetworkComponent"}))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Tanenbaum (Testnet)"),(0,s.kt)("td",{parentName:"tr",align:null},(0,s.kt)(o.Z,{network:"Tanenbaum Testnet",mdxType:"AddNetworkComponent"}))))),(0,s.kt)("hr",null),(0,s.kt)("h2",{id:"install-the-metamask-extension-from-the-store"},"Install the MetaMask Extension from the Store"),(0,s.kt)("p",null,"Visit the ",(0,s.kt)("a",{parentName:"p",href:"https://chrome.google.com/webstore/detail/nkbihfbeogaeaoehlefnkodbefgpgknn"},"browser extension marketplace")," and download the MetaMask extension."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(13241).Z})),(0,s.kt)("h2",{id:"create-a-metamask-wallet-or-import-one"},"Create a MetaMask Wallet or Import One"),(0,s.kt)("p",null,"We would suggest creating a new one if you haven\u2019t done so."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(37613).Z})),(0,s.kt)("p",null,"Click import wallet if you have an existing wallet."),(0,s.kt)("p",null,"Set up your password and secret recovery phrase somewhere safe."),(0,s.kt)("h2",{id:"quick-auto-setup-to-connect-to-syscoin-network"},(0,s.kt)("strong",{parentName:"h2"},"Quick Auto Setup")," to connect to Syscoin Network"),(0,s.kt)("p",null,"Head to ",(0,s.kt)("a",{parentName:"p",href:"https://chainlist.org/"},"https://chainlist.org/")," and click Connect Wallet."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(68936).Z})),(0,s.kt)("p",null,"Once Connected, search for Syscoin in the search bar."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(71639).Z})),(0,s.kt)("p",null,"Click Add to MetaMask on the relevant network. This should be ",(0,s.kt)("strong",{parentName:"p"},"Syscoin Mainnet"),", unless you would like to test things out on the Syscoin testnet first."),(0,s.kt)("p",null,"You have now connected to the Syscoin Mainnet with your Metamask Wallet! You can now interact with dApps on Syscoin NEVM."),(0,s.kt)("h2",{id:"manual-setup-to-connect-to-syscoin-network"},"Manual Setup to connect to Syscoin Network"),(0,s.kt)("p",null,"Switch the connected blockchain by clicking on the tab saying Main Ethereum Network, we need to add the Syscoin network."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(36252).Z})),(0,s.kt)("p",null,"Scroll down until you find Custom RPC."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(36330).Z})),(0,s.kt)("p",null,"Enter in the Syscoin NEVM Mainnet or Testnet settings as follows:"),(0,s.kt)("h3",{id:"mainnet"},"Mainnet"),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Network Name:")," Syscoin Mainnet"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"New RPC URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://rpc.syscoin.org"},"https://rpc.syscoin.org")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Chain ID:")," 57"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Currency Symbol:")," SYS"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Block Explorer URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://explorer.syscoin.org/"},"https://explorer.syscoin.org/"))),(0,s.kt)("h3",{id:"testnet"},"Testnet"),(0,s.kt)("p",null,"The testnet uses test SYS (tSYS), which has no value and is used for testing code before deploying it on mainnet. There is no need to add this network if you don't want to test anything."),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Network Name:")," Syscoin Tanenbaum Testnet"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"New RPC URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://rpc.tanenbaum.io/"},"https://rpc.tanenbaum.io")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Chain ID:")," 5700"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Currency Symbol:")," tSYS"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Block Explorer URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://tanenbaum.io/"},"https://tanenbaum.io"))),(0,s.kt)("p",null,"Once this information has been entered click ",(0,s.kt)("strong",{parentName:"p"},"Save"),"."),(0,s.kt)("p",null,"You have now connected to the Syscoin Mainnet with your Metamask Wallet! You can now interact with dApps on Syscoin NEVM."),(0,s.kt)("blockquote",null,(0,s.kt)("p",{parentName:"blockquote"},(0,s.kt)("strong",{parentName:"p"},"Transactions on the Syscoin Mainnet require SYS which will be used as a gas fee.")),(0,s.kt)("p",{parentName:"blockquote"},(0,s.kt)("strong",{parentName:"p"},"Likewise, transactions on the testnet use tSYS for gas fees."))),(0,s.kt)("p",null,"Get some tokens from the following faucets to use as gas for transactions:"),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Mainnet (SYS)")),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://faucet.syscoin.org"},"https://faucet.syscoin.org"))),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Testnet (tSYS)")),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://ethstats.tanenbaum.io/#faucet"},"https://ethstats.tanenbaum.io/#faucet"))))}m.isMDXComponent=!0},13241:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm-236bc33f156332fbcb28922ae6f1f740.png"},68936:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm_chainlist-ffc6a162931b6feccf696bdc098ebb4a.png"},71639:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm_chainlist_testnet-b63ecde4d48cec31e92729b31124c78a.png"},36252:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbcAAABaCAIAAAC0WI9UAAAjgklEQVR42uydeXwT17n3z8xotMxIsmxJli15B2HHxtd2wtIACUtYemko4TaGAOECZU2Te0n6htAkTUqb7YVwb+F94aakoZA3kDSQlkKBFEOBLCZhSTAYGxsZW14kW5stydpHM/N+pBHGNl6EbYxoz/ejP2T56MxzRuf85nnOynO2uwAEAoFAbiIRk19++WVOTg6O4zweD4V3BAKBQLpBURRN00wYqJIQCATSHZqmg8EgwzAAAKiSEAgE0oNKsjeBKgmBQCDd4fSRew9VEgKBQHoWSqiSEAgEAlUSAoFABgSCIJxQQpWEQCCQvoAqCYFAIFAlIRAIBKokBAKBQJWEQCAQqJIQCAQCVRICgUCgSkIgEAhUSQgEAoEqCYFAIP/M8OAtgEAg9wRda/CbJt/llkC1jWp00DYv7aFYAACBI3IRlhqH5SjwgiT+DzRCbQIPqiQEAvknEscDle6/XvdUWakeE7gp1k0FG5zB0kY/90mOAp8ziijOJe+JXEKVhEAgw8Q5g/+9i85D1V7uT7kIfTRdOEYtyFXg6TJcSaAkHwmpZIC1eJh6O1VppS4a/V/W+6qsVJXV8e5Zx9xs0TNjpOM1AqiSEAjkH4omZ/Ctrx1/vOrm/lw8mnwyl5ySIewxsZiPiPlYpgwLJ5AAAM7ofZ9VuvdddR+q9h6q9j41mnx1UlyKdJjkC4FnKEIgkLvKR+Wul0+2ucN9js+Pl64dI1GR2ADyMbnp311s33rOCQAgceSd6fFL8sV3w2CJmDx27Fhubq5IJBIIBP2LMcPQXkM1mZo7PDfU36wTJGthxYJA/jF48UTrrkshV2xeDvHao/GZsi76aGys/frS389Zblxj6TqEMDGikC/JotKArAATzUzT/HBMvkql5BKrSOxXk2X/XiB548u2g1We//y89XJLYMuMhHvvS1r0146/vfKxWTNU01YiEiXCuys9AmzAQ9uN+sPbvi+vevyN/YQ0/n6sEG63x+lyu91ur88fCFA0w3RsdwyBDFN4iCAYivL5uEgoIElSKiZJkrgnlngpZulh24kbXgDAb2clLCu45fd53c6Pj36wq91cwfSvcTJK8t+azH+b/RiC4x0f7rnseuF4KwBgxgjRhz+Wi3D0XvqSxhvVeoPl4MHPJ1z8W1bRBOED03kZY1GJcmjEkQmyTgtV85Xr6t91uppva50up6PVqL+/VJJhGZPZZrW1erw+2Eoh9xaWZYM0HfTSHq/P1uYAABAioUKeoEqUowg6nBJZ/JmltNGfGsf74HH5uJvjLUGK2r5/y688nEcZlRtox9t/0ah4c7tzX9p3ufOmAzRUimUF4lwFvvJISIWLP7MceFI5tELZmX5UMhjwX//mOACgta2txCN8iCl/oOKURD2Kl/4gnjcLU45AhNIB/paetqCxPHC1JNh0xWlu/N6lLK9u5P5VffZESk7R/VIpm00WY7MpSNMAAD6Oy+KkEpIQESKhgI+iKIIgsN1ChlklGYbx+QNej7fd7bE7nB6vr6HJaGw2qZNVySrl8Jix9LCttNGfLcc/+UliR5T9zTd/+2nlN0aGvDORYsRiKhMAsLjhIc3blR/PF0lHjQAAjNMIDi1QLfyTubTRv/Swbf9PlPcm4naYm3b/r6dcreaOT0ZkaCbI2uKECAAsL3McL+MH/LyZqCQR8PhRXZDy0vZm6uoxqv5C0FAOWNDiF3xrERoaDR1JUnMfmv/6eyKJLPbja32j0eV2AwDi4qRJSrksTgpbKSTWsDucLRabw+EEAIhJMiNVfbdjcK4vMjWOd2iBqkMit+5756YLeWfE+x+Kpwo7f7JNfeXRBVO593V2eu6npkZHcEWReKj6KLtF3NjLr7zSR+rr505dOXUQAbccojZ7e2NAEifiS3kUazcG9eepypOUsRKwDOoxhzwnv7PHF9Nc7q895y/9g/fMDkp/gXGaA0G2yq/4+7U2e2tb54s6Lc05E2ZIFUmxXPOstrbrN/SBQEAkFIzISEtRJwmFAtggITGIUChQJMSLScLj8Xq8XoutTcDnE4ToLl3uo3LX21+FIv0DTypHJ0Z6Ei/tXsPgXzgZgZ654860RP9kFHRxwv7WrhJ+/3XhuJBHGS9EH0rm7y13X2oJaKRYgYo/+CII+HydTqdUKnEc5/F4fUXcQSpQVXq8s0RGhLK1tcQjLMpKzBNZRTjCuCxM1Qmm+oRALsICjt5yY0QKh8kJbkagLj97zp5QVVvfY+Kq0hJNdmHMVjuTxapvCDm/iQp5RpoGhtWQ2EcWJ42TSvQNBrPVdkPfQDO0SqkY8qs0OYMvn2zjhms6+iIv7V4zRrJvDADz8atldPJH/sL/Fyj0sng0GYqpETy2hwh9W+AhsKNk2bMzudD7t7MSXjje+vLJtqnpwiGfR9lXf6fP5WhrbuzxX36f79vKhi+sMrMnMobLsIDiSRkA2F5engDWIZGmAPF5E1FV29jbpZ3Wllj2IjmJTFEnZaanQImE3C8gCJKZnpKiDkVp+gaD1dY25Jd462uHm2Ln5RAdI9qV+98YI9nXkaAQa/4v4nN93JYtxN8KeP03c0kwu7d/bQs8VPLHr7j3ywrE83IIN8W+9bVjyAvVl0qKJDJVZk4fCWrqjScaBdcdPIYJq6rVdLvjGdFQPhlwhn6SQJCt8Cn/WuG0mC195Byz4bbb7amtb+QkUpOsgg0Pct+hSVZxQllb3+h2e4Yw53MGP7e65rVHI2G188qpfHTT7SlJhForOF8qef+weG8x/2qvkS+tENHJfVxxQ3NuQ0Ud95676B+vus8Z/MOnkhgPV6Rm9f39tra2M3X+b1slXoplaMAIe/bhg0DEMIjLz37ZmnDmUp3f5+trGiELVFkPxGYN0zcaWZZNVMihRELua6FMVMhZltU3Gocw2/cuOrnVNZERGzpIV67q+yvT8Nrd5J+vSbe9LPwiFevuBoqD/S8wWXPIx9AhNy1Thj0/XtphxjCpJAAgaWT/ahXw+b6vaTnZQja7mADVszPpcziaA+TnBrL6RmMUcQHQZBfEYN1qNllcbrdIKMhI08CWBrmvyUjTiIQCl9vdbLIMSYa61iC3jcXaMRLuk/o/v6HgmaL5birmeFX0xTXptt3kn6fhtRFtYnEpld3vd1tEiScPlHLvuUsfqvbqWoPDp5KK1JF8YVSTBuoNlpONwsp6K4t275QNosJyj+KvVx1mkzmarFQjcgWEONZqFcMyxubQT56WooZ9kZD7HQRB0lLUAABjs4lhmcFneKDSzW1jwa3RZnzuLOS/7jSTYv7Vw+K9pZL31wouKOh0BEQ1c2hDc27QH+CWMC4eTXYYM0wqKSCk8er0KPNqs7edqWNbXcGu0TNoag3+/WJDwB/tuhRF6ggBIYm1WmUy24I0HRcnhZMiIf8YyOKkcXHSIE2bzLbB5/bX6x4AwJO5kfHo+pL3B5xVAa9lC/H5ROYORODc8e+5N5wBnDFDRT9D5iiKJmgyTbXXosxupEYhEvkA6+oIvBEWiDE2VZ3Q0NwaZSa4kEDQmHPWrLaQ/UlKef8pvd6Sen2Z2WJod9EsiyGIRiIuTFTOTM9QiESwcUJihySl3OFwWm2tg1yTo2sNVlkpuQjt2AwNdewFg6vs6Xjd5cCDUSZ+rwyZ+OPQmykZQrkIrbJSutbgUG3Z248v2VJbeeP86Wgy4gsEk/OSxsY7MB6vS98kAkQ8ZIbaVzRKHaVNjZUX21vNMVWZ3G6Px+vjFiD2nfJ0Q+O6U6cP19Q2ONvp8FYXNMs2ONsP19SuO3X6dEPjsNnsqTy658PdZxuhFED6cif5OO7x+gY52P2tIRQpPpoekUiPuSlLVD1I29J5ddEnrpCMdFkjgz+cGd80+YYp4lZlPTB66uP9bmsjlkgnayV5YicfQ9jb8mQBK8KRsXH2yflqvkDQX4xPjhz7KClTxFRlcrrcXJXqVyJ3XrlC97IPEM2yO69ciV4oLcdfX7xo4eI1e3V0t3+UbFy0cPGihXvK+1T2xnMnjpdct99BTdsTzrbr6/UTlh4N6+Hz2KJ89+JFC5dtP9+p9ZtPvL5w8aLdFffIooo/3Mur9yGUHTV8wFxuCQAAxqgjrdtw6eTgDUvn1d6ZP3s5kp4zgzNpOCLugMdtbqztO/qVJcRPS6HVhBeEfUiaCUXLbBeVDH3Ox5A8wi7MlpXWeV3tvQ7V+z1ur9NB+Tw8nB9LvmSoDkn6XP1q9Xo/KC/vN6sPysvzlYqoQ28c950+X/O0ttNYn+X7rw0SArT38/BXzvrNvll3XlTV1FVLxnVaQo9rJGHFeadEu3TbxlmJ95evRJ3dffCH4xaPvDMte/ukdtm238xQxmKJPv7kk0kTJ6alpfWWoKGhofRs6cKnFkaZoYQkzFZbuIYPvMDcCTa5isjIrcv4DZCA4fQlQ7JYZSl6DHSYUW2jhsmXlCqTR42dKhB1VwcUAWIB+JdM2Q8LE2eq/Wqik7fD0t1cKYbu+BaiJVwzR+EzCxIyEkUEvwf5JWXynIdnxdpWF16fHwAg6nPpa0m9no5iN0maZUvq9VFfOWPKZM2ZC7pOnxgunDJMmTzpbhVVkpH3YGHhrVeeUngfR5TKkcqzfy61/wPFyF6PZ/PmzQ0NDb1J5ObNm6uuVXk80UbQXK3maviAaXSEGnm6LKKSIuT64Euaht+ZSpa1RvwqzgzOpOHwJcNTJnM7mj4PA2I+kpuZmKPmJ4qC/IDD4UXoQFexY5jO2hv+bpcEatyHKRMeVrncAk2LC72id9Y3O9wBNshwEbdYnBBzD/FAIPRcEgr6cm/LzNGGoGVmy6KcaKfNa8ZO0mw/p1uo1XKTIoxlZ+xTV+VSx47cSmMv2/s/75dU2Ckg1BTOXf7s43kEFoqLn/9QN+PlT5blc+/Jxesyyz48UmGncPXE1eufm6CKNvB//sOQTOs+XLe4dPnW38yMuGmG0h2bdp41AiJ10uoNq8dyu7HQ9rJPtv/+VIXdhxPZk5avWj1BzcXyb55QZxTiwICNe/bX87TYLZtxiXbi0jWrJmjCEfG6PTUzX/l4eV4kQF63B4SuqLSUbFy3GxQ/l3flD0erPZQw44kNr/0IP71j06dl7YDIfvyl9fO1PTn6solLZl7+77+Uj1uWf9uq4R5M5QwIlXXPuoWlS7dtHFGy6vWjo57Ztf4RAgDzsZfX7dO8sOe5cTgAhoPrXjqgfnbnhgkS4Kkt2b3z0wuNHkooy5u25mcLC8OzqruXustdPfb683v12qVb7tQ9X7Fixa5duzZv3vzSSy918yg5iZTL5Rs2bCCIaHf94Wo1V8MHjM0bkiQlEWn5KmHD4BudCPGqMYORjnZucjUWqdCcGZxJw+FLAgCyiib9cO1rWo1szg9S185M+4+p4hkpraloi8BvDQg1dKB78N9t7hUCAHOby8g4WoOEhvCbRuDN87Su56Yn/HR6+o/Gp6Wo4ue8sClZOzrWVJIOr8FE0b5ulyHqE4QMd3TWUFLhRNXp8zU3v/v96bZHxmvBrTpNle9ev/moQbvg2Rc3rJqMV3z65tave3SeyvZ/XKdd8PNV8/JIY+mOHSVRirqscMH64pBqKaetXv9U4U0nX79/79eJc36+araGajy9defp8CWpir0vv3vMoPnX1evXPJ5pOb3j17srOvrQiUnL3nxn65shiaQqd7+6+ahB/fiqF1f/KNVyZvvre8r7b6W6vxyx/+Cnq5dOzaD1f3l77c+2XcpYtGbZZA1VfXDzn3W9fCluwsKZlXuPGLo3mR5NjS98akNxPgAgccrKDcWF8SCzaCIOrnPb+rXrKow4Xn49HAh46nVmMLJIKwHAVLL517svoOMXP7dh1TTZ9WObXv2w4pYj16nUtzAd3bFXh2c//eyAejBWrFhRVFTUzaMcmER21Gquhg8Y7hxt8mZ0GM+zDkm7S78Td9IiiMw/4czgTBomXxIAkPfg2AIdDw20gE5VjRYpPeYeljcFA3TXGQAsYLvLJMsCp8kUnygHXhsACC/gTAbO5DhQMEWLjhh5n4ZCdNSHN9B3dsxDYuFEzfrSisXZeQAYLn/VNuWnWov+o07/H/fsi+M0ueHQuADojm86c8MAJt/eZZEx/5UNs0OP21H8uhU7ygzmHjuianY/v2h3x1/hvsi8wpHnAaiQpeYV5na0as389TdzM67YUabT01MLPeePHbcTs3/zSrEWAFAYZ1+8ueRs1fI8bnenjAxlRCk8F46U2CU/2vjy/JB2FMTbl2w6cbZiWX4/syAyFrywKiQrE5W2cxuPgBk/+2VxNgCTM9xVLx747qrhaW3PXkfqrOLUtR+fnbr+kU4ftvds6qrCQu23AJTHZeQX5oXuzqi8seCErs4OtGTlpbKxM2ffuFDR+LQ2te56BVA+EUpScXSvjspbtWH1FBkAE/KUgbVvn/y0dM7Nbs1bpe74+c3HduzVSaauXz9zwEFTN49ywBIZ46Txar8Bk+7Jpc22NmmLRSgURnWiQ0hKLVfQrluisSzwOtxOLJ1lggjLIAiL4jiKAJYJ8ignALcepbRAHnABmi9lUR4LWNofZAECUARDANHeLOx6fbxNR7utQBBz07YxFA3SNMMwGNbrYgAMQaKUP+wOlu7oDRYw48FJGR+fr1ial2cKh9sjAejUsYkrlODE+xu3v2nvZ+YDfnPHeyKujxkEXUdvcE18dLk1WVoBaLleBgA49vriY50c5x4WXNWF0x3duORop3RmC+hHJfGb914mD+lhYmTHVZyUAFBjtwPQS2xGjF3w9NFfH9FNmNnpvvZmajfnDs8rKATv6fU0wCvOFxb8blzC6X2V5ieEBj1FjM3XAGA26imgytNGbhk+Kq8InCw1tPQ2FlLy9pKSkC4/83Th4NSsQygXLlz4ySefDFgimbAXiaGDOg6BwBE3xboDrDjsx7UFFVGuTRxCX1Lpt3E/nzvAciYNoy/J0kjdF90+QxAgEItwW5vD7ApF1Z3siYvv2gHE0J42v4/ydnRTouE4XK6OFwgx0HW1JQIAWnOCGbcm1lSSz8eDXtrnD5C9D+BoJOIGZ3tUXY2S6NdfUiH/XZk3LmnvhcrlsvrTbY+s0WKgU7BMXXj/xa1fkROe27I8Pz68ld/2s4Mpanj0ZjAdwxkL3nl1WietERIA9BTcp89/65VOASeGE6Dtbv1+yqnFD67dd7JoYv+m3tb+c4q04KjeqHOfyyicQ2hlk/Sf6+wqvQ6fVJw5AFPyip8bVbbzYNmR44YJ8zTYEAjlrl27UlNTB+xF+sJr+/h8fDCWyEWYmwpaPIyYHyqSyZemEA+FSt7JMHc2bQLggVDo7WE4kwZ16RR19ogMkUgkFAqjeIC4rYi5h62NeH6bFG8XK2URiWSBTxh6uPNICei0lJtlGZ5YDHBhUCiJdFOyIC41WSwOIsHuU7RYABDjd0jAHWsqKQrvQ+71ePtIU5gYrbZEn7JDVwseSTxz4eiFr9qmjO22S0qbvZkCqY8/MUFDSAiCDjju4W1K0mgB0FfWBSQEwb0Iguih9Sk1IwGor9DTnZKF0iWqM0IVznPTKaaGbC4HnvdvPyU/3X2i/U5NDT2iClVm3VfndERRrhIAbd7YiutndBVgbN6oUDOMlyXjwFShi3QFU9crLgGg1fS6859GO2H+8ysL8cb92w4bBl+wFStWzJ07dzCBNlerRYPbaT81LnQv6u2RH8zLjhqafsk7UcnChMgYCWcGZ9KQ0L9KItZroK2HESsEAYQyUYy1ixNIH6n4nMn+1RWBm1DxUJbm3frBEIbhE8ImnmrDFcl5dERAKpcmK0WeRiHai+I0l7Eea6ypJEmSAID2PtcnzEzPiCaUxhBkZnrGnRqgeXBq4hef/sU+dVz3blsxGY+DxiMHjpSWfbH/7V++XwEA8LgHLi/t+orvy8puvSosvpuacuboiXO6vm6BclLxdBko371x29Gz35edObT91Z/fNiU+3JM6sXimDFTs+dVvj50tK/vi4I5frdsXXqmhGZEHQOmeLfvPnC3Zt/mt/fVD9xPKJi6aAwym/k1N5Mp6rORCDVdWTd5YouJ4iWHs6FBELxxdlPf10ZNmrTYjLKr42MfnaUDFnk3vnzhbdmbv6++e9MimL5jY53NQ9sia1YW44cCb+2qGoGRz584dTF8kV6u5Gj5gsuWhm1FpjdQ7sfrhIeqX1PNAtLv7FOREbjpnRo4CH0aVvHGm1y+3N/KlCTJpMFlF/UuyT5vMr/DxAcuCTgda0nwpTVOlJvoHmfwRqkCa0ivj24VJSai/l+A04Eau/y3WVFIqJrlTlvpIoxCJVubn95vVyvz8gazmVhdOSaLA+CJt9wckMWHpz2dnB8o+3r7146van22YLQHAYBn4DEHT6d9v2fTurdenZe0hTVk8LwPUl+z78FKf/g+Rt/Sd9fPy+Jf37tiyac8xvXpGUY9yQeQvf+uleXn4pX3bN737hyP1STO5IF826bn1s7UB3cHf7/xUl7l69eSh/BE1s+ZPwPs3VfnIkieygP743j3fRcqaMaKIoqhxuZwXT6RrxZ72xFsDWanzNr65fCxzbt/2Tb8/ZR81e8NbS/P6Ey3ZhOVPa3H7sa09PkWGFa5WczV8wBQk8QEAF42RSZfJBdOHyrzouyYfeHAE94YzgzNpSOjnDEXgtmKfLQH2Xmc/MaQ6EKCFlIkNB8wenpTx06RYgPoie1tQhMblbBcKUFHQDpDwsA8tFhEIEui1C49Nf5j50f8BeGwN1ZVXVnu8vuyRmX2vUzzd0PhBeXmPwzgYgqzMz5+algogkNjA7nBW19QRImF+bvZg8tG1Bsd9YJSL0Jr/SImEvR89NPil3ACA563vn/L2v4Ysr71m7+vjufcj/2+TzcucX6ke8G4XEjF5+vTp0aNHR9UviVqv9SGRoQRuIxr0cB2OoRicdgrEMoB0cXgkcVIRbY90XyIAJ4R9SGQoifEy4rHFWn1SyBMAAC2Wfgybmpa6bdrUH4/MSpNKuAAcQ5A0qeTHI7O2TZsKJRISU3D1mavbg0GbwMtR4DYvc0Yf6VT2SP59OLsmfzM24sae0ftsXiZHgQ/VhkD9jXEzdPDbD3gCedgvYiPraFiWCVIMygMIDwAGsCxKeRAMcHPJEQBQpGsIwTIIuDVhNSQb/vYALkNCUTnCUn4ejoYidOSmiIYdTrr0d+jst2KqPqkS5cZmk8PhtDucfbuTCpFoUc4D0a+ugUDulSPpcDh5GKZKlA8+tzmjiCqr47NKN7d5mnbWSnD01eGJuPlMIGt6pCf0s/D+u3NGDWUk2qdKolggZYpTd6WzxoUja8QF4v1tNu4PYYJckYAQmB1QHsCpJNNlswuU8xxZwJIKtwuYzcGgz8dlRioVQua2+XQsEE97DI2xKoUiqDpZ1dBkbGgyxkklcLtyyH0Ny7INTUYAgDpZhSJD0NqKc8l3zzr2XXW/NlmmIjGeiLzM/KIA/d+DzDYjCl/yj1llAP9XAIDJTe8LH09WnEsOZdvvR6RzZwCBpOO4WDbiULIi2owQMpoBNIMwqMjTam2nCJZMCimp3wE6O490EAmH5IwkxdXq8TrbWYGUZhCaAZhMJaDMtx9KiyZqsZRYPPcmWaUUk6TX5+dOmoVA7l/0DQavzy8myUHuv9s56J6bLQIA/O5ipD8t999+YQ0O9hC9tP72TytqvZI5N9JxyV16brZoCMPt/lUSIeIxde7tn2MYIEjsZgjOIgAEnM42ky1Iahwev7k90MpL4l4NNld7gKUIjaPFFAgEEYRFsFABEB4uxtp7fIZhqlGAiI/NupWRqkYQxGy1GZpNsKVB7lMMzSaz1YYgSEaqegizfWaMFACw9Zyzzk6HxIXH82XvGmSeCswiRfuaW7L939NBeOFQnZ3ees7ZYcYwqqSAxJPzenYzKTORGHpQ8HiR2DPIE9vwrLe+lz/xkXX2+3ruteiA/X+uq9t56TQq4mZZouGhHUKewGN6Hl7HM8chCBqb1Yskiaz0VABAk7EFCiXkPpXIJmMLACArPZUkh7L/brxG8FT4cK43vowso0oumnKZ+cUgs+1jO97fp14mtJHTsLmLPjWaHK8RDKtKhkRwxISev4kAEWXgEVIeoFm+mH5gdnDKS9asOVfahCYX2/lVy6Y4Rj/ln/wSk/4wwhOhAPATkkRBY4+H0iJiBZ4xJpYrmUIez50022RsqatvYlkWNjzIfQHLsnX1TZxEZqRpFPKhj9henRRH4sjBKs+eyxEfaPT8X15sXzy4oLvnrsl1/O/GPDmNe7/nsutglYfEkVcnxQ15ofqP3lF5OqbS0qYedqbCeIiAh3kScwSjZ9CogAUgEHBiWPc8nS43RVEIP47KfRIfOcN38Zi4XYf0slETlpSDxGq43YFKqcBQrLa+0Wy1tbtcaSlqeLAiJMaxO5wNTUavz48gSFZ66t2QSABAipT3zvT4//y89YXjrbkKfFzYrStavvPibjBGsi/6fNwsWU9l1Qez6qkM0NNI6Tr+d8uejWxfct7gf+F4KwDgnenxKVLevVBJMgFN7K6SCMbHkh/AErVIwggbluBiAB+hUQRrtTuEfN5jj3bZVYCiKHt7u0oup+igFxEJH/6JBDhZw2XWeiPY3H3eKS/lXwB+Hxw0qJDHi4QCfaPR5XZX19TFxUmTlHKolZDY1McWi80RXmMjJsmMVPXQBtrdWJIvvtwS2HXJtfKI7dACVWZ4R+Ki5TuvHVA/gLzbg4cLEH0ws4HKqqcz6wOZ+mBWfTDTTCf1cYlNyZUzn4pIZJ2dXnnEBgBYUSRekn9XzvHvb+1NGH/ZIe/hjQgCkIR0LFHLSy3AR05ESDkiknKzKs111TZDLS4U4CxraDYJuu4vwrCIUp4QYGkaAHVWbnxSOjftEnjsjMNI1ZyljRW0qZp2mhAAJCv3Ycm591EVbDZZjM2mYKhwgDtkUUISIkIkFPBRFIUThiDDH1YzDOPzB7web7vbY3c4A+FdQ3gYpk5WDdWIdr/M/5PlxA1vthz/5CeJnFCGPMTyU6bLG9qArJ7Oqqcy64OZYYcxkwXRNpMkr3nnXGFaXmaHRC78k7naRs0YIdr/kyErWre1N1GpJGM3+M7+gZ/zGKoYiZDxCNbDMnKPs814/YrH0RqkAt2KjKEYiwCpQp2SXcAX9TSPifKyHnvQWBGoKSUeW4cQsvurXjIsYzLbrLZWj9cHWykk1iBEQoU8QZUoR4dxUNRLMcWfWUob/alxvA8el4/rGFFhmKqDJxY2DGTsYVNy5fTiiSiGdgTaK4/YGh3BiamCA08qRTh6L1UySoIBv6WpxlR7jaa7LL8RCskkbX68KgXFsH/s6uh2e5wut9vt9vr8gQBFMwwc24EMMwiCYCjK5+MioYAkSamYvKvxdd9CufSw7cQNLwDgt7MSlhXcCofZAFV98ts3L/IrJP2fTZDXXvNMITt+1oO8TgdP7bns4voiZ4wQffhj+RBK5N1VSY6A14V0dSbpICWUyGD1hUD+CXnxROuuSyGRmZdDvPZofEf0HVHSVkfVpdrLVZayVn41puLOrlH6bdm0qTAhUJCj1BZkiRVdhq3r7PQbX7YdrPJwfZFbZiQMuc13XSUhEAikMx+Vu14+2eYOH9f1/Hjp2jESFTmQsNLkpn93sZ2bOk7iyDvT4+/ScA1USQgEMtw0OYNvfe3449XIMQSLR5NP5pLcvhjRcEbv+6zSve/m158aTb46Ke5uTPqBKgmBQO4l5wz+9y46D1VHzimQi9BH04Vj1IJcBZ4uw5UEyh0S6w6wFg9Tb6cqrdRFo//Lep/NG5lfPTdb9MwY6ZCvroEqCYFAYghda/BApfuv1z1V1mhPHslR4HNGEcW55NBuYxGlSvLgbwaBQIYTbQLvlUlxr0yK07UGvzX4LrcEqqxUo4O2eWkPFTkkVi7CUuOwbDlekMR/OEU4POLYG1AlIRDIPZNLbYJ4SX6s24nCnwoCgUCgSkIgEAhUSQgEAoEqCYFAIFAlIRAIBKokBAKBQJWEQCAQqJIQCAQCVRICgUCgSkIgEAgEqiQEAoFAlYRAIBCokhAIBAJVEgKBQKBKQiAQCFRJCAQCgSoJgUAgUCUhEAgEqiQEAoFAusGTiEl4FyAQCAT6khAIBDIQ/n8AAAD//23hEvBRbqDtAAAAAElFTkSuQmCC"},36330:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAABACAIAAADtbpkzAAALJUlEQVR42uyd/0/bdvrA3/Y7MTgxGJKFmTkNpA0zgbYqaj/1p+nKZ5+xVc2VjR1StUon7Y/b6aSdNtHb1IlTT3S9MqWXipUdvRbSZgTSBFxSQp04uDixfUrCl0BLoQNKYM/rJ/DX5IlfPM/7edvBcvr0aQQAwMGHhBAAAMgMAADIDAAAyAwAwCuxbLG6BEmC8wBwkGWmKMpisUCMAOBgl9nlnAwBAoDDIDNEBwAOg8wwTgaAQyIzAAAgMwAAIDMAACAzAIDMAACAzAAAgMwAAIDMAACAzAAAMgMAADIDAAAyAwAAMgMAyAwAAMgMAMD+Ycnn869cUSgU9us12e12v99/5MgRlmVJkjQMQ5blJ0+ejI+P53I5+MwA4JUQm/1HC5vNti8vqK2tTRTF8fHxqamphYUFwzBIkmxsbGxtbfX7/eFw+PHjx7tzJsbTda5LaGIpjJCpa5lU7MHISDSt7957YXwB0UOr8XAoqrzdKDrE/l6BWb/M1NWF+FgoFKl4i75Pvgw0b9xZX0zH/xMKTawPBcF4TgW6BFcpXkjX5NTkg5F70XQBJKqazFxVr6atre348eODg4Pz8/OrCw3DmC8xNTXV3d2NENoFn11n+i51sARS01JyUUeIYps5IdDr9YS+uxlVd+ntUA6OdzOKQu1TONV0Ir32XmpY3uUVL/NNt78enl4nryJJ8pqTFNvs8p7t5d+rCAXhOvNZsIMtHlJKqKV4cVx7oNfbEvp+aNfiBRwame12uyiKG0yuZH5+/vbt28FgcGZmZkf1NuXt6elgkRK9ORhKrFyJFk789KLgDnzYER98qB2KD1eeuDkUrfidbrvYd47znuoamx6VK5xP/jwUrgw57bvYF+DcXV1cNCSV4vX/5XgNDYaSK/HCnNh3UeAD/9cR//shiRfIvGsIgjA+Pr6Zyas+j4+PC4Jw796933witvMkTyE1GlozGSFUkML/ino/8blafNTDh9pypapEfhhYu9CdYv/l4rLrA+F0eUmDcOGDk55GGhMI6Wo6Pjb8U0Q2V7YsF9vtvV+2I2Xi+sDd5Z2wQ/jwQhdXT2GiWK9KvwzfWqtpy+eVwt9PN60cWc8mR34cijzH3ImewEmOwcUMGf35Vmjyzap39fGE9D+ch3W5EJJft110NNYVFGiOZ5EkF+PlLsXrTrIiXroUDkVbL/qaluMF7DtV1M12u91TU1NbbjY1NeV2u3dS/PIci5CWjEkb18zOJpc0jayht3kk55n+T0VvI1akZDKRTKm0wyv2/eEEixDKTo7eDd+fLV7j2uz98N3waGxZPKrlQv9lka9Hpb0kxWT5s71XPvKtP6mj65LIIVlKJlMKwnW8eOmiGOi7eIpRZ4uL9FqH74Pgy8Pd3UI318bLlLscr0nJ3LCVNDujaUu4xgYeQWZeT319/cLCwpabLSws1NfX76QtVVf0RlWzL6+KDf81tv0DeY4LDIHSo99dv6+WB5biH4OCs7Oz+X5oNhWbSDnqO080U5o8HZlIr7SRPIFzXppQIoMD4dTycFT8PCi4z4gt0VtrQ1lKmxwcuFvagmDPfNbXwXLCsdTIt4MPS6eiO4NXTrt8x32h2ej2XzDd1s5ZEJpLxLe4KPjOFgYhVUoW8zdjL8VrUXlVvL6OgUMg8yuKhNIs1JablfvbO28OZXerwUzg5R/M1NhPoecOrLzmyJ6jPIXQ7NiyyaW9wr/EfRc8nvd9aHrVTCX568oWpvw4oXSwDJIeP1RXC+bp1GmXq87pQNH05uOJ9o96WlZ+wTYH56CREhv+54aimOZP9/Ssb4AxGGmJ0dGK2kXNKWALyLxdypZu6fM2nX8LxO+GpeYAd6r/T0I6JaWmJx9Ek9HI3Ot2cbzrwAjJqfUVfnIujTyvMVPOKAgxilyxUtO2MYVGO9z8+iVaOjEpbWw+Y4bjK6ex9MV07OWpKQBk3j6ZTKaxsfH1DTCEUGNjYyaT2fHZ6DoGoR0mGzV641uJ93d1CR7O6+C8gqgrsTs3hrfqS23Mctsy8zcghb66sZrrcZ1H/PhDX3tPL77xzZ3Kvybrm3ybxcu+83gBv5sGWCKRaG1t3XKz1tbWRCKxg/Mo2WJqoum6l1d5L3xx9erlLnb7BysoyfvD17/9y1d//nrwblIlGe8HwQC3HTEqoCi89+HVs/HQzfsyQrTnKPdG8cqV4mVjXhWvq1e/6O1qAI9A5vVEIhG/3+90Ol+zjdPp9Pv9kUhkB+fRkpKMEMV7X7qkm5v5GorSsvKa86+B4dsFoX2lQDW11MTQrUcqQqUZnU1IPy3Wrqxr/an5JgdCKDuf3usQy6X3VMMwbxSvRDleRzliwxqu+T1qNV4AyLxGLpcLh8Pd3d2b+ex0Oru7u8Ph8A7v0JYfjCU1RB8LBNwV80GES/xfH4W05K/x5eHlcxUhhvOsmom59yvHlrjZL4pnAycr5ocYmio1ypf/DOil6hkTFXk3PpnUEOJOiq6K857yYKTFH0Wr9BqRH4wlNET7Auf4yvkz19mArwZpycdxEzyCMfNLlO/TDAaDe3tvthYbGmrqvyT4PrrCpZLy0loLV4kOhyaXe73Sw6jsO8Ge6OvnkvISpp2cAxU1Xbmg5bF/J33ned/HV11SStERZlxcA0bZyMj48hHkpymtk6HfvxC0K9KjG6MJhMx46E7M1e0VLl1xSWlVLx2WRlpiJDz9NryUFxFnQ5hAyHyTeP041PR5UPD1FOP1XCvFi3PVYZSNDt+JwQ0jIPOmPs/MzAiCcP78+fr6+nLvOpPJJBKJa9eu7dpTU6nwwLXZ0oMWPL/8oIV0fzQ0Gq/o8cij1/9R6Dl3knPxjKmrC9HhW/Nt/eJqdtImh755LgQCJz0cz5bvAIuFQ3ci6VVPEiPDE0xAcLl4Gj1lUKJ4cG16eOCHufJeDgKhgpy8W3kH2B7X2QpCNu5oBx158CZ3VJup8N8GZksPWvDu5QctivH6Ja5AWq4aqu6pKQAADvyYGQAAkBkAAJAZAEBmAABAZgAAdh/LgXvFpolyeXMxb6h5c0k3C4apG6YBEyTAzjMbgTBJWEiiBhO0lbBZSbuVIAiQebcxTLTwwpBVPasZditpp8j6WrIGE1aMLMRBijhQzXmiYJp5HS3p5ou8KWULubxRR5EsjRtrSZIAmXeMWjCf5fS0qjfUYocNexutoC6wFxAEshKElUQ2K4FqEULYNJG8ZMgvjIScd9D4HTumLQTI/FtY0k0pq+fyxjs2fPxdCoPEwFvXu6GWbKgl3SaeXzRiC3m7leTqcA0mQOY3QFL0uVyBYywtDRRcVcD+ggmiyY6b7Hgup0eeaU12S+l7FUHmbdTVT+RCDSb8LspKQjYGqogmO26kyZmM/mg+f4S1VFXVXXVTU2nVePRMc9pwS4MFTAaqECtJtDRYnDb86JmWVg3IzK9mrtToanNSNitoDFQ1TpqkLVRczheMYvkNmXnjIPm5ahxzWMFk4EBgsxLHHNbnqiEpOsi8LidnXhjHnFBaAwes5D7mtGReGHM5vXplfptfZ5tWjbSqex0WmHwCDhyYILwOS1rV9338vKnMb+3/M5d613kPa4WcDBzc/OxhrU/kvFowq1Tmt+PzE7ngZmGcDBz48bO76HOhSsfMWok9rbclRa/BhJOGh7eAA4+TJmswsY/NsC2mpvY0P78omL+mljqbahYX4QsegcMAi80HT5coo6Z2P24m2c+UOJstNNdZKAwFNnBIoDDRXGeZzRaqrszeUxbzhqIZHGOBKwA4THCMRdGMxbzxO5I5ldNddgyfPXD4cNlxaj+mnf8bAAD//xeM0oYwy9gVAAAAAElFTkSuQmCC"},37613:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm_new_wallet-a53c3129bf5bc7891ef1b31b7c53e0d7.png"},46601:()=>{}}]); \ No newline at end of file diff --git a/assets/js/961dd717.b03d9fe5.js b/assets/js/961dd717.b03d9fe5.js deleted file mode 100644 index 41dfa743..00000000 --- a/assets/js/961dd717.b03d9fe5.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[1636],{74002:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var a=n(67294);n(68903);class s extends a.Component{constructor(t){super(t),this.state={address:null,added:!1,network:this.props.network,window:null},this.connectWallet=this.connectWallet.bind(this)}componentDidMount(){window.ethereum&&this.setState({address:window.ethereum.selectedAddress})}async connectWallet(){const t={chainId:"0x"+57..toString(16),chainName:"Syscoin",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},rpcUrls:["https://rpc.ankr.com/syscoin","wss://rpc.syscoin.org/wss"],blockExplorerUrls:["https://explorer.syscoin.org"]},e={chainId:"0x"+5700..toString(16),chainName:"Syscoin Tanenbaum",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc.tanenbaum.io/"],blockExplorerUrls:["https://tanenbaum.io/"]},n={chainId:"0x"+57e3.toString(16),chainName:"Rollux Testnet",iconUrls:[""],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc-tanenbaum.rollux.com"],blockExplorerUrls:["https://rollux.tanenbaum.io/"]};if(window.ethereum){var a;switch(await window.ethereum.send("eth_requestAccounts"),this.state.network){case"Mainnet":a={method:"wallet_addEthereumChain",params:[t,this.state.selectedAddress]};break;case"Tanenbaum Testnet":a={method:"wallet_addEthereumChain",params:[e,this.state.selectedAddress]};break;case"Rollux Optimistic Testnet":a={method:"wallet_addEthereumChain",params:[n,this.state.selectedAddress]}}try{await window.ethereum.request(a)}catch(s){return console.log(s),!1}return this.setState({added:!0}),!0}}render(){return this.state.added?a.createElement("section",{className:"section"},a.createElement("button",{className:"addButton"},"Added")):a.createElement("section",{className:"section"},a.createElement("button",{onClick:this.connectWallet,className:"addButton"},"Add to MetaMask"))}}const o=s},80253:(t,e,n)=>{"use strict";n.r(e),n.d(e,{default:()=>u,frontMatter:()=>i,metadata:()=>r,toc:()=>l});var a=n(87462),s=(n(67294),n(3905)),o=n(74002);const i={},r={unversionedId:"guides/nevm/metamask",id:"guides/nevm/metamask",isDocsHomePage:!1,title:"Add to MetaMask",description:"You can add the Syscoin networks to MetaMask using the table below. If this doesn't work for any reason you can either follow the first guide to use chainlist.org, or you can enter the information manually further down the page. Welcome to Syscoin!",source:"@site/docs/guides/nevm/metamask.mdx",sourceDirName:"guides/nevm",slug:"/guides/nevm/metamask",permalink:"/docs/guides/nevm/metamask",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Overview",permalink:"/docs/guides/overview"},next:{title:"Syscoin Geth (sysgeth)",permalink:"/docs/guides/nevm/sysgeth"}},l=[{value:"Install the MetaMask Extension from the Store",id:"install-the-metamask-extension-from-the-store",children:[]},{value:"Create a MetaMask Wallet or Import One",id:"create-a-metamask-wallet-or-import-one",children:[]},{value:"Quick Auto Setup to connect to Syscoin Network",id:"quick-auto-setup-to-connect-to-syscoin-network",children:[]},{value:"Manual Setup to connect to Syscoin Network",id:"manual-setup-to-connect-to-syscoin-network",children:[{value:"Mainnet",id:"mainnet",children:[]},{value:"Testnet",id:"testnet",children:[]}]}],c={toc:l},m="wrapper";function u(t){let{components:e,...i}=t;return(0,s.kt)(m,(0,a.Z)({},c,i,{components:e,mdxType:"MDXLayout"}),(0,s.kt)("p",null,"You can add the Syscoin networks to MetaMask using the table below. If this doesn't work for any reason you can either follow the first guide to use ",(0,s.kt)("a",{parentName:"p",href:"https://chainlist.org/"},"chainlist.org"),", or you can enter the information manually further down the page. Welcome to Syscoin!"),(0,s.kt)("table",null,(0,s.kt)("thead",{parentName:"table"},(0,s.kt)("tr",{parentName:"thead"},(0,s.kt)("th",{parentName:"tr",align:"left"},"Network"),(0,s.kt)("th",{parentName:"tr",align:null}))),(0,s.kt)("tbody",{parentName:"table"},(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Mainnet"),(0,s.kt)("td",{parentName:"tr",align:null},(0,s.kt)(o.Z,{network:"Mainnet",mdxType:"AddNetworkComponent"}))),(0,s.kt)("tr",{parentName:"tbody"},(0,s.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Tanenbaum (Testnet)"),(0,s.kt)("td",{parentName:"tr",align:null},(0,s.kt)(o.Z,{network:"Tanenbaum Testnet",mdxType:"AddNetworkComponent"}))))),(0,s.kt)("hr",null),(0,s.kt)("h2",{id:"install-the-metamask-extension-from-the-store"},"Install the MetaMask Extension from the Store"),(0,s.kt)("p",null,"Visit the ",(0,s.kt)("a",{parentName:"p",href:"https://chrome.google.com/webstore/detail/nkbihfbeogaeaoehlefnkodbefgpgknn"},"browser extension marketplace")," and download the MetaMask extension."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(13241).Z})),(0,s.kt)("h2",{id:"create-a-metamask-wallet-or-import-one"},"Create a MetaMask Wallet or Import One"),(0,s.kt)("p",null,"We would suggest creating a new one if you haven\u2019t done so."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(37613).Z})),(0,s.kt)("p",null,"Click import wallet if you have an existing wallet."),(0,s.kt)("p",null,"Set up your password and secret recovery phrase somewhere safe."),(0,s.kt)("h2",{id:"quick-auto-setup-to-connect-to-syscoin-network"},(0,s.kt)("strong",{parentName:"h2"},"Quick Auto Setup")," to connect to Syscoin Network"),(0,s.kt)("p",null,"Head to ",(0,s.kt)("a",{parentName:"p",href:"https://chainlist.org/"},"https://chainlist.org/")," and click Connect Wallet."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(68936).Z})),(0,s.kt)("p",null,"Once Connected, search for Syscoin in the search bar."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(71639).Z})),(0,s.kt)("p",null,"Click Add to MetaMask on the relevant network. This should be ",(0,s.kt)("strong",{parentName:"p"},"Syscoin Mainnet"),", unless you would like to test things out on the Syscoin testnet first."),(0,s.kt)("p",null,"You have now connected to the Syscoin Mainnet with your Metamask Wallet! You can now interact with dApps on Syscoin NEVM."),(0,s.kt)("h2",{id:"manual-setup-to-connect-to-syscoin-network"},"Manual Setup to connect to Syscoin Network"),(0,s.kt)("p",null,"Switch the connected blockchain by clicking on the tab saying Main Ethereum Network, we need to add the Syscoin network."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(36252).Z})),(0,s.kt)("p",null,"Scroll down until you find Custom RPC."),(0,s.kt)("p",null,(0,s.kt)("img",{alt:"img",src:n(36330).Z})),(0,s.kt)("p",null,"Enter in the Syscoin NEVM Mainnet or Testnet settings as follows:"),(0,s.kt)("h3",{id:"mainnet"},"Mainnet"),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Network Name:")," Syscoin Mainnet"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"New RPC URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://rpc.syscoin.org"},"https://rpc.syscoin.org")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Chain ID:")," 57"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Currency Symbol:")," SYS"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Block Explorer URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://explorer.syscoin.org/"},"https://explorer.syscoin.org/"))),(0,s.kt)("h3",{id:"testnet"},"Testnet"),(0,s.kt)("p",null,"The testnet uses test SYS (tSYS), which has no value and is used for testing code before deploying it on mainnet. There is no need to add this network if you don't want to test anything."),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Network Name:")," Syscoin Tanenbaum Testnet"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"New RPC URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://rpc.tanenbaum.io/"},"https://rpc.tanenbaum.io")),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Chain ID:")," 5700"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Currency Symbol:")," tSYS"),(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("strong",{parentName:"li"},"Block Explorer URL:")," ",(0,s.kt)("a",{parentName:"li",href:"https://tanenbaum.io/"},"https://tanenbaum.io"))),(0,s.kt)("p",null,"Once this information has been entered click ",(0,s.kt)("strong",{parentName:"p"},"Save"),"."),(0,s.kt)("p",null,"You have now connected to the Syscoin Mainnet with your Metamask Wallet! You can now interact with dApps on Syscoin NEVM."),(0,s.kt)("blockquote",null,(0,s.kt)("p",{parentName:"blockquote"},(0,s.kt)("strong",{parentName:"p"},"Transactions on the Syscoin Mainnet require SYS which will be used as a gas fee.")),(0,s.kt)("p",{parentName:"blockquote"},(0,s.kt)("strong",{parentName:"p"},"Likewise, transactions on the testnet use tSYS for gas fees."))),(0,s.kt)("p",null,"Get some tokens from the following faucets to use as gas for transactions:"),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Mainnet (SYS)")),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://faucet.syscoin.org"},"https://faucet.syscoin.org"))),(0,s.kt)("p",null,(0,s.kt)("strong",{parentName:"p"},"Testnet (tSYS)")),(0,s.kt)("ul",null,(0,s.kt)("li",{parentName:"ul"},(0,s.kt)("a",{parentName:"li",href:"https://ethstats.tanenbaum.io/#faucet"},"https://ethstats.tanenbaum.io/#faucet"))))}u.isMDXComponent=!0},13241:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm-236bc33f156332fbcb28922ae6f1f740.png"},68936:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm_chainlist-ffc6a162931b6feccf696bdc098ebb4a.png"},71639:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm_chainlist_testnet-b63ecde4d48cec31e92729b31124c78a.png"},36252:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbcAAABaCAIAAAC0WI9UAAAjgklEQVR42uydeXwT17n3z8xotMxIsmxJli15B2HHxtd2wtIACUtYemko4TaGAOECZU2Te0n6htAkTUqb7YVwb+F94aakoZA3kDSQlkKBFEOBLCZhSTAYGxsZW14kW5stydpHM/N+pBHGNl6EbYxoz/ejP2T56MxzRuf85nnOynO2uwAEAoFAbiIRk19++WVOTg6O4zweD4V3BAKBQLpBURRN00wYqJIQCATSHZqmg8EgwzAAAKiSEAgE0oNKsjeBKgmBQCDd4fSRew9VEgKBQHoWSqiSEAgEAlUSAoFABgSCIJxQQpWEQCCQvoAqCYFAIFAlIRAIBKokBAKBQJWEQCAQqJIQCAQCVRICgUCgSkIgEAhUSQgEAoEqCYFAIP/M8OAtgEAg9wRda/CbJt/llkC1jWp00DYv7aFYAACBI3IRlhqH5SjwgiT+DzRCbQIPqiQEAvknEscDle6/XvdUWakeE7gp1k0FG5zB0kY/90mOAp8ziijOJe+JXEKVhEAgw8Q5g/+9i85D1V7uT7kIfTRdOEYtyFXg6TJcSaAkHwmpZIC1eJh6O1VppS4a/V/W+6qsVJXV8e5Zx9xs0TNjpOM1AqiSEAjkH4omZ/Ctrx1/vOrm/lw8mnwyl5ySIewxsZiPiPlYpgwLJ5AAAM7ofZ9VuvdddR+q9h6q9j41mnx1UlyKdJjkC4FnKEIgkLvKR+Wul0+2ucN9js+Pl64dI1GR2ADyMbnp311s33rOCQAgceSd6fFL8sV3w2CJmDx27Fhubq5IJBIIBP2LMcPQXkM1mZo7PDfU36wTJGthxYJA/jF48UTrrkshV2xeDvHao/GZsi76aGys/frS389Zblxj6TqEMDGikC/JotKArAATzUzT/HBMvkql5BKrSOxXk2X/XiB548u2g1We//y89XJLYMuMhHvvS1r0146/vfKxWTNU01YiEiXCuys9AmzAQ9uN+sPbvi+vevyN/YQ0/n6sEG63x+lyu91ur88fCFA0w3RsdwyBDFN4iCAYivL5uEgoIElSKiZJkrgnlngpZulh24kbXgDAb2clLCu45fd53c6Pj36wq91cwfSvcTJK8t+azH+b/RiC4x0f7rnseuF4KwBgxgjRhz+Wi3D0XvqSxhvVeoPl4MHPJ1z8W1bRBOED03kZY1GJcmjEkQmyTgtV85Xr6t91uppva50up6PVqL+/VJJhGZPZZrW1erw+2Eoh9xaWZYM0HfTSHq/P1uYAABAioUKeoEqUowg6nBJZ/JmltNGfGsf74HH5uJvjLUGK2r5/y688nEcZlRtox9t/0ah4c7tzX9p3ufOmAzRUimUF4lwFvvJISIWLP7MceFI5tELZmX5UMhjwX//mOACgta2txCN8iCl/oOKURD2Kl/4gnjcLU45AhNIB/paetqCxPHC1JNh0xWlu/N6lLK9u5P5VffZESk7R/VIpm00WY7MpSNMAAD6Oy+KkEpIQESKhgI+iKIIgsN1ChlklGYbx+QNej7fd7bE7nB6vr6HJaGw2qZNVySrl8Jix9LCttNGfLcc/+UliR5T9zTd/+2nlN0aGvDORYsRiKhMAsLjhIc3blR/PF0lHjQAAjNMIDi1QLfyTubTRv/Swbf9PlPcm4naYm3b/r6dcreaOT0ZkaCbI2uKECAAsL3McL+MH/LyZqCQR8PhRXZDy0vZm6uoxqv5C0FAOWNDiF3xrERoaDR1JUnMfmv/6eyKJLPbja32j0eV2AwDi4qRJSrksTgpbKSTWsDucLRabw+EEAIhJMiNVfbdjcK4vMjWOd2iBqkMit+5756YLeWfE+x+Kpwo7f7JNfeXRBVO593V2eu6npkZHcEWReKj6KLtF3NjLr7zSR+rr505dOXUQAbccojZ7e2NAEifiS3kUazcG9eepypOUsRKwDOoxhzwnv7PHF9Nc7q895y/9g/fMDkp/gXGaA0G2yq/4+7U2e2tb54s6Lc05E2ZIFUmxXPOstrbrN/SBQEAkFIzISEtRJwmFAtggITGIUChQJMSLScLj8Xq8XoutTcDnE4ToLl3uo3LX21+FIv0DTypHJ0Z6Ei/tXsPgXzgZgZ654860RP9kFHRxwv7WrhJ+/3XhuJBHGS9EH0rm7y13X2oJaKRYgYo/+CII+HydTqdUKnEc5/F4fUXcQSpQVXq8s0RGhLK1tcQjLMpKzBNZRTjCuCxM1Qmm+oRALsICjt5yY0QKh8kJbkagLj97zp5QVVvfY+Kq0hJNdmHMVjuTxapvCDm/iQp5RpoGhtWQ2EcWJ42TSvQNBrPVdkPfQDO0SqkY8qs0OYMvn2zjhms6+iIv7V4zRrJvDADz8atldPJH/sL/Fyj0sng0GYqpETy2hwh9W+AhsKNk2bMzudD7t7MSXjje+vLJtqnpwiGfR9lXf6fP5WhrbuzxX36f79vKhi+sMrMnMobLsIDiSRkA2F5engDWIZGmAPF5E1FV29jbpZ3Wllj2IjmJTFEnZaanQImE3C8gCJKZnpKiDkVp+gaD1dY25Jd462uHm2Ln5RAdI9qV+98YI9nXkaAQa/4v4nN93JYtxN8KeP03c0kwu7d/bQs8VPLHr7j3ywrE83IIN8W+9bVjyAvVl0qKJDJVZk4fCWrqjScaBdcdPIYJq6rVdLvjGdFQPhlwhn6SQJCt8Cn/WuG0mC195Byz4bbb7amtb+QkUpOsgg0Pct+hSVZxQllb3+h2e4Yw53MGP7e65rVHI2G188qpfHTT7SlJhForOF8qef+weG8x/2qvkS+tENHJfVxxQ3NuQ0Ud95676B+vus8Z/MOnkhgPV6Rm9f39tra2M3X+b1slXoplaMAIe/bhg0DEMIjLz37ZmnDmUp3f5+trGiELVFkPxGYN0zcaWZZNVMihRELua6FMVMhZltU3Gocw2/cuOrnVNZERGzpIV67q+yvT8Nrd5J+vSbe9LPwiFevuBoqD/S8wWXPIx9AhNy1Thj0/XtphxjCpJAAgaWT/ahXw+b6vaTnZQja7mADVszPpcziaA+TnBrL6RmMUcQHQZBfEYN1qNllcbrdIKMhI08CWBrmvyUjTiIQCl9vdbLIMSYa61iC3jcXaMRLuk/o/v6HgmaL5birmeFX0xTXptt3kn6fhtRFtYnEpld3vd1tEiScPlHLvuUsfqvbqWoPDp5KK1JF8YVSTBuoNlpONwsp6K4t275QNosJyj+KvVx1mkzmarFQjcgWEONZqFcMyxubQT56WooZ9kZD7HQRB0lLUAABjs4lhmcFneKDSzW1jwa3RZnzuLOS/7jSTYv7Vw+K9pZL31wouKOh0BEQ1c2hDc27QH+CWMC4eTXYYM0wqKSCk8er0KPNqs7edqWNbXcGu0TNoag3+/WJDwB/tuhRF6ggBIYm1WmUy24I0HRcnhZMiIf8YyOKkcXHSIE2bzLbB5/bX6x4AwJO5kfHo+pL3B5xVAa9lC/H5ROYORODc8e+5N5wBnDFDRT9D5iiKJmgyTbXXosxupEYhEvkA6+oIvBEWiDE2VZ3Q0NwaZSa4kEDQmHPWrLaQ/UlKef8pvd6Sen2Z2WJod9EsiyGIRiIuTFTOTM9QiESwcUJihySl3OFwWm2tg1yTo2sNVlkpuQjt2AwNdewFg6vs6Xjd5cCDUSZ+rwyZ+OPQmykZQrkIrbJSutbgUG3Z248v2VJbeeP86Wgy4gsEk/OSxsY7MB6vS98kAkQ8ZIbaVzRKHaVNjZUX21vNMVWZ3G6Px+vjFiD2nfJ0Q+O6U6cP19Q2ONvp8FYXNMs2ONsP19SuO3X6dEPjsNnsqTy658PdZxuhFED6cif5OO7x+gY52P2tIRQpPpoekUiPuSlLVD1I29J5ddEnrpCMdFkjgz+cGd80+YYp4lZlPTB66uP9bmsjlkgnayV5YicfQ9jb8mQBK8KRsXH2yflqvkDQX4xPjhz7KClTxFRlcrrcXJXqVyJ3XrlC97IPEM2yO69ciV4oLcdfX7xo4eI1e3V0t3+UbFy0cPGihXvK+1T2xnMnjpdct99BTdsTzrbr6/UTlh4N6+Hz2KJ89+JFC5dtP9+p9ZtPvL5w8aLdFffIooo/3Mur9yGUHTV8wFxuCQAAxqgjrdtw6eTgDUvn1d6ZP3s5kp4zgzNpOCLugMdtbqztO/qVJcRPS6HVhBeEfUiaCUXLbBeVDH3Ox5A8wi7MlpXWeV3tvQ7V+z1ur9NB+Tw8nB9LvmSoDkn6XP1q9Xo/KC/vN6sPysvzlYqoQ28c950+X/O0ttNYn+X7rw0SArT38/BXzvrNvll3XlTV1FVLxnVaQo9rJGHFeadEu3TbxlmJ95evRJ3dffCH4xaPvDMte/ukdtm238xQxmKJPv7kk0kTJ6alpfWWoKGhofRs6cKnFkaZoYQkzFZbuIYPvMDcCTa5isjIrcv4DZCA4fQlQ7JYZSl6DHSYUW2jhsmXlCqTR42dKhB1VwcUAWIB+JdM2Q8LE2eq/Wqik7fD0t1cKYbu+BaiJVwzR+EzCxIyEkUEvwf5JWXynIdnxdpWF16fHwAg6nPpa0m9no5iN0maZUvq9VFfOWPKZM2ZC7pOnxgunDJMmTzpbhVVkpH3YGHhrVeeUngfR5TKkcqzfy61/wPFyF6PZ/PmzQ0NDb1J5ObNm6uuVXk80UbQXK3maviAaXSEGnm6LKKSIuT64Euaht+ZSpa1RvwqzgzOpOHwJcNTJnM7mj4PA2I+kpuZmKPmJ4qC/IDD4UXoQFexY5jO2hv+bpcEatyHKRMeVrncAk2LC72id9Y3O9wBNshwEbdYnBBzD/FAIPRcEgr6cm/LzNGGoGVmy6KcaKfNa8ZO0mw/p1uo1XKTIoxlZ+xTV+VSx47cSmMv2/s/75dU2Ckg1BTOXf7s43kEFoqLn/9QN+PlT5blc+/Jxesyyz48UmGncPXE1eufm6CKNvB//sOQTOs+XLe4dPnW38yMuGmG0h2bdp41AiJ10uoNq8dyu7HQ9rJPtv/+VIXdhxPZk5avWj1BzcXyb55QZxTiwICNe/bX87TYLZtxiXbi0jWrJmjCEfG6PTUzX/l4eV4kQF63B4SuqLSUbFy3GxQ/l3flD0erPZQw44kNr/0IP71j06dl7YDIfvyl9fO1PTn6solLZl7+77+Uj1uWf9uq4R5M5QwIlXXPuoWlS7dtHFGy6vWjo57Ztf4RAgDzsZfX7dO8sOe5cTgAhoPrXjqgfnbnhgkS4Kkt2b3z0wuNHkooy5u25mcLC8OzqruXustdPfb683v12qVb7tQ9X7Fixa5duzZv3vzSSy918yg5iZTL5Rs2bCCIaHf94Wo1V8MHjM0bkiQlEWn5KmHD4BudCPGqMYORjnZucjUWqdCcGZxJw+FLAgCyiib9cO1rWo1szg9S185M+4+p4hkpraloi8BvDQg1dKB78N9t7hUCAHOby8g4WoOEhvCbRuDN87Su56Yn/HR6+o/Gp6Wo4ue8sClZOzrWVJIOr8FE0b5ulyHqE4QMd3TWUFLhRNXp8zU3v/v96bZHxmvBrTpNle9ev/moQbvg2Rc3rJqMV3z65tave3SeyvZ/XKdd8PNV8/JIY+mOHSVRirqscMH64pBqKaetXv9U4U0nX79/79eJc36+araGajy9defp8CWpir0vv3vMoPnX1evXPJ5pOb3j17srOvrQiUnL3nxn65shiaQqd7+6+ahB/fiqF1f/KNVyZvvre8r7b6W6vxyx/+Cnq5dOzaD1f3l77c+2XcpYtGbZZA1VfXDzn3W9fCluwsKZlXuPGLo3mR5NjS98akNxPgAgccrKDcWF8SCzaCIOrnPb+rXrKow4Xn49HAh46nVmMLJIKwHAVLL517svoOMXP7dh1TTZ9WObXv2w4pYj16nUtzAd3bFXh2c//eyAejBWrFhRVFTUzaMcmER21Gquhg8Y7hxt8mZ0GM+zDkm7S78Td9IiiMw/4czgTBomXxIAkPfg2AIdDw20gE5VjRYpPeYeljcFA3TXGQAsYLvLJMsCp8kUnygHXhsACC/gTAbO5DhQMEWLjhh5n4ZCdNSHN9B3dsxDYuFEzfrSisXZeQAYLn/VNuWnWov+o07/H/fsi+M0ueHQuADojm86c8MAJt/eZZEx/5UNs0OP21H8uhU7ygzmHjuianY/v2h3x1/hvsi8wpHnAaiQpeYV5na0as389TdzM67YUabT01MLPeePHbcTs3/zSrEWAFAYZ1+8ueRs1fI8bnenjAxlRCk8F46U2CU/2vjy/JB2FMTbl2w6cbZiWX4/syAyFrywKiQrE5W2cxuPgBk/+2VxNgCTM9xVLx747qrhaW3PXkfqrOLUtR+fnbr+kU4ftvds6qrCQu23AJTHZeQX5oXuzqi8seCErs4OtGTlpbKxM2ffuFDR+LQ2te56BVA+EUpScXSvjspbtWH1FBkAE/KUgbVvn/y0dM7Nbs1bpe74+c3HduzVSaauXz9zwEFTN49ywBIZ46Txar8Bk+7Jpc22NmmLRSgURnWiQ0hKLVfQrluisSzwOtxOLJ1lggjLIAiL4jiKAJYJ8ignALcepbRAHnABmi9lUR4LWNofZAECUARDANHeLOx6fbxNR7utQBBz07YxFA3SNMMwGNbrYgAMQaKUP+wOlu7oDRYw48FJGR+fr1ial2cKh9sjAejUsYkrlODE+xu3v2nvZ+YDfnPHeyKujxkEXUdvcE18dLk1WVoBaLleBgA49vriY50c5x4WXNWF0x3duORop3RmC+hHJfGb914mD+lhYmTHVZyUAFBjtwPQS2xGjF3w9NFfH9FNmNnpvvZmajfnDs8rKATv6fU0wCvOFxb8blzC6X2V5ieEBj1FjM3XAGA26imgytNGbhk+Kq8InCw1tPQ2FlLy9pKSkC4/83Th4NSsQygXLlz4ySefDFgimbAXiaGDOg6BwBE3xboDrDjsx7UFFVGuTRxCX1Lpt3E/nzvAciYNoy/J0kjdF90+QxAgEItwW5vD7ApF1Z3siYvv2gHE0J42v4/ydnRTouE4XK6OFwgx0HW1JQIAWnOCGbcm1lSSz8eDXtrnD5C9D+BoJOIGZ3tUXY2S6NdfUiH/XZk3LmnvhcrlsvrTbY+s0WKgU7BMXXj/xa1fkROe27I8Pz68ld/2s4Mpanj0ZjAdwxkL3nl1WietERIA9BTcp89/65VOASeGE6Dtbv1+yqnFD67dd7JoYv+m3tb+c4q04KjeqHOfyyicQ2hlk/Sf6+wqvQ6fVJw5AFPyip8bVbbzYNmR44YJ8zTYEAjlrl27UlNTB+xF+sJr+/h8fDCWyEWYmwpaPIyYHyqSyZemEA+FSt7JMHc2bQLggVDo7WE4kwZ16RR19ogMkUgkFAqjeIC4rYi5h62NeH6bFG8XK2URiWSBTxh6uPNICei0lJtlGZ5YDHBhUCiJdFOyIC41WSwOIsHuU7RYABDjd0jAHWsqKQrvQ+71ePtIU5gYrbZEn7JDVwseSTxz4eiFr9qmjO22S0qbvZkCqY8/MUFDSAiCDjju4W1K0mgB0FfWBSQEwb0Iguih9Sk1IwGor9DTnZKF0iWqM0IVznPTKaaGbC4HnvdvPyU/3X2i/U5NDT2iClVm3VfndERRrhIAbd7YiutndBVgbN6oUDOMlyXjwFShi3QFU9crLgGg1fS6859GO2H+8ysL8cb92w4bBl+wFStWzJ07dzCBNlerRYPbaT81LnQv6u2RH8zLjhqafsk7UcnChMgYCWcGZ9KQ0L9KItZroK2HESsEAYQyUYy1ixNIH6n4nMn+1RWBm1DxUJbm3frBEIbhE8ImnmrDFcl5dERAKpcmK0WeRiHai+I0l7Eea6ypJEmSAID2PtcnzEzPiCaUxhBkZnrGnRqgeXBq4hef/sU+dVz3blsxGY+DxiMHjpSWfbH/7V++XwEA8LgHLi/t+orvy8puvSosvpuacuboiXO6vm6BclLxdBko371x29Gz35edObT91Z/fNiU+3JM6sXimDFTs+dVvj50tK/vi4I5frdsXXqmhGZEHQOmeLfvPnC3Zt/mt/fVD9xPKJi6aAwym/k1N5Mp6rORCDVdWTd5YouJ4iWHs6FBELxxdlPf10ZNmrTYjLKr42MfnaUDFnk3vnzhbdmbv6++e9MimL5jY53NQ9sia1YW44cCb+2qGoGRz584dTF8kV6u5Gj5gsuWhm1FpjdQ7sfrhIeqX1PNAtLv7FOREbjpnRo4CH0aVvHGm1y+3N/KlCTJpMFlF/UuyT5vMr/DxAcuCTgda0nwpTVOlJvoHmfwRqkCa0ivj24VJSai/l+A04Eau/y3WVFIqJrlTlvpIoxCJVubn95vVyvz8gazmVhdOSaLA+CJt9wckMWHpz2dnB8o+3r7146van22YLQHAYBn4DEHT6d9v2fTurdenZe0hTVk8LwPUl+z78FKf/g+Rt/Sd9fPy+Jf37tiyac8xvXpGUY9yQeQvf+uleXn4pX3bN737hyP1STO5IF826bn1s7UB3cHf7/xUl7l69eSh/BE1s+ZPwPs3VfnIkieygP743j3fRcqaMaKIoqhxuZwXT6RrxZ72xFsDWanzNr65fCxzbt/2Tb8/ZR81e8NbS/P6Ey3ZhOVPa3H7sa09PkWGFa5WczV8wBQk8QEAF42RSZfJBdOHyrzouyYfeHAE94YzgzNpSOjnDEXgtmKfLQH2Xmc/MaQ6EKCFlIkNB8wenpTx06RYgPoie1tQhMblbBcKUFHQDpDwsA8tFhEIEui1C49Nf5j50f8BeGwN1ZVXVnu8vuyRmX2vUzzd0PhBeXmPwzgYgqzMz5+algogkNjA7nBW19QRImF+bvZg8tG1Bsd9YJSL0Jr/SImEvR89NPil3ACA563vn/L2v4Ysr71m7+vjufcj/2+TzcucX6ke8G4XEjF5+vTp0aNHR9UviVqv9SGRoQRuIxr0cB2OoRicdgrEMoB0cXgkcVIRbY90XyIAJ4R9SGQoifEy4rHFWn1SyBMAAC2Wfgybmpa6bdrUH4/MSpNKuAAcQ5A0qeTHI7O2TZsKJRISU3D1mavbg0GbwMtR4DYvc0Yf6VT2SP59OLsmfzM24sae0ftsXiZHgQ/VhkD9jXEzdPDbD3gCedgvYiPraFiWCVIMygMIDwAGsCxKeRAMcHPJEQBQpGsIwTIIuDVhNSQb/vYALkNCUTnCUn4ejoYidOSmiIYdTrr0d+jst2KqPqkS5cZmk8PhtDucfbuTCpFoUc4D0a+ugUDulSPpcDh5GKZKlA8+tzmjiCqr47NKN7d5mnbWSnD01eGJuPlMIGt6pCf0s/D+u3NGDWUk2qdKolggZYpTd6WzxoUja8QF4v1tNu4PYYJckYAQmB1QHsCpJNNlswuU8xxZwJIKtwuYzcGgz8dlRioVQua2+XQsEE97DI2xKoUiqDpZ1dBkbGgyxkklcLtyyH0Ny7INTUYAgDpZhSJD0NqKc8l3zzr2XXW/NlmmIjGeiLzM/KIA/d+DzDYjCl/yj1llAP9XAIDJTe8LH09WnEsOZdvvR6RzZwCBpOO4WDbiULIi2owQMpoBNIMwqMjTam2nCJZMCimp3wE6O490EAmH5IwkxdXq8TrbWYGUZhCaAZhMJaDMtx9KiyZqsZRYPPcmWaUUk6TX5+dOmoVA7l/0DQavzy8myUHuv9s56J6bLQIA/O5ipD8t999+YQ0O9hC9tP72TytqvZI5N9JxyV16brZoCMPt/lUSIeIxde7tn2MYIEjsZgjOIgAEnM42ky1Iahwev7k90MpL4l4NNld7gKUIjaPFFAgEEYRFsFABEB4uxtp7fIZhqlGAiI/NupWRqkYQxGy1GZpNsKVB7lMMzSaz1YYgSEaqegizfWaMFACw9Zyzzk6HxIXH82XvGmSeCswiRfuaW7L939NBeOFQnZ3ees7ZYcYwqqSAxJPzenYzKTORGHpQ8HiR2DPIE9vwrLe+lz/xkXX2+3ruteiA/X+uq9t56TQq4mZZouGhHUKewGN6Hl7HM8chCBqb1Yskiaz0VABAk7EFCiXkPpXIJmMLACArPZUkh7L/brxG8FT4cK43vowso0oumnKZ+cUgs+1jO97fp14mtJHTsLmLPjWaHK8RDKtKhkRwxISev4kAEWXgEVIeoFm+mH5gdnDKS9asOVfahCYX2/lVy6Y4Rj/ln/wSk/4wwhOhAPATkkRBY4+H0iJiBZ4xJpYrmUIez50022RsqatvYlkWNjzIfQHLsnX1TZxEZqRpFPKhj9henRRH4sjBKs+eyxEfaPT8X15sXzy4oLvnrsl1/O/GPDmNe7/nsutglYfEkVcnxQ15ofqP3lF5OqbS0qYedqbCeIiAh3kScwSjZ9CogAUgEHBiWPc8nS43RVEIP47KfRIfOcN38Zi4XYf0slETlpSDxGq43YFKqcBQrLa+0Wy1tbtcaSlqeLAiJMaxO5wNTUavz48gSFZ66t2QSABAipT3zvT4//y89YXjrbkKfFzYrStavvPibjBGsi/6fNwsWU9l1Qez6qkM0NNI6Tr+d8uejWxfct7gf+F4KwDgnenxKVLevVBJMgFN7K6SCMbHkh/AErVIwggbluBiAB+hUQRrtTuEfN5jj3bZVYCiKHt7u0oup+igFxEJH/6JBDhZw2XWeiPY3H3eKS/lXwB+Hxw0qJDHi4QCfaPR5XZX19TFxUmTlHKolZDY1McWi80RXmMjJsmMVPXQBtrdWJIvvtwS2HXJtfKI7dACVWZ4R+Ki5TuvHVA/gLzbg4cLEH0ws4HKqqcz6wOZ+mBWfTDTTCf1cYlNyZUzn4pIZJ2dXnnEBgBYUSRekn9XzvHvb+1NGH/ZIe/hjQgCkIR0LFHLSy3AR05ESDkiknKzKs111TZDLS4U4CxraDYJuu4vwrCIUp4QYGkaAHVWbnxSOjftEnjsjMNI1ZyljRW0qZp2mhAAJCv3Ycm591EVbDZZjM2mYKhwgDtkUUISIkIkFPBRFIUThiDDH1YzDOPzB7web7vbY3c4A+FdQ3gYpk5WDdWIdr/M/5PlxA1vthz/5CeJnFCGPMTyU6bLG9qArJ7Oqqcy64OZYYcxkwXRNpMkr3nnXGFaXmaHRC78k7naRs0YIdr/kyErWre1N1GpJGM3+M7+gZ/zGKoYiZDxCNbDMnKPs814/YrH0RqkAt2KjKEYiwCpQp2SXcAX9TSPifKyHnvQWBGoKSUeW4cQsvurXjIsYzLbrLZWj9cHWykk1iBEQoU8QZUoR4dxUNRLMcWfWUob/alxvA8el4/rGFFhmKqDJxY2DGTsYVNy5fTiiSiGdgTaK4/YGh3BiamCA08qRTh6L1UySoIBv6WpxlR7jaa7LL8RCskkbX68KgXFsH/s6uh2e5wut9vt9vr8gQBFMwwc24EMMwiCYCjK5+MioYAkSamYvKvxdd9CufSw7cQNLwDgt7MSlhXcCofZAFV98ts3L/IrJP2fTZDXXvNMITt+1oO8TgdP7bns4voiZ4wQffhj+RBK5N1VSY6A14V0dSbpICWUyGD1hUD+CXnxROuuSyGRmZdDvPZofEf0HVHSVkfVpdrLVZayVn41puLOrlH6bdm0qTAhUJCj1BZkiRVdhq3r7PQbX7YdrPJwfZFbZiQMuc13XSUhEAikMx+Vu14+2eYOH9f1/Hjp2jESFTmQsNLkpn93sZ2bOk7iyDvT4+/ScA1USQgEMtw0OYNvfe3449XIMQSLR5NP5pLcvhjRcEbv+6zSve/m158aTb46Ke5uTPqBKgmBQO4l5wz+9y46D1VHzimQi9BH04Vj1IJcBZ4uw5UEyh0S6w6wFg9Tb6cqrdRFo//Lep/NG5lfPTdb9MwY6ZCvroEqCYFAYghda/BApfuv1z1V1mhPHslR4HNGEcW55NBuYxGlSvLgbwaBQIYTbQLvlUlxr0yK07UGvzX4LrcEqqxUo4O2eWkPFTkkVi7CUuOwbDlekMR/OEU4POLYG1AlIRDIPZNLbYJ4SX6s24nCnwoCgUCgSkIgEAhUSQgEAoEqCYFAIFAlIRAIBKokBAKBQJWEQCAQqJIQCAQCVRICgUCgSkIgEAgEqiQEAoFAlYRAIBCokhAIBAJVEgKBQKBKQiAQCFRJCAQCgSoJgUAgUCUhEAgEqiQEAoFAusGTiEl4FyAQCAT6khAIBDIQ/n8AAAD//23hEvBRbqDtAAAAAElFTkSuQmCC"},36330:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAABACAIAAADtbpkzAAALJUlEQVR42uyd/0/bdvrA3/Y7MTgxGJKFmTkNpA0zgbYqaj/1p+nKZ5+xVc2VjR1StUon7Y/b6aSdNtHb1IlTT3S9MqWXipUdvRbSZgTSBFxSQp04uDixfUrCl0BLoQNKYM/rJ/DX5IlfPM/7edvBcvr0aQQAwMGHhBAAAMgMAADIDAAAyAwAwCuxbLG6BEmC8wBwkGWmKMpisUCMAOBgl9nlnAwBAoDDIDNEBwAOg8wwTgaAQyIzAAAgMwAAIDMAACAzAIDMAACAzAAAgMwAAIDMAACAzAAAMgMAADIDAAAyAwAAMgMAyAwAAMgMAMD+Ycnn869cUSgU9us12e12v99/5MgRlmVJkjQMQ5blJ0+ejI+P53I5+MwA4JUQm/1HC5vNti8vqK2tTRTF8fHxqamphYUFwzBIkmxsbGxtbfX7/eFw+PHjx7tzJsbTda5LaGIpjJCpa5lU7MHISDSt7957YXwB0UOr8XAoqrzdKDrE/l6BWb/M1NWF+FgoFKl4i75Pvgw0b9xZX0zH/xMKTawPBcF4TgW6BFcpXkjX5NTkg5F70XQBJKqazFxVr6atre348eODg4Pz8/OrCw3DmC8xNTXV3d2NENoFn11n+i51sARS01JyUUeIYps5IdDr9YS+uxlVd+ntUA6OdzOKQu1TONV0Ir32XmpY3uUVL/NNt78enl4nryJJ8pqTFNvs8p7t5d+rCAXhOvNZsIMtHlJKqKV4cVx7oNfbEvp+aNfiBRwame12uyiKG0yuZH5+/vbt28FgcGZmZkf1NuXt6elgkRK9ORhKrFyJFk789KLgDnzYER98qB2KD1eeuDkUrfidbrvYd47znuoamx6VK5xP/jwUrgw57bvYF+DcXV1cNCSV4vX/5XgNDYaSK/HCnNh3UeAD/9cR//shiRfIvGsIgjA+Pr6Zyas+j4+PC4Jw796933witvMkTyE1GlozGSFUkML/ino/8blafNTDh9pypapEfhhYu9CdYv/l4rLrA+F0eUmDcOGDk55GGhMI6Wo6Pjb8U0Q2V7YsF9vtvV+2I2Xi+sDd5Z2wQ/jwQhdXT2GiWK9KvwzfWqtpy+eVwt9PN60cWc8mR34cijzH3ImewEmOwcUMGf35Vmjyzap39fGE9D+ch3W5EJJft110NNYVFGiOZ5EkF+PlLsXrTrIiXroUDkVbL/qaluMF7DtV1M12u91TU1NbbjY1NeV2u3dS/PIci5CWjEkb18zOJpc0jayht3kk55n+T0VvI1akZDKRTKm0wyv2/eEEixDKTo7eDd+fLV7j2uz98N3waGxZPKrlQv9lka9Hpb0kxWT5s71XPvKtP6mj65LIIVlKJlMKwnW8eOmiGOi7eIpRZ4uL9FqH74Pgy8Pd3UI318bLlLscr0nJ3LCVNDujaUu4xgYeQWZeT319/cLCwpabLSws1NfX76QtVVf0RlWzL6+KDf81tv0DeY4LDIHSo99dv6+WB5biH4OCs7Oz+X5oNhWbSDnqO080U5o8HZlIr7SRPIFzXppQIoMD4dTycFT8PCi4z4gt0VtrQ1lKmxwcuFvagmDPfNbXwXLCsdTIt4MPS6eiO4NXTrt8x32h2ej2XzDd1s5ZEJpLxLe4KPjOFgYhVUoW8zdjL8VrUXlVvL6OgUMg8yuKhNIs1JablfvbO28OZXerwUzg5R/M1NhPoecOrLzmyJ6jPIXQ7NiyyaW9wr/EfRc8nvd9aHrVTCX568oWpvw4oXSwDJIeP1RXC+bp1GmXq87pQNH05uOJ9o96WlZ+wTYH56CREhv+54aimOZP9/Ssb4AxGGmJ0dGK2kXNKWALyLxdypZu6fM2nX8LxO+GpeYAd6r/T0I6JaWmJx9Ek9HI3Ot2cbzrwAjJqfUVfnIujTyvMVPOKAgxilyxUtO2MYVGO9z8+iVaOjEpbWw+Y4bjK6ex9MV07OWpKQBk3j6ZTKaxsfH1DTCEUGNjYyaT2fHZ6DoGoR0mGzV641uJ93d1CR7O6+C8gqgrsTs3hrfqS23Mctsy8zcghb66sZrrcZ1H/PhDX3tPL77xzZ3Kvybrm3ybxcu+83gBv5sGWCKRaG1t3XKz1tbWRCKxg/Mo2WJqoum6l1d5L3xx9erlLnb7BysoyfvD17/9y1d//nrwblIlGe8HwQC3HTEqoCi89+HVs/HQzfsyQrTnKPdG8cqV4mVjXhWvq1e/6O1qAI9A5vVEIhG/3+90Ol+zjdPp9Pv9kUhkB+fRkpKMEMV7X7qkm5v5GorSsvKa86+B4dsFoX2lQDW11MTQrUcqQqUZnU1IPy3Wrqxr/an5JgdCKDuf3usQy6X3VMMwbxSvRDleRzliwxqu+T1qNV4AyLxGLpcLh8Pd3d2b+ex0Oru7u8Ph8A7v0JYfjCU1RB8LBNwV80GES/xfH4W05K/x5eHlcxUhhvOsmom59yvHlrjZL4pnAycr5ocYmio1ypf/DOil6hkTFXk3PpnUEOJOiq6K857yYKTFH0Wr9BqRH4wlNET7Auf4yvkz19mArwZpycdxEzyCMfNLlO/TDAaDe3tvthYbGmrqvyT4PrrCpZLy0loLV4kOhyaXe73Sw6jsO8Ge6OvnkvISpp2cAxU1Xbmg5bF/J33ned/HV11SStERZlxcA0bZyMj48hHkpymtk6HfvxC0K9KjG6MJhMx46E7M1e0VLl1xSWlVLx2WRlpiJDz9NryUFxFnQ5hAyHyTeP041PR5UPD1FOP1XCvFi3PVYZSNDt+JwQ0jIPOmPs/MzAiCcP78+fr6+nLvOpPJJBKJa9eu7dpTU6nwwLXZ0oMWPL/8oIV0fzQ0Gq/o8cij1/9R6Dl3knPxjKmrC9HhW/Nt/eJqdtImh755LgQCJz0cz5bvAIuFQ3ci6VVPEiPDE0xAcLl4Gj1lUKJ4cG16eOCHufJeDgKhgpy8W3kH2B7X2QpCNu5oBx158CZ3VJup8N8GZksPWvDu5QctivH6Ja5AWq4aqu6pKQAADvyYGQAAkBkAAJAZAEBmAABAZgAAdh/LgXvFpolyeXMxb6h5c0k3C4apG6YBEyTAzjMbgTBJWEiiBhO0lbBZSbuVIAiQebcxTLTwwpBVPasZditpp8j6WrIGE1aMLMRBijhQzXmiYJp5HS3p5ou8KWULubxRR5EsjRtrSZIAmXeMWjCf5fS0qjfUYocNexutoC6wFxAEshKElUQ2K4FqEULYNJG8ZMgvjIScd9D4HTumLQTI/FtY0k0pq+fyxjs2fPxdCoPEwFvXu6GWbKgl3SaeXzRiC3m7leTqcA0mQOY3QFL0uVyBYywtDRRcVcD+ggmiyY6b7Hgup0eeaU12S+l7FUHmbdTVT+RCDSb8LspKQjYGqogmO26kyZmM/mg+f4S1VFXVXXVTU2nVePRMc9pwS4MFTAaqECtJtDRYnDb86JmWVg3IzK9mrtToanNSNitoDFQ1TpqkLVRczheMYvkNmXnjIPm5ahxzWMFk4EBgsxLHHNbnqiEpOsi8LidnXhjHnFBaAwes5D7mtGReGHM5vXplfptfZ5tWjbSqex0WmHwCDhyYILwOS1rV9338vKnMb+3/M5d613kPa4WcDBzc/OxhrU/kvFowq1Tmt+PzE7ngZmGcDBz48bO76HOhSsfMWok9rbclRa/BhJOGh7eAA4+TJmswsY/NsC2mpvY0P78omL+mljqbahYX4QsegcMAi80HT5coo6Z2P24m2c+UOJstNNdZKAwFNnBIoDDRXGeZzRaqrszeUxbzhqIZHGOBKwA4THCMRdGMxbzxO5I5ldNddgyfPXD4cNlxaj+mnf8bAAD//xeM0oYwy9gVAAAAAElFTkSuQmCC"},37613:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const a=n.p+"assets/images/mm_new_wallet-a53c3129bf5bc7891ef1b31b7c53e0d7.png"},46601:()=>{}}]); \ No newline at end of file diff --git a/assets/js/a0964cc0.0eea548d.js b/assets/js/a0964cc0.0eea548d.js new file mode 100644 index 00000000..8a31afde --- /dev/null +++ b/assets/js/a0964cc0.0eea548d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3640],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>m});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),p=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=p(e.components);return a.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,s=e.originalType,l=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),u=p(n),m=r,f=u["".concat(l,".").concat(m)]||u[m]||d[m]||s;return n?a.createElement(f,o(o({ref:t},c),{},{components:n})):a.createElement(f,o({ref:t},c))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var s=n.length,o=new Array(s);o[0]=u;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:r,o[1]=i;for(var p=2;p{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>s,metadata:()=>o,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const s={},o={unversionedId:"guides/spts/aux-fees",id:"guides/spts/aux-fees",isDocsHomePage:!1,title:"Auxiliary Fees",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/aux-fees.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/aux-fees",permalink:"/docs/guides/spts/aux-fees",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Add to MetaMask or install Pali Wallet",permalink:"/docs/guides/rollux/metamask"},next:{title:"Create/Issue Tokens",permalink:"/docs/guides/spts/create-issue-tokens"}},i=[{value:"Understanding auxfee_details",id:"understanding-auxfee_details",children:[]},{value:"Implementation",id:"implementation",children:[]}],l={toc:i};function p(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},(0,r.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,r.kt)("br",{parentName:"p"}),"\n","Now ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,r.kt)("p",{parentName:"div"},"Examples are available at ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,r.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,r.kt)("p",null,"Auxiliary Fees lets you define a custom fee structure for your token. These transaction fees are calculated according to the specified structure and paid to the designated Syscoin address in the form of the transacted Syscoin Platform Token (SPT). Standard network fees paid in SYS still apply."),(0,r.kt)("h2",{id:"understanding-auxfee_details"},"Understanding auxfee_details"),(0,r.kt)("p",null,"Example auxfee_details:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-text"},'\'{"auxfee_address": "tsys1qgklj8wcyss87q2wgr84ypfj0fxtahe60788tad", "fee_struct": [[0,0.01],[10,0.004],[250,0.002],[2500,0.0007],[25000,0.00007],[250000,0.000007]]}\'\n')),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"auxfee_address")),": where transaction fees will be sent.\n",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"fee_struct")),": the first integer represents a range boundary pertaining to amount. The second is the fee percentage multiplier for that range. Multiple ranges can be defined in order from least to greatest boundary integer."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Calculation")," is cumulative across the amount boundaries."),(0,r.kt)("p",null,"For example, the auxiliary fee for a transaction of 251 tokens with the above fee structure would be calculated as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"(10 * 0.01) + (240 * 0.004) + (1 * 0.002) = 1.062 total tokens\n")),(0,r.kt)("h2",{id:"implementation"},"Implementation"),(0,r.kt)("p",null,"The auxfee_details structure can be defined within the RPC parameters of ",(0,r.kt)("inlineCode",{parentName:"p"},"assetnew")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"assetupdate"),"."),(0,r.kt)("p",null,"Auxfee_details defined in assetnew parameter:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-text"},'$syscoin-cli assetnew 100 "AUXF" "auxFee Test Token" "" 8 1000000 127 "" {} \'{"auxfee_address": "tsys1qgklj8wcyss87q2wgr84ypfj0fxtahe60788tad", "fee_struct": [[0,0.01],[10,0.004],[250,0.002],[2500,0.0007],[25000,0.00007],[250000,0.000007]]}\'\n')),(0,r.kt)("blockquote",null,(0,r.kt)("h3",{parentName:"blockquote",id:"auxfee_details-structure-is-stored-in-the-auxfee-field"},"\ud83d\udcd8auxfee_details structure is stored in the ",(0,r.kt)("inlineCode",{parentName:"h3"},"auxfee")," field"),(0,r.kt)("p",{parentName:"blockquote"},"and corresponds to updatecapability_flags bitmask value 32")))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a0964cc0.28c849ae.js b/assets/js/a0964cc0.28c849ae.js deleted file mode 100644 index 22a5bf48..00000000 --- a/assets/js/a0964cc0.28c849ae.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3640],{3905:(e,t,n)=>{n.d(t,{Zo:()=>c,kt:()=>f});var a=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function o(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var l=a.createContext({}),p=function(e){var t=a.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):o(o({},t),e)),n},c=function(e){var t=p(e.components);return a.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,s=e.originalType,l=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),d=p(n),m=r,f=d["".concat(l,".").concat(m)]||d[m]||u[m]||s;return n?a.createElement(f,o(o({ref:t},c),{},{components:n})):a.createElement(f,o({ref:t},c))}));function f(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var s=n.length,o=new Array(s);o[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[d]="string"==typeof e?e:r,o[1]=i;for(var p=2;p{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>s,metadata:()=>o,toc:()=>i});var a=n(87462),r=(n(67294),n(3905));const s={},o={unversionedId:"guides/spts/aux-fees",id:"guides/spts/aux-fees",isDocsHomePage:!1,title:"Auxiliary Fees",description:"UPDATE: The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",source:"@site/docs/guides/spts/aux-fees.mdx",sourceDirName:"guides/spts",slug:"/guides/spts/aux-fees",permalink:"/docs/guides/spts/aux-fees",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Add to MetaMask",permalink:"/docs/guides/rollux/metamask"},next:{title:"Create/Issue Tokens",permalink:"/docs/guides/spts/create-issue-tokens"}},i=[{value:"Understanding auxfee_details",id:"understanding-auxfee_details",children:[]},{value:"Implementation",id:"implementation",children:[]}],l={toc:i},p="wrapper";function c(e){let{components:t,...n}=e;return(0,r.kt)(p,(0,a.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("div",{className:"admonition admonition-info alert alert--info"},(0,r.kt)("div",{parentName:"div",className:"admonition-heading"},(0,r.kt)("h5",{parentName:"div"},(0,r.kt)("span",{parentName:"h5",className:"admonition-icon"},(0,r.kt)("svg",{parentName:"span",xmlns:"http://www.w3.org/2000/svg",width:"14",height:"16",viewBox:"0 0 14 16"},(0,r.kt)("path",{parentName:"svg",fillRule:"evenodd",d:"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"}))),"info")),(0,r.kt)("div",{parentName:"div",className:"admonition-content"},(0,r.kt)("p",{parentName:"div"},(0,r.kt)("strong",{parentName:"p"},"UPDATE:")," The Syscoin Core RPCs used in the example below, and other SPT-oriented RPCs, have been deprecated and removed as of Syscoin Core 4.4.",(0,r.kt)("br",{parentName:"p"}),"\n","Now ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib"},"syscoinjs-lib"))," and ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js"))," are used to create/manage digital assets, auxfees, and notaries on the UTXO chain."),(0,r.kt)("p",{parentName:"div"},"Examples are available at ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoinjs-lib-examples"},"https://github.com/syscoin/syscoinjs-lib-examples")),"."),(0,r.kt)("p",{parentName:"div"},"For a complete list of these deprecated RPCs, review the ",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/blob/master/doc/release-notes/release-notes-4.4.0.md"},"Syscoin Core 4.4 release notes")),"."))),(0,r.kt)("p",null,"Auxiliary Fees lets you define a custom fee structure for your token. These transaction fees are calculated according to the specified structure and paid to the designated Syscoin address in the form of the transacted Syscoin Platform Token (SPT). Standard network fees paid in SYS still apply."),(0,r.kt)("h2",{id:"understanding-auxfee_details"},"Understanding auxfee_details"),(0,r.kt)("p",null,"Example auxfee_details:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-text"},'\'{"auxfee_address": "tsys1qgklj8wcyss87q2wgr84ypfj0fxtahe60788tad", "fee_struct": [[0,0.01],[10,0.004],[250,0.002],[2500,0.0007],[25000,0.00007],[250000,0.000007]]}\'\n')),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"auxfee_address")),": where transaction fees will be sent.\n",(0,r.kt)("strong",{parentName:"p"},(0,r.kt)("inlineCode",{parentName:"strong"},"fee_struct")),": the first integer represents a range boundary pertaining to amount. The second is the fee percentage multiplier for that range. Multiple ranges can be defined in order from least to greatest boundary integer."),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Calculation")," is cumulative across the amount boundaries."),(0,r.kt)("p",null,"For example, the auxiliary fee for a transaction of 251 tokens with the above fee structure would be calculated as follows:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"(10 * 0.01) + (240 * 0.004) + (1 * 0.002) = 1.062 total tokens\n")),(0,r.kt)("h2",{id:"implementation"},"Implementation"),(0,r.kt)("p",null,"The auxfee_details structure can be defined within the RPC parameters of ",(0,r.kt)("inlineCode",{parentName:"p"},"assetnew")," and ",(0,r.kt)("inlineCode",{parentName:"p"},"assetupdate"),"."),(0,r.kt)("p",null,"Auxfee_details defined in assetnew parameter:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-text"},'$syscoin-cli assetnew 100 "AUXF" "auxFee Test Token" "" 8 1000000 127 "" {} \'{"auxfee_address": "tsys1qgklj8wcyss87q2wgr84ypfj0fxtahe60788tad", "fee_struct": [[0,0.01],[10,0.004],[250,0.002],[2500,0.0007],[25000,0.00007],[250000,0.000007]]}\'\n')),(0,r.kt)("blockquote",null,(0,r.kt)("h3",{parentName:"blockquote",id:"auxfee_details-structure-is-stored-in-the-auxfee-field"},"\ud83d\udcd8auxfee_details structure is stored in the ",(0,r.kt)("inlineCode",{parentName:"h3"},"auxfee")," field"),(0,r.kt)("p",{parentName:"blockquote"},"and corresponds to updatecapability_flags bitmask value 32")))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a2b80acb.998c4b43.js b/assets/js/a2b80acb.0e59efde.js similarity index 98% rename from assets/js/a2b80acb.998c4b43.js rename to assets/js/a2b80acb.0e59efde.js index 9e3df4d9..25b8ca5f 100644 --- a/assets/js/a2b80acb.998c4b43.js +++ b/assets/js/a2b80acb.0e59efde.js @@ -1 +1 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[4250],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(13960),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>l,qp:()=>k,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>T,t4:()=>N,h$:()=>O,f2:()=>B,tD:()=>I,x6:()=>A,ri:()=>U,pR:()=>P,kG:()=>q,MP:()=>D,OK:()=>X,IM:()=>R,WO:()=>V,II:()=>H,vu:()=>J,R5:()=>z,S7:()=>E,KF:()=>G,s9:()=>M,lX:()=>C,Gu:()=>W,lV:()=>F,Zm:()=>K,Kg:()=>L,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>le,MC:()=>ke,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Te,qA:()=>Ne,zT:()=>Oe,i8:()=>Be,y5:()=>Ie,p1:()=>Ae,x2:()=>Ue,XN:()=>Pe,Yl:()=>qe,OR:()=>De,ge:()=>Xe,i0:()=>Re,x3:()=>Ve,vl:()=>He,M9:()=>Je,GN:()=>ze,Nv:()=>Ee,hY:()=>Ge,iN:()=>Me,kf:()=>Ce,CH:()=>We,M2:()=>Fe,Nt:()=>Ke,tf:()=>Le,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>lt,BH:()=>kt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),O=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),B=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),U=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),P=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),R=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),V=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),H=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),J=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),z=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),G=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),F=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),K=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),le=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),ke=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Te=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Ne=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Oe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Ue=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Pe=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Re=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ve=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),He=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),ze=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ee=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Me=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Fe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Ke=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},7386:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);const o={sidebar_position:6},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/types",id:"dev-resources/documentation/javascript-sdk-ref/types",isDocsHomePage:!1,title:"Types",description:"Allocation",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/types.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/types",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/types",version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"TrezorSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner"},next:{title:"Blockbook API",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook"}},c=[{value:"Allocation",id:"allocation",children:[]},{value:"AssetDetails",id:"assetdetails",children:[]},{value:"AssetIDs",id:"assetids",children:[]},{value:"AssetInfo",id:"assetinfo",children:[]},{value:"AssetOptions",id:"assetoptions",children:[]},{value:"AssetOutput",id:"assetoutput",children:[]},{value:"AssetOutputs",id:"assetoutputs",children:[]},{value:"AuxFee",id:"auxfee",children:[]},{value:"AuxFeeDetails",id:"auxfeedetails",children:[]},{value:"BIP32Node",id:"bip32node",children:[]},{value:"KeyPair",id:"keypair",children:[]},{value:"Network",id:"network",children:[]},{value:"Networks",id:"networks",children:[]},{value:"NotaryDetails",id:"notarydetails",children:[]},{value:"Output",id:"output",children:[]},{value:"PSBT",id:"psbt",children:[]},{value:"PSBTInput",id:"psbtinput",children:[]},{value:"Res",id:"res",children:[]},{value:"ResInput",id:"resinput",children:[]},{value:"SanitizedAssetDetails",id:"sanitizedassetdetails",children:[]},{value:"SanitizedUTXO",id:"sanitizedutxo",children:[]},{value:"SanitizedUTXOs",id:"sanitizedutxos",children:[]},{value:"SPSBT",id:"spsbt",children:[]},{value:"SpvProof",id:"spvproof",children:[]},{value:"Transaction",id:"transaction",children:[]},{value:"TransactionOptions",id:"transactionoptions",children:[]},{value:"TrezorTransaction",id:"trezortransaction",children:[]},{value:"UnknownKeyValue",id:"unknownkeyvalue",children:[]},{value:"UpdateCapabilityFlags",id:"updatecapabilityflags",children:[]},{value:"UTXO",id:"utxo",children:[]},{value:"UTXOs",id:"utxos",children:[]},{value:"WitnessUTXO",id:"witnessutxo",children:[]}],p={toc:c},u="wrapper";function y(e){let{components:t,...a}=e;return(0,n.kt)(u,(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h3",{id:"allocation"},"Allocation"),(0,n.kt)("h3",{id:"assetdetails"},"AssetDetails"),(0,n.kt)(i.Z,{typeTable:r.Bt,anchor:"#assetdetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetids"},"AssetIDs"),(0,n.kt)("h3",{id:"assetinfo"},"AssetInfo"),(0,n.kt)(i.Z,{typeTable:r.dV,anchor:"#assetinfo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetoptions"},"AssetOptions"),(0,n.kt)(i.Z,{typeTable:r.gv,anchor:"#assetoptions",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetoutput"},"AssetOutput"),(0,n.kt)(i.Z,{typeTable:r.gz,anchor:"#assetoutput",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetoutputs"},"AssetOutputs"),(0,n.kt)(i.Z,{typeTable:r.zi,anchor:"#assetoutputs",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"auxfee"},"AuxFee"),(0,n.kt)(i.Z,{typeTable:r.pX,anchor:"#auxfee",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"auxfeedetails"},"AuxFeeDetails"),(0,n.kt)(i.Z,{typeTable:r.ZJ,anchor:"#auxfeedetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"bip32node"},"BIP32Node"),(0,n.kt)(i.Z,{typeTable:r.Z1,anchor:"#bip32node",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"keypair"},"KeyPair"),(0,n.kt)("h3",{id:"network"},"Network"),(0,n.kt)(i.Z,{typeTable:r.Zc,anchor:"#network",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"networks"},"Networks"),(0,n.kt)(i.Z,{typeTable:r.pt,anchor:"#networks",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"notarydetails"},"NotaryDetails"),(0,n.kt)(i.Z,{typeTable:r.cf,anchor:"#notarydetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"output"},"Output"),(0,n.kt)(i.Z,{typeTable:r.r_,anchor:"#output",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"psbt"},"PSBT"),(0,n.kt)(i.Z,{typeTable:r.j5,anchor:"#psbt",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"psbtinput"},"PSBTInput"),(0,n.kt)(i.Z,{typeTable:r.qp,anchor:"#psbtinput",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"res"},"Res"),(0,n.kt)(i.Z,{typeTable:r.LV,anchor:"#res",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"resinput"},"ResInput"),(0,n.kt)(i.Z,{typeTable:r.qO,anchor:"#resinput",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"sanitizedassetdetails"},"SanitizedAssetDetails"),(0,n.kt)(i.Z,{typeTable:r.Fo,anchor:"#sanitizedassetdetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"sanitizedutxo"},"SanitizedUTXO"),(0,n.kt)(i.Z,{typeTable:r.VO,anchor:"#sanitizedutxo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"sanitizedutxos"},"SanitizedUTXOs"),(0,n.kt)(i.Z,{typeTable:r.JX,anchor:"#sanitizedutxos",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"spsbt"},"SPSBT"),(0,n.kt)(i.Z,{typeTable:r.bG,anchor:"#spsbt",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"spvproof"},"SpvProof"),(0,n.kt)("h3",{id:"transaction"},"Transaction"),(0,n.kt)("h3",{id:"transactionoptions"},"TransactionOptions"),(0,n.kt)(i.Z,{typeTable:r.rK,anchor:"#transactionoptions",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"trezortransaction"},"TrezorTransaction"),(0,n.kt)("h3",{id:"unknownkeyvalue"},"UnknownKeyValue"),(0,n.kt)(i.Z,{typeTable:r.f2,anchor:"#unknownkeyvalue",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"updatecapabilityflags"},"UpdateCapabilityFlags"),(0,n.kt)("p",null,"Used to define what details of a token/asset can be updated. This is a bitmask value, so the final value should be all of the flags you would like to set added together. For example, if you wanted the ability to update the notary address (8) and notary details (16) only, your value would be 24."),(0,n.kt)(i.Z,{typeTable:r.tD,anchor:"#updatecapabilityflags",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"utxo"},"UTXO"),(0,n.kt)(i.Z,{typeTable:r.t4,anchor:"#utxo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"utxos"},"UTXOs"),(0,n.kt)(i.Z,{typeTable:r.h$,anchor:"#utxos",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"witnessutxo"},"WitnessUTXO"))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[4250],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(45822),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>l,qp:()=>k,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>T,t4:()=>N,h$:()=>O,f2:()=>B,tD:()=>I,x6:()=>A,ri:()=>U,pR:()=>P,kG:()=>q,MP:()=>D,OK:()=>X,IM:()=>R,WO:()=>V,II:()=>H,vu:()=>J,R5:()=>z,S7:()=>E,KF:()=>G,s9:()=>M,lX:()=>C,Gu:()=>W,lV:()=>F,Zm:()=>K,Kg:()=>L,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>le,MC:()=>ke,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Te,qA:()=>Ne,zT:()=>Oe,i8:()=>Be,y5:()=>Ie,p1:()=>Ae,x2:()=>Ue,XN:()=>Pe,Yl:()=>qe,OR:()=>De,ge:()=>Xe,i0:()=>Re,x3:()=>Ve,vl:()=>He,M9:()=>Je,GN:()=>ze,Nv:()=>Ee,hY:()=>Ge,iN:()=>Me,kf:()=>Ce,CH:()=>We,M2:()=>Fe,Nt:()=>Ke,tf:()=>Le,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>lt,BH:()=>kt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),O=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),B=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),U=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),P=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),R=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),V=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),H=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),J=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),z=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),G=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),F=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),K=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),le=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),ke=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Te=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Ne=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Oe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Ue=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Pe=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Re=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ve=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),He=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),ze=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ee=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Me=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Fe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Ke=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},7386:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);const o={sidebar_position:6},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/types",id:"dev-resources/documentation/javascript-sdk-ref/types",isDocsHomePage:!1,title:"Types",description:"Allocation",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/types.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/types",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/types",version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"TrezorSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner"},next:{title:"Blockbook API",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook"}},c=[{value:"Allocation",id:"allocation",children:[]},{value:"AssetDetails",id:"assetdetails",children:[]},{value:"AssetIDs",id:"assetids",children:[]},{value:"AssetInfo",id:"assetinfo",children:[]},{value:"AssetOptions",id:"assetoptions",children:[]},{value:"AssetOutput",id:"assetoutput",children:[]},{value:"AssetOutputs",id:"assetoutputs",children:[]},{value:"AuxFee",id:"auxfee",children:[]},{value:"AuxFeeDetails",id:"auxfeedetails",children:[]},{value:"BIP32Node",id:"bip32node",children:[]},{value:"KeyPair",id:"keypair",children:[]},{value:"Network",id:"network",children:[]},{value:"Networks",id:"networks",children:[]},{value:"NotaryDetails",id:"notarydetails",children:[]},{value:"Output",id:"output",children:[]},{value:"PSBT",id:"psbt",children:[]},{value:"PSBTInput",id:"psbtinput",children:[]},{value:"Res",id:"res",children:[]},{value:"ResInput",id:"resinput",children:[]},{value:"SanitizedAssetDetails",id:"sanitizedassetdetails",children:[]},{value:"SanitizedUTXO",id:"sanitizedutxo",children:[]},{value:"SanitizedUTXOs",id:"sanitizedutxos",children:[]},{value:"SPSBT",id:"spsbt",children:[]},{value:"SpvProof",id:"spvproof",children:[]},{value:"Transaction",id:"transaction",children:[]},{value:"TransactionOptions",id:"transactionoptions",children:[]},{value:"TrezorTransaction",id:"trezortransaction",children:[]},{value:"UnknownKeyValue",id:"unknownkeyvalue",children:[]},{value:"UpdateCapabilityFlags",id:"updatecapabilityflags",children:[]},{value:"UTXO",id:"utxo",children:[]},{value:"UTXOs",id:"utxos",children:[]},{value:"WitnessUTXO",id:"witnessutxo",children:[]}],p={toc:c};function u(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("h3",{id:"allocation"},"Allocation"),(0,n.kt)("h3",{id:"assetdetails"},"AssetDetails"),(0,n.kt)(i.Z,{typeTable:r.Bt,anchor:"#assetdetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetids"},"AssetIDs"),(0,n.kt)("h3",{id:"assetinfo"},"AssetInfo"),(0,n.kt)(i.Z,{typeTable:r.dV,anchor:"#assetinfo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetoptions"},"AssetOptions"),(0,n.kt)(i.Z,{typeTable:r.gv,anchor:"#assetoptions",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetoutput"},"AssetOutput"),(0,n.kt)(i.Z,{typeTable:r.gz,anchor:"#assetoutput",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"assetoutputs"},"AssetOutputs"),(0,n.kt)(i.Z,{typeTable:r.zi,anchor:"#assetoutputs",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"auxfee"},"AuxFee"),(0,n.kt)(i.Z,{typeTable:r.pX,anchor:"#auxfee",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"auxfeedetails"},"AuxFeeDetails"),(0,n.kt)(i.Z,{typeTable:r.ZJ,anchor:"#auxfeedetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"bip32node"},"BIP32Node"),(0,n.kt)(i.Z,{typeTable:r.Z1,anchor:"#bip32node",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"keypair"},"KeyPair"),(0,n.kt)("h3",{id:"network"},"Network"),(0,n.kt)(i.Z,{typeTable:r.Zc,anchor:"#network",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"networks"},"Networks"),(0,n.kt)(i.Z,{typeTable:r.pt,anchor:"#networks",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"notarydetails"},"NotaryDetails"),(0,n.kt)(i.Z,{typeTable:r.cf,anchor:"#notarydetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"output"},"Output"),(0,n.kt)(i.Z,{typeTable:r.r_,anchor:"#output",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"psbt"},"PSBT"),(0,n.kt)(i.Z,{typeTable:r.j5,anchor:"#psbt",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"psbtinput"},"PSBTInput"),(0,n.kt)(i.Z,{typeTable:r.qp,anchor:"#psbtinput",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"res"},"Res"),(0,n.kt)(i.Z,{typeTable:r.LV,anchor:"#res",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"resinput"},"ResInput"),(0,n.kt)(i.Z,{typeTable:r.qO,anchor:"#resinput",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"sanitizedassetdetails"},"SanitizedAssetDetails"),(0,n.kt)(i.Z,{typeTable:r.Fo,anchor:"#sanitizedassetdetails",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"sanitizedutxo"},"SanitizedUTXO"),(0,n.kt)(i.Z,{typeTable:r.VO,anchor:"#sanitizedutxo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"sanitizedutxos"},"SanitizedUTXOs"),(0,n.kt)(i.Z,{typeTable:r.JX,anchor:"#sanitizedutxos",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"spsbt"},"SPSBT"),(0,n.kt)(i.Z,{typeTable:r.bG,anchor:"#spsbt",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"spvproof"},"SpvProof"),(0,n.kt)("h3",{id:"transaction"},"Transaction"),(0,n.kt)("h3",{id:"transactionoptions"},"TransactionOptions"),(0,n.kt)(i.Z,{typeTable:r.rK,anchor:"#transactionoptions",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"trezortransaction"},"TrezorTransaction"),(0,n.kt)("h3",{id:"unknownkeyvalue"},"UnknownKeyValue"),(0,n.kt)(i.Z,{typeTable:r.f2,anchor:"#unknownkeyvalue",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"updatecapabilityflags"},"UpdateCapabilityFlags"),(0,n.kt)("p",null,"Used to define what details of a token/asset can be updated. This is a bitmask value, so the final value should be all of the flags you would like to set added together. For example, if you wanted the ability to update the notary address (8) and notary details (16) only, your value would be 24."),(0,n.kt)(i.Z,{typeTable:r.tD,anchor:"#updatecapabilityflags",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"utxo"},"UTXO"),(0,n.kt)(i.Z,{typeTable:r.t4,anchor:"#utxo",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"utxos"},"UTXOs"),(0,n.kt)(i.Z,{typeTable:r.h$,anchor:"#utxos",showTitles:!1,mdxType:"ShowInfoComponent"}),(0,n.kt)("h3",{id:"witnessutxo"},"WitnessUTXO"))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/a991d789.21a59f2b.js b/assets/js/a991d789.c054fb84.js similarity index 94% rename from assets/js/a991d789.21a59f2b.js rename to assets/js/a991d789.c054fb84.js index 17d53e27..a7da3215 100644 --- a/assets/js/a991d789.21a59f2b.js +++ b/assets/js/a991d789.c054fb84.js @@ -1 +1 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[2555],{57463:(e,t,s)=>{s.d(t,{Z:()=>y});var n=s(87462),a=s(67294),i=s(340),r=s(38456),o=s.n(r),d=s(13960),c=s(89739);const p={code(e){let{node:t,inline:s,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!s&&p?a.createElement(d.Z,(0,n.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):a.createElement("code",(0,n.Z)({className:i},o))}};class u extends a.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?a.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},a.createElement(i.td,null,this.state.examples.map(((e,t)=>a.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>a.createElement(i.x4,{key:t},a.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>a.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,s)=>{s.d(t,{Z:()=>p});var n=s(67294),a=(s(99403),s(65053),s(58650),s(38456)),i=s.n(a);s(66367);class r extends n.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,s="";return" yes"===e.data.required&&(s="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:n.createElement("li",{class:"li-param"},n.createElement("div",{class:"flex short"},n.createElement(i(),{class:"md-type",children:t}),n.createElement("p",{class:"required"},s)))}renderParam(e){let t=`${e.data.type}`;return e.children?n.createElement("div",{class:"md-type"},this.getParamElement(e),n.createElement("ul",{class:"ul-param"},n.createElement("li",{class:"li-param"},n.createElement("details",{class:"short-spacing"},n.createElement("summary",null,n.createElement("div",null,n.createElement(i(),{class:"md-type",children:t}),n.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):n.createElement("div",{class:"md-type"},this.getParamElement(e),n.createElement("ul",{class:"ul-param"},n.createElement("li",{class:"li-param"},n.createElement("div",{class:"short-spacing"},n.createElement(i(),{class:"md-type",children:t}),n.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return n.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?n.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=s(57463);class c extends n.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,s){return!1!==this.state.showTitles?n.createElement("div",null,n.createElement("h4",null,t),n.createElement(o,{root:s,type:e})):n.createElement(o,{root:s,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?n.createElement("div",null,n.createElement("h4",null,"Examples"),n.createElement(d.Z,{examples:this.state.examples})):n.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?n.createElement("div",null,n.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):n.createElement("div",null,n.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},48551:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToEth () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = { ethaddress: Buffer.from('07C72973d42D28de80D47Eb1F8Bc4a8ee0D5bBb1', 'hex') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '1965866356'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1quexf5zalfak2cvv9mujkh9pc3f3wrcgz7gzhh5' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const sysFromXpubOrAddress = 'vpub5ZdpZuCU7ubDRZ5V7uryBDBEZxDNP67FLgPyHgPtiVgjwDk8rjxAFbg4cHNAyp9ZLXNgJRq6f9QjWCc4Ef7gUxFivP7GkSKo6ANNb2jrzhA'\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},10988:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // empty ethaddress means burning SYSX to SYS, otherwise its burning asset to goto Etheruem\n const assetOpts = { ethaddress: Buffer.from('') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '3372068234'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},80585:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = {\n bridgetransferid: 2,\n blocknumber: 6816449,\n txvalue: Buffer.from('f9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txroot: Buffer.from('a0842ab40a9c4770c8ec74158aadcf943e8158128fdd1ba8cef9c7cb8eda732692', 'hex'),\n txparentnodes: Buffer.from('f9039cf871a04442f3f69add48df0531fe3c0025103b53fcf3fe38060e5f29366caec8855e4fa0229f7b7e69c0b5793f8a61c06f5cc09b0f4938561856c632ee56c3b2c4d6d153808080808080a07720fff5e8eabef55fa129ee55b3b0d82875e2b25b8f26e22cf6b5c4f9cec7ab8080808080808080f901f180a03ee147749c5b769bc5d1a53e4f37567506d417de4ec4e67722130eda4638427da043caa62b40dad61bce4d50fb62ea485729a6687c3aa13895cf4ba234b92afe82a0b79958e4aa63104da4599ebb91e712375e6adfc89abc14b9533c5778f107e7d8a01bc7f80f81a8d281253ac882bb89aca6131e5794bfcbdccde990bb6d5be6cb2fa0aedad62f1426b68e395a59e06bf242fb28b882af67589bce3495a99650058ec4a0c21a7e0b9d0948bb6b65a5e73f5f01173064d20e4819ca4884d1eabc22bf737da090087708c533b10af8925eebf398c005fc16cb6a515111f2be4f328f762949d0a02827daacd6a52ae6c74a78791ff0c5e33a7a85f5ca0a47cdfbcd5219f75f705ca0af7ecf31d56575155d272cd813bf7d7ac435f62b0538c31771e407dafef6be53a09b74707c3abdbfa305cb61f23c940f063f553f17d0bd3013126aad357193353ea067a52ed59820bb48f8010d2b2bb0ee92803b1a00a8341fd4c3269b065ed070d9a0bf0e9b45955283e6e04b71eda63bfc7b55d9f54527943aa1c159b4161b1e1daea0ecabd4c00deacf9a7ff25be942c9f468628eb776fbec23a9ca0d8fc256f14a31a0df406c7ac7f38c2ea1d9bdb06c2e51db3de8cf0e655a8e0e683e19ca1ddf83d3a08360ec6c5e26614f144520ed9d0b577640381f0f38b5429b67422f75d603ad5a80f9013220b9012ef9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txpath: Buffer.from('0b', 'hex'),\n receiptvalue: Buffer.from('f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex'),\n receiptroot: Buffer.from('a0a958499bf48fcce17672b58aa9037bd3dafeb6231880722d909c60bacfaaa8d4', 'hex'),\n receiptparentnodes: Buffer.from('f90551f871a0cab13def05783d763febde31920bd234d0486c26955c2937e0486db909a28eeea09cf564a668a29a5f1cc5d6ef8e19988dfd2b30d290672f0ffc4200e608cb65ac808080808080a029b8ed2258c53562954c87bcd7f60671029680d2a19ef8bcd3ad470ea48d57d18080808080808080f901f180a07c21ca39872e6b8f611bc6b1b295c24f988b5cf944625eabf5236b37ea3b9f01a0edb9e63fdc31ba41f11a8b2fb8000ad1357b3c0b27a8483968d75e93e7b488a1a02231847aa3c5dde2f2a1851a66aabec65e5eaae8c28110756f122c72be1fba05a08fa87809e5b7f989e78ccbe1a6bc4924115d5747529af879f2fe196f959b64fca091f1bf748061eba21a413b72d70afccb8daebb5906d5cd9dda06d5f877065d5ba0d7e6c82dd1c25eb2f90b02f038beaff98c260d46992d0b3c1eac7d51552c7417a01d5c43deb2e3794292cdffb04f82ab25bc4e75f5e0cab928b66582e08026f5b1a0d7323a87dc8fbc66c7b34810d2cad92fc0da168d962b4556e825a3266a148b74a0af31f0b7cdcd6a855ac7678ef2b8fcb1afeda918b0c8e4696a4013f2b75ca402a0f9d63f2db8ab6d3c3e12073ac2910ee575832bde3e4586f18e59dd26a16adb7ca0f0c91e059c43780617d304fe8992511f096ccc35232da1f25127db53ba4fb05aa052030932d0a9026efd2a3ada67f33d401cd9a97ddb24c606af3a0a0c24e432aba0142af9b4686c6ca30b0ac39133fa76d8682b7bbbec488e62e652d3f25419777da0940f31617e91cfbabaa9d0d1638949f8125f80a43027122778522675194a4e65a0edc4c7d2cf30150fdf7e502d0ef06c80c85fc37260134a112493c6183f62f4b580f902e720b902e3f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex')\n }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '2615707979'\n // mint 100 COINS\n const amountToMint = new sjs.utils.BN(10000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},96163:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\n// pass just Eth txid and let Syscoin get proof to create transaction\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // infura URL + ID and ethereum burn txid\n const assetOpts = {\n infuraurl: '',\n ethtxid: '0x3c3bfe141fcbe313f2afd31be1b63dd3a0147235161e637407fbb8605d3d294f'\n }\n // will be auto filled based on ethtxid eth-proof\n const assetMap = null\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},39900:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '3813460941'\n // mint 11000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qpay7ehn7epk5dmh8xv7dn5ksvyhr06323mtz0s' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},89872:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2264781424'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }],\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},61610:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2441957158'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},90449:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function newAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n const assetOpts = { precision: 8, symbol: 'JAG', maxsupply: new sjs.utils.BN(100000000000), description: 'publicvalue' }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n // let HDSigner find asset destination address\n const sysReceivingAddress = null\n const psbt = await syscoinjs.assetNew(assetOpts, txOpts, sysChangeAddress, sysReceivingAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n const assets = syscointx.getAssetsFromTx(psbt.extractTransaction())\n console.log('created asset ' + assets.keys().next().value)\n}"},98510:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const outputsArr = [\n { address: 'tsys1quas925cuqmlkc0082442uh68efv3hdazknmjpd', value: new sjs.utils.BN(10000000) }\n ]\n const psbt = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},75408:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSysMemo () {\n const feeRate = new sjs.utils.BN(10)\n const memo = Buffer.from('Gas station order id: 606c80d6cc793f13d2f0d424. Asset GUID 341906151')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader, assetWhiteList: new Map([['341906151', {}]]) }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p'\n const outputsArr = [\n { address: 'tsys1q0hxdj9r3tyxmr66tehdhhl35l5rk4ucanteuh6', value: new sjs.utils.BN(3158692) }\n ]\n const result = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate, 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n }\n const psbt = await syscoinjs.signAndSendWithWIF(result.psbt, 'cQh85hzaUMQDCneQvuwEvKFS418gzHfaQ9MmKj9pCd8aKgRNaEDr', result.assets)\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString())\n}"},81099:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sysBurnToAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '3372068234'\n // mint 10 COINS\n const amountToMint = new sjs.utils.BN(1000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.syscoinBurnToAssetAllocation(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},35964:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAsset () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: false }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(500), address: 'tsys1qgkyez6kz2l2qkr5zmjmwx0rwkrkylf2p09lyd4' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},40770:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByAddress () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '2201781193'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'tsys1qd2wejyl606fratchj0emvwcl78p67wq4x9cy4w')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSendWithWIF(result.res, 'cSRej8siHpwEKN9Mzh8s7WFwFenhb2my5dnyWK8pH1jUwonCvEdP', result.assets)\n}"},5235:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByMultiHDSigners () {\n const mnemonic1 = 'bicycle lucky earn primary wasp ranch dinner gravity property tenant gospel nephew soul cruise tool'\n const Signer1 = new sjs.utils.HDSigner(mnemonic1, null, true)\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qfqq6fg6jacruta85xysa4hzc00y9c0numedhh8' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const sysFromXpubOrAddress = [HDSigner.getAccountXpub(), Signer1.getAccountXpub()]\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n // this should sign one of the inputs with HDSigner\n let psbt = await syscoinjs.signAndSend(result.psbt, result.assets)\n // this should sign the other input with Signer1, and then notarize, signing one input with Signer1 again\n const psbt1 = await syscoinjs.signAndSend(psbt, result.assets, Signer1)\n // this should finalize the transaction from HDSigner signing (this time notarized) and send it to network\n psbt = await syscoinjs.signAndSend(psbt1, result.assets)\n}"},61127:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByXpub () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(100000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'vpub5ZnEznWQvUgz3caxxZVnfnxkHkDstTFrsdSi9zQAf48ozc4a1XdfaAY6eBgKigm4NxykfcFh7d3oBwMHqKzzGo2jKET8AbypuuffvbBwAwH')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSend(result.res, result.assets)\n}"},5852:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetWithMemo () {\n const feeRate = new sjs.utils.BN(10)\n // data carrying memo field added to opreturn commitment\n const memo = Buffer.from('a7bf215279d3f6568dcd17c429d41a35a466f803', 'hex')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(5), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString('hex'))\n}"},54545:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2125509931'\n // update capability flags, update description and update eth smart contract address\n const assetOpts = { updatecapabilityflags: '123', contract: Buffer.from('2b1e58b979e4b2d72d8bca5bb4646ccc032ddbfc', 'hex'), description: 'new publicvalue' }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},98741:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAssetAuxFees () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2229676993'\n const scalarPct = 1000\n // the aux fee keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n const auxFeeKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n // setup the auxfee table\n const auxFees = [\n {\n bound: new sjs.utils.BN(0),\n percent: 1 * scalarPct\n },\n {\n bound: new sjs.utils.BN(10 * syscointx.utils.COIN),\n percent: 0.4 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250 * syscointx.utils.COIN),\n percent: 0.2 * scalarPct\n },\n {\n bound: new sjs.utils.BN(2500 * syscointx.utils.COIN),\n percent: 0.07 * scalarPct\n },\n {\n bound: new sjs.utils.BN(25000 * syscointx.utils.COIN),\n percent: 0.007 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250000 * syscointx.utils.COIN),\n percent: 0\n }\n ]\n // update auxfee details\n const assetOpts = { auxfeedetails: { auxfeekeyid: auxFeeKeyID, auxfees: auxFees } }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},5160:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function updateAssetNotary () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2039276165'\n // the notary keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n // the notary key and the details can be updated independently but we will update both here\n const notaryKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n const notaryDetails =\n {\n // endpoint must be encoded in utf8 using Buffer.from (default) because it should encode as bytes represented by base64 string (encodeToBase64)\n endpoint: Buffer.from(syscointx.utils.encodeToBase64('https://test12.com')),\n instanttransfers: true,\n hdrequired: false\n }\n // update auxfee details\n const assetOpts = { notarykeyid: notaryKeyID, notarydetails: notaryDetails }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},99752:(e,t,s)=>{s.d(t,{Bt:()=>n,dV:()=>a,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>f,cf:()=>l,r_:()=>_,j5:()=>m,qp:()=>k,LV:()=>h,qO:()=>b,bG:()=>g,Fo:()=>v,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>A,h$:()=>O,f2:()=>T,tD:()=>B,x6:()=>I,ri:()=>U,pR:()=>q,kG:()=>P,MP:()=>D,OK:()=>R,IM:()=>H,WO:()=>X,II:()=>C,vu:()=>M,R5:()=>L,S7:()=>V,KF:()=>J,s9:()=>z,lX:()=>G,Gu:()=>E,lV:()=>F,Zm:()=>W,Kg:()=>K,WC:()=>Z,D_:()=>Y,X9:()=>Q,Jf:()=>$,_X:()=>ee,E2:()=>te,Pk:()=>se,z0:()=>ne,VB:()=>ae,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>fe,e6:()=>le,Be:()=>_e,e4:()=>me,MC:()=>ke,s:()=>he,DO:()=>be,vd:()=>ge,B9:()=>ve,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Ae,zT:()=>Oe,i8:()=>Te,y5:()=>Be,p1:()=>Ie,x2:()=>Ue,XN:()=>qe,Yl:()=>Pe,OR:()=>De,ge:()=>Re,i0:()=>He,x3:()=>Xe,vl:()=>Ce,M9:()=>Me,GN:()=>Le,Nv:()=>Ve,hY:()=>Je,iN:()=>ze,kf:()=>Ge,CH:()=>Ee,M2:()=>Fe,Nt:()=>We,tf:()=>Ke,M6:()=>Ze,K9:()=>Ye,TV:()=>Qe,ZN:()=>$e,Ue:()=>et,mD:()=>tt,XZ:()=>st,nu:()=>nt,W$:()=>at,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>ft,vZ:()=>lt,ig:()=>_t,PQ:()=>mt,BH:()=>kt,mT:()=>ht,eB:()=>bt,Rf:()=>gt,jK:()=>vt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),a=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),l=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),m=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),O=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),B=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),U=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),q=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),P=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),R=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),H=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),C=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),L=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),V=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),J=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),z=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),G=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),F=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),K=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),se=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),ne=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ae=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),le=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),ke=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ge=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ve=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Ae=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Oe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Be=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ie=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Ue=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),qe=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),Pe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Re=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),He=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ce=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Me=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),Le=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ve=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),ze=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Ee=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Fe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ke=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),Qe=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),$e=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),st=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),nt=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),at=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),ft=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),lt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),_t=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),gt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),vt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},50482:(e,t,s)=>{s.r(t),s.d(t,{default:()=>H,frontMatter:()=>U,metadata:()=>q,toc:()=>P});var n=s(87462),a=s(67294),i=s(3905),r=s(89262),o=s(99752),d=s(48551),c=s(10988),p=s(80585),u=s(96163),y=s(35964),f=s(40770),l=s(5235);const _="```js\nasync function transferAssetFundedByMultisig() {\n const mnemonic1 = 'bicycle lucky earn primary wasp ranch dinner gravity property tenant gospel nephew soul cruise tool'\n const HDSigner1 = new sjs.utils.HDSigner(mnemonic1, null, true)\n // create key pair of the current receiving index and get its path right after that to pass in to signing\n // you can also pass in an index into this function to create a specific receiving index key and then also pass it in to getHDPath to get its path as well\n hdSignerKP = await HDSigner.createKeypair()\n const hdSignerPath = HDSigner.getHDPath()\n hdSigner1KP = await HDSigner1.createKeypair()\n const hdSignerPath1 = HDSigner1.getHDPath()\n const p2ms = sjs.utils.bitcoinjs.payments.p2ms({\n m: 2, pubkeys: [\n hdSignerKP.publicKey,\n hdSigner1KP.publicKey,\n ], network: HDSigner.Signer.network})\n const addressMS = sjs.utils.bitcoinjs.payments.p2wsh({\n redeem: p2ms\n })\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // send some gas to the multisig\n const outputsArr = [\n { address: addressMS.address, value: new sjs.utils.BN(10000000) }\n ]\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n let psbt = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n\n // send some asset to the multisig\n let assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: addressMS.address }] }]\n ])\n let result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n console.log('Waiting for 10 seconds so we can spend the multisig(wait for 1 block)...')\n await sleep(10000);\n // now spend the asset from the multisig\n assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(5000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n const sysFromXpubOrAddress = [addressMS.address]\n result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress, null, p2ms.output)\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n // this should add signature with 0th index path in HDSigner\n psbt = await syscoinjs.signAndSend(result.psbt, result.assets, null, hdSignerPath)\n // this should add second signature with 0th index path in HDSigner1\n await syscoinjs.signAndSend(psbt, result.assets, HDSigner1, hdSignerPath1)\n}";var m,k,h=s(61127),b=s(5852),g=s(90449),v=s(39900),S=s(89872),j=s(61610),w=s(54545),x=s(98741),N=s(5160),A=s(98510),O=s(75408),T=s(81099);s(66367);function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.d(t,{Z:()=>y});var n=s(87462),a=s(67294),i=s(340),r=s(38456),o=s.n(r),d=s(45822),c=s(89739);const p={code(e){let{node:t,inline:s,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!s&&p?a.createElement(d.Z,(0,n.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):a.createElement("code",(0,n.Z)({className:i},o))}};class u extends a.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?a.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},a.createElement(i.td,null,this.state.examples.map(((e,t)=>a.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>a.createElement(i.x4,{key:t},a.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>a.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,s)=>{s.d(t,{Z:()=>p});var n=s(67294),a=(s(99403),s(65053),s(58650),s(38456)),i=s.n(a);s(66367);class r extends n.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,s="";return" yes"===e.data.required&&(s="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:n.createElement("li",{class:"li-param"},n.createElement("div",{class:"flex short"},n.createElement(i(),{class:"md-type",children:t}),n.createElement("p",{class:"required"},s)))}renderParam(e){let t=`${e.data.type}`;return e.children?n.createElement("div",{class:"md-type"},this.getParamElement(e),n.createElement("ul",{class:"ul-param"},n.createElement("li",{class:"li-param"},n.createElement("details",{class:"short-spacing"},n.createElement("summary",null,n.createElement("div",null,n.createElement(i(),{class:"md-type",children:t}),n.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):n.createElement("div",{class:"md-type"},this.getParamElement(e),n.createElement("ul",{class:"ul-param"},n.createElement("li",{class:"li-param"},n.createElement("div",{class:"short-spacing"},n.createElement(i(),{class:"md-type",children:t}),n.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return n.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?n.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=s(57463);class c extends n.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,s){return!1!==this.state.showTitles?n.createElement("div",null,n.createElement("h4",null,t),n.createElement(o,{root:s,type:e})):n.createElement(o,{root:s,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?n.createElement("div",null,n.createElement("h4",null,"Examples"),n.createElement(d.Z,{examples:this.state.examples})):n.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?n.createElement("div",null,n.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):n.createElement("div",null,n.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},48551:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToEth () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = { ethaddress: Buffer.from('07C72973d42D28de80D47Eb1F8Bc4a8ee0D5bBb1', 'hex') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '1965866356'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1quexf5zalfak2cvv9mujkh9pc3f3wrcgz7gzhh5' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1q7zewkwya3je369vyzq5l5e83mrvdqwzgvv9nzg'\n const sysFromXpubOrAddress = 'vpub5ZdpZuCU7ubDRZ5V7uryBDBEZxDNP67FLgPyHgPtiVgjwDk8rjxAFbg4cHNAyp9ZLXNgJRq6f9QjWCc4Ef7gUxFivP7GkSKo6ANNb2jrzhA'\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},10988:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetBurnToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // empty ethaddress means burning SYSX to SYS, otherwise its burning asset to goto Etheruem\n const assetOpts = { ethaddress: Buffer.from('') }\n // in reality this would be a known asset (SYSX)\n const assetGuid = '3372068234'\n // burn 1 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationBurn(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}\n"},80585:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetOpts = {\n bridgetransferid: 2,\n blocknumber: 6816449,\n txvalue: Buffer.from('f9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txroot: Buffer.from('a0842ab40a9c4770c8ec74158aadcf943e8158128fdd1ba8cef9c7cb8eda732692', 'hex'),\n txparentnodes: Buffer.from('f9039cf871a04442f3f69add48df0531fe3c0025103b53fcf3fe38060e5f29366caec8855e4fa0229f7b7e69c0b5793f8a61c06f5cc09b0f4938561856c632ee56c3b2c4d6d153808080808080a07720fff5e8eabef55fa129ee55b3b0d82875e2b25b8f26e22cf6b5c4f9cec7ab8080808080808080f901f180a03ee147749c5b769bc5d1a53e4f37567506d417de4ec4e67722130eda4638427da043caa62b40dad61bce4d50fb62ea485729a6687c3aa13895cf4ba234b92afe82a0b79958e4aa63104da4599ebb91e712375e6adfc89abc14b9533c5778f107e7d8a01bc7f80f81a8d281253ac882bb89aca6131e5794bfcbdccde990bb6d5be6cb2fa0aedad62f1426b68e395a59e06bf242fb28b882af67589bce3495a99650058ec4a0c21a7e0b9d0948bb6b65a5e73f5f01173064d20e4819ca4884d1eabc22bf737da090087708c533b10af8925eebf398c005fc16cb6a515111f2be4f328f762949d0a02827daacd6a52ae6c74a78791ff0c5e33a7a85f5ca0a47cdfbcd5219f75f705ca0af7ecf31d56575155d272cd813bf7d7ac435f62b0538c31771e407dafef6be53a09b74707c3abdbfa305cb61f23c940f063f553f17d0bd3013126aad357193353ea067a52ed59820bb48f8010d2b2bb0ee92803b1a00a8341fd4c3269b065ed070d9a0bf0e9b45955283e6e04b71eda63bfc7b55d9f54527943aa1c159b4161b1e1daea0ecabd4c00deacf9a7ff25be942c9f468628eb776fbec23a9ca0d8fc256f14a31a0df406c7ac7f38c2ea1d9bdb06c2e51db3de8cf0e655a8e0e683e19ca1ddf83d3a08360ec6c5e26614f144520ed9d0b577640381f0f38b5429b67422f75d603ad5a80f9013220b9012ef9012b82051f843b9aca008307a120940765efb302d504751c652c5b1d65e8e9edf2e70f80b8c454c988ff00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000009be8894b0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000002c62637274317130667265323430737939326d716b386b6b377073616561366b74366d3537323570377964636a00000000000000000000000000000000000000002ca0dccb6e077c3f6252d199202113893407119d4ba09667113f2d20c63a31487b87a01e0a059e50f08f2772781691f2c9e43a9503a167c98cf467b1afc177b74d84e6', 'hex'),\n txpath: Buffer.from('0b', 'hex'),\n receiptvalue: Buffer.from('f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex'),\n receiptroot: Buffer.from('a0a958499bf48fcce17672b58aa9037bd3dafeb6231880722d909c60bacfaaa8d4', 'hex'),\n receiptparentnodes: Buffer.from('f90551f871a0cab13def05783d763febde31920bd234d0486c26955c2937e0486db909a28eeea09cf564a668a29a5f1cc5d6ef8e19988dfd2b30d290672f0ffc4200e608cb65ac808080808080a029b8ed2258c53562954c87bcd7f60671029680d2a19ef8bcd3ad470ea48d57d18080808080808080f901f180a07c21ca39872e6b8f611bc6b1b295c24f988b5cf944625eabf5236b37ea3b9f01a0edb9e63fdc31ba41f11a8b2fb8000ad1357b3c0b27a8483968d75e93e7b488a1a02231847aa3c5dde2f2a1851a66aabec65e5eaae8c28110756f122c72be1fba05a08fa87809e5b7f989e78ccbe1a6bc4924115d5747529af879f2fe196f959b64fca091f1bf748061eba21a413b72d70afccb8daebb5906d5cd9dda06d5f877065d5ba0d7e6c82dd1c25eb2f90b02f038beaff98c260d46992d0b3c1eac7d51552c7417a01d5c43deb2e3794292cdffb04f82ab25bc4e75f5e0cab928b66582e08026f5b1a0d7323a87dc8fbc66c7b34810d2cad92fc0da168d962b4556e825a3266a148b74a0af31f0b7cdcd6a855ac7678ef2b8fcb1afeda918b0c8e4696a4013f2b75ca402a0f9d63f2db8ab6d3c3e12073ac2910ee575832bde3e4586f18e59dd26a16adb7ca0f0c91e059c43780617d304fe8992511f096ccc35232da1f25127db53ba4fb05aa052030932d0a9026efd2a3ada67f33d401cd9a97ddb24c606af3a0a0c24e432aba0142af9b4686c6ca30b0ac39133fa76d8682b7bbbec488e62e652d3f25419777da0940f31617e91cfbabaa9d0d1638949f8125f80a43027122778522675194a4e65a0edc4c7d2cf30150fdf7e502d0ef06c80c85fc37260134a112493c6183f62f4b580f902e720b902e3f902e00183192ee2b9010000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000000000200000000000000008000000000000000000000100200000000000000000010000000000000200000000000000000000000000000000000010000000000000000000000000000004000000000000000000000000400004001000000000020000000000000000000000000080000000000000408000000040000000000000000002000000000000000000000000000000000000000000000000000000000010000000000000000010000000000000000000000000000000000000000000f901d5f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa000000000000000000000000000000000000000000000000000000002540be400f89b94f2bb7bfa19e7c4b6bb333ee1afdf8e5e8f9b3561f863a08c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a0000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c144053a00000000000000000000000000765efb302d504751c652c5b1d65e8e9edf2e70fa00000000000000000000000000000000000000000000000000000000000000000f899940765efb302d504751c652c5b1d65e8e9edf2e70fe1a09c6dea23fe3b510bb5d170df49dc74e387692eaa3258c691918cd3aa94f5fb74b860000000000000000000000000b0ea8c9ee8aa87efd28a12de8c034f947c14405300000000000000000000000000000000000000000000000000000002540be4000000000000000000000000000000000000000000000000000000080800000002', 'hex')\n }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '2615707979'\n // mint 100 COINS\n const amountToMint = new sjs.utils.BN(10000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},96163:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\n// pass just Eth txid and let Syscoin get proof to create transaction\nasync function assetMintToSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // infura URL + ID and ethereum burn txid\n const assetOpts = {\n infuraurl: '',\n ethtxid: '0x3c3bfe141fcbe313f2afd31be1b63dd3a0147235161e637407fbb8605d3d294f'\n }\n // will be auto filled based on ethtxid eth-proof\n const assetMap = null\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationMint(assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},39900:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '3813460941'\n // mint 11000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qpay7ehn7epk5dmh8xv7dn5ksvyhr06323mtz0s' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},89872:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2264781424'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }],\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},61610:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function issueAssetNFT () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2441957158'\n const NFTID = sjs.utils.createAssetID('1', assetGuid)\n // mint 1000 satoshi (not COINS)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [NFTID, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1), address: 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},90449:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function newAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n const assetOpts = { precision: 8, symbol: 'JAG', maxsupply: new sjs.utils.BN(100000000000), description: 'publicvalue' }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n // let HDSigner find asset destination address\n const sysReceivingAddress = null\n const psbt = await syscoinjs.assetNew(assetOpts, txOpts, sysChangeAddress, sysReceivingAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n const assets = syscointx.getAssetsFromTx(psbt.extractTransaction())\n console.log('created asset ' + assets.keys().next().value)\n}"},98510:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSys () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: false }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const outputsArr = [\n { address: 'tsys1quas925cuqmlkc0082442uh68efv3hdazknmjpd', value: new sjs.utils.BN(10000000) }\n ]\n const psbt = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},75408:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sendSysMemo () {\n const feeRate = new sjs.utils.BN(10)\n const memo = Buffer.from('Gas station order id: 606c80d6cc793f13d2f0d424. Asset GUID 341906151')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader, assetWhiteList: new Map([['341906151', {}]]) }\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p'\n const outputsArr = [\n { address: 'tsys1q0hxdj9r3tyxmr66tehdhhl35l5rk4ucanteuh6', value: new sjs.utils.BN(3158692) }\n ]\n const result = await syscoinjs.createTransaction(txOpts, sysChangeAddress, outputsArr, feeRate, 'tsys1qnykk8e2e6wuufaz0lcdlry05fq5sj3uzczra3p')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n }\n const psbt = await syscoinjs.signAndSendWithWIF(result.psbt, 'cQh85hzaUMQDCneQvuwEvKFS418gzHfaQ9MmKj9pCd8aKgRNaEDr', result.assets)\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString())\n}"},81099:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function sysBurnToAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n // asset and address being minted to from Eth to Sys\n const mintAddress = 'tsys1qdflre2yd37qtpqe2ykuhwandlhq04r2td2t9ae'\n const assetGuid = '3372068234'\n // mint 10 COINS\n const amountToMint = new sjs.utils.BN(1000000000)\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: amountToMint, address: mintAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.syscoinBurnToAssetAllocation(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},35964:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAsset () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: false }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(500), address: 'tsys1qgkyez6kz2l2qkr5zmjmwx0rwkrkylf2p09lyd4' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},40770:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByAddress () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '2201781193'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(1000000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'tsys1qd2wejyl606fratchj0emvwcl78p67wq4x9cy4w')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSendWithWIF(result.res, 'cSRej8siHpwEKN9Mzh8s7WFwFenhb2my5dnyWK8pH1jUwonCvEdP', result.assets)\n}"},5235:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByMultiHDSigners () {\n const mnemonic1 = 'bicycle lucky earn primary wasp ranch dinner gravity property tenant gospel nephew soul cruise tool'\n const Signer1 = new sjs.utils.HDSigner(mnemonic1, null, true)\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '3813460941'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(6000), address: 'tsys1qfqq6fg6jacruta85xysa4hzc00y9c0numedhh8' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const sysFromXpubOrAddress = [HDSigner.getAccountXpub(), Signer1.getAccountXpub()]\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, sysFromXpubOrAddress)\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n // this should sign one of the inputs with HDSigner\n let psbt = await syscoinjs.signAndSend(result.psbt, result.assets)\n // this should sign the other input with Signer1, and then notarize, signing one input with Signer1 again\n const psbt1 = await syscoinjs.signAndSend(psbt, result.assets, Signer1)\n // this should finalize the transaction from HDSigner signing (this time notarized) and send it to network\n psbt = await syscoinjs.signAndSend(psbt1, result.assets)\n}"},61127:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetFundedByXpub () {\n const feeRate = new sjs.utils.BN(10)\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(100000), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const result = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate, 'vpub5ZnEznWQvUgz3caxxZVnfnxkHkDstTFrsdSi9zQAf48ozc4a1XdfaAY6eBgKigm4NxykfcFh7d3oBwMHqKzzGo2jKET8AbypuuffvbBwAwH')\n if (!result) {\n console.log('Could not create transaction, not enough funds?')\n return\n }\n await syscoinjs.signAndSend(result.res, result.assets)\n}"},5852:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function transferAssetWithMemo () {\n const feeRate = new sjs.utils.BN(10)\n // data carrying memo field added to opreturn commitment\n const memo = Buffer.from('a7bf215279d3f6568dcd17c429d41a35a466f803', 'hex')\n const memoHeader = Buffer.from([0xfe, 0xfe, 0xaf, 0xaf, 0xaf, 0xaf])\n // set to false for ZDAG, true disables it but it is replaceable by bumping the fee\n const txOpts = { rbf: true, memo: memo, memoHeader: memoHeader }\n const assetguid = '341906151'\n // if assets need change sent, set this address. null to let HDSigner find a new address for you\n const assetChangeAddress = null\n const assetMap = new Map([\n [assetguid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(5), address: 'tsys1qk0mrytgd06tc4rdtcs7h6nvx9ph67rjavv7qx6' }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetAllocationSend(txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n const memoExtracted = sjs.utils.getMemoFromOpReturn(psbt.txOutputs, memoHeader)\n console.log('memo extracted from transaction ' + memoExtracted.toString('hex'))\n}"},54545:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAsset () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2125509931'\n // update capability flags, update description and update eth smart contract address\n const assetOpts = { updatecapabilityflags: '123', contract: Buffer.from('2b1e58b979e4b2d72d8bca5bb4646ccc032ddbfc', 'hex'), description: 'new publicvalue' }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},98741:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\n\nasync function updateAssetAuxFees () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2229676993'\n const scalarPct = 1000\n // the aux fee keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n const auxFeeKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n // setup the auxfee table\n const auxFees = [\n {\n bound: new sjs.utils.BN(0),\n percent: 1 * scalarPct\n },\n {\n bound: new sjs.utils.BN(10 * syscointx.utils.COIN),\n percent: 0.4 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250 * syscointx.utils.COIN),\n percent: 0.2 * scalarPct\n },\n {\n bound: new sjs.utils.BN(2500 * syscointx.utils.COIN),\n percent: 0.07 * scalarPct\n },\n {\n bound: new sjs.utils.BN(25000 * syscointx.utils.COIN),\n percent: 0.007 * scalarPct\n },\n {\n bound: new sjs.utils.BN(250000 * syscointx.utils.COIN),\n percent: 0\n }\n ]\n // update auxfee details\n const assetOpts = { auxfeedetails: { auxfeekeyid: auxFeeKeyID, auxfees: auxFees } }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},5160:(e,t,s)=>{s.d(t,{Z:()=>n});const n="```js\nconst mnemonic = 'air leader stone antenna first shrug panic before nut sport bench keen'\n// blockbook URL\nconst backendURL = 'https://sys-explorer.tk/' // if using localhost you don't need SSL see use 'systemctl edit --full blockbook-syscoin.service' to remove SSL from blockbook\nconst sjs = require('syscoinjs-lib')\n// 'null' for no password encryption for local storage and 'true' for testnet\nconst HDSigner = new sjs.utils.HDSigner(mnemonic, null, true)\nconst syscoinjs = new sjs.Syscoin(HDSigner, backendURL)\nconst syscointx = require('syscointx-js')\n\nasync function updateAssetNotary () {\n const feeRate = new sjs.utils.BN(10)\n const txOpts = { rbf: true }\n const assetGuid = '2039276165'\n // the notary keyPair\n const keyPair = HDSigner.createKeypair(0)\n // get the p2wpkh payment so we can get the keyid (payment.hash)\n const payment = sjs.utils.bitcoinjs.payments.p2wpkh({\n pubkey: keyPair.publicKey,\n network: HDSigner.Signer.network\n })\n // the notary key and the details can be updated independently but we will update both here\n const notaryKeyID = Buffer.from(payment.hash.toString('hex'), 'hex')\n const notaryDetails =\n {\n // endpoint must be encoded in utf8 using Buffer.from (default) because it should encode as bytes represented by base64 string (encodeToBase64)\n endpoint: Buffer.from(syscointx.utils.encodeToBase64('https://test12.com')),\n instanttransfers: true,\n hdrequired: false\n }\n // update auxfee details\n const assetOpts = { notarykeyid: notaryKeyID, notarydetails: notaryDetails }\n // send asset back to ourselves as well as any change\n const assetChangeAddress = null\n // send change back to ourselves as well as recipient to ourselves\n const assetMap = new Map([\n [assetGuid, { changeAddress: assetChangeAddress, outputs: [{ value: new sjs.utils.BN(0), address: assetChangeAddress }] }]\n ])\n // if SYS need change sent, set this address. null to let HDSigner find a new address for you\n const sysChangeAddress = null\n const psbt = await syscoinjs.assetUpdate(assetGuid, assetOpts, txOpts, assetMap, sysChangeAddress, feeRate)\n if (!psbt) {\n console.log('Could not create transaction, not enough funds?')\n }\n}"},99752:(e,t,s)=>{s.d(t,{Bt:()=>n,dV:()=>a,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>f,cf:()=>l,r_:()=>_,j5:()=>m,qp:()=>k,LV:()=>h,qO:()=>b,bG:()=>g,Fo:()=>v,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>A,h$:()=>O,f2:()=>T,tD:()=>B,x6:()=>I,ri:()=>U,pR:()=>q,kG:()=>P,MP:()=>D,OK:()=>R,IM:()=>H,WO:()=>X,II:()=>C,vu:()=>M,R5:()=>L,S7:()=>V,KF:()=>J,s9:()=>z,lX:()=>G,Gu:()=>E,lV:()=>F,Zm:()=>W,Kg:()=>K,WC:()=>Z,D_:()=>Y,X9:()=>Q,Jf:()=>$,_X:()=>ee,E2:()=>te,Pk:()=>se,z0:()=>ne,VB:()=>ae,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>fe,e6:()=>le,Be:()=>_e,e4:()=>me,MC:()=>ke,s:()=>he,DO:()=>be,vd:()=>ge,B9:()=>ve,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Ae,zT:()=>Oe,i8:()=>Te,y5:()=>Be,p1:()=>Ie,x2:()=>Ue,XN:()=>qe,Yl:()=>Pe,OR:()=>De,ge:()=>Re,i0:()=>He,x3:()=>Xe,vl:()=>Ce,M9:()=>Me,GN:()=>Le,Nv:()=>Ve,hY:()=>Je,iN:()=>ze,kf:()=>Ge,CH:()=>Ee,M2:()=>Fe,Nt:()=>We,tf:()=>Ke,M6:()=>Ze,K9:()=>Ye,TV:()=>Qe,ZN:()=>$e,Ue:()=>et,mD:()=>tt,XZ:()=>st,nu:()=>nt,W$:()=>at,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>ft,vZ:()=>lt,ig:()=>_t,PQ:()=>mt,BH:()=>kt,mT:()=>ht,eB:()=>bt,Rf:()=>gt,jK:()=>vt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),a=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),l=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),m=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),O=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),B=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),U=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),q=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),P=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),R=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),H=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),C=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),M=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),L=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),V=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),J=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),z=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),G=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),E=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),F=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),W=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),K=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),se=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),ne=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ae=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),le=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),ke=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ge=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ve=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Ae=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Oe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Be=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ie=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Ue=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),qe=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),Pe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Re=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),He=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ce=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Me=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),Le=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),Ve=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),ze=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ge=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Ee=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),Fe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),We=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ke=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),Qe=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),$e=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),st=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),nt=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),at=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),ft=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),lt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),_t=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),gt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),vt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},50482:(e,t,s)=>{s.r(t),s.d(t,{default:()=>D,frontMatter:()=>I,metadata:()=>U,toc:()=>q});var n=s(87462),a=s(67294),i=s(3905),r=s(89262),o=s(99752),d=s(48551),c=s(10988),p=s(80585),u=s(96163),y=s(35964),f=s(40770),l=s(5235);var _,m,k=s(61127),h=s(5852),b=s(90449),g=s(39900),v=s(89872),S=s(61610),j=s(54545),w=s(98741),x=s(5160),N=s(98510),A=s(75408),O=s(81099);s(66367);function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.d(t,{Zo:()=>h,kt:()=>p});var a=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=a.createContext({}),l=function(e){var t=a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},h=function(e){var t=l(e.components);return a.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},m=a.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,h=s(e,["components","mdxType","originalType","parentName"]),u=l(n),m=i,p=u["".concat(c,".").concat(m)]||u[m]||d[m]||o;return n?a.createElement(p,r(r({ref:t},h),{},{components:n})):a.createElement(p,r({ref:t},h))}));function p(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,r=new Array(o);r[0]=m;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[u]="string"==typeof e?e:i,r[1]=s;for(var l=2;l{n.r(t),n.d(t,{default:()=>h,frontMatter:()=>o,metadata:()=>r,toc:()=>s});var a=n(87462),i=(n(67294),n(3905));const o={},r={unversionedId:"tech/nevm",id:"tech/nevm",isDocsHomePage:!1,title:"NEVM Chain (EVM)",description:"What are Virtual Machines?",source:"@site/docs/tech/nevm.mdx",sourceDirName:"tech",slug:"/tech/nevm",permalink:"/docs/tech/nevm",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Merged Mining",permalink:"/docs/tech/merged-mining"},next:{title:"Notary and Business Rulesets",permalink:"/docs/tech/notary"}},s=[{value:"What are Virtual Machines?",id:"what-are-virtual-machines",children:[]},{value:"Importance of Virtual Machines",id:"importance-of-virtual-machines",children:[]},{value:"What is Syscoin\u2019s Network-Enhanced Virtual Machine (NEVM)?",id:"what-is-syscoins-network-enhanced-virtual-machine-nevm",children:[]},{value:"Advantages of NEVM",id:"advantages-of-nevm",children:[]}],c={toc:s},l="wrapper";function h(e){let{components:t,...n}=e;return(0,i.kt)(l,(0,a.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"what-are-virtual-machines"},"What are Virtual Machines?"),(0,i.kt)("p",null,"Ethereum pioneered the virtual machine, which is essentially a processing machine for Ethereum-based smart contracts. A smart contract can range from a basic ERC20 token to a more sophisticated piece of code that underpins a decentralized application in this context."),(0,i.kt)("p",null,"The Ethereum Virtual Machine (EVM) offers a layer of abstraction between the smart contract code and the Ethereum network\u2019s machine that executes it. Most Ethereum smart contracts are written in Solidity, a programming language created by Dr. Gavin Wood, one of Ethereum\u2019s founders. EVM will also provide support for eWasm (Ethereum WebAssembly) which will enable smart contracts to be coded in various languages including C, C++, and more, which can be trans compiled and executed."),(0,i.kt)("p",null,"The EVM does not directly execute code. Instead, the code is compiled into opcodes when a smart contract developer is ready to deploy it. Opcodes are a collection of 141 unique instructions that the EVM employs to carry out activities depending on the coded instructions in the smart contract."),(0,i.kt)("p",null,"Each opcode has a fixed gas cost; however, some may also have a dynamic gas cost. The computational effort required to perform any given transaction on the Ethereum network is measured in gas, which in turn is used to calculate transaction fees in combination with the current demands, i.e. \u201ctraffic\u201d, on the Ethereum network."),(0,i.kt)("p",null,"Turing-completeness refers to a computer\u2019s capacity to tackle every solvable issue. The EVM\u2019s 141 opcodes, meant to calculate every situation, was meant to be Turing-complete in theory. On a practical level, however, the EVM isn\u2019t truly Turing-complete since the amount of gas available limits every computation."),(0,i.kt)("h2",{id:"importance-of-virtual-machines"},"Importance of Virtual Machines"),(0,i.kt)("p",null,"EVM introduced the world to the concept of decentralized smart contracts and conditional transactions which Bitcoin was unable to provide. The conditions for these transactions (the smart contracts), and execution of them by EVM, elevated blockchain tech beyond the very limited use of monetary transactionality, or simple value transfer, to serve as a decentralized computer."),(0,i.kt)("p",null,"The EVM is not without flaws. The most glaring example of this for the Ethereum network is that, due to design, it is not scalable. This means that as demand grows the network is unable to consistently provide reasonable transaction costs and fulfilment time. Ethereum is pursuing a proof-of-stake security system with the aim of addressing this, but it comes at a great cost; proof-of-stake is inherently less secure, and less proven (academically and in the real world) than proof-of-work."),(0,i.kt)("h2",{id:"what-is-syscoins-network-enhanced-virtual-machine-nevm"},"What is Syscoin\u2019s Network-Enhanced Virtual Machine (NEVM)?"),(0,i.kt)("p",null,"Syscoin NEVM is designed to provide smart contracts and interoperability that can scale to smart cities and beyond, while remaining low-cost and performant, and providing robust decentralized settlements that are secured by Bitcoin\u2019s own proof-of-work security model via merged-mining. Blockchain users and market participants will increasingly realize the importance of proven security, especially as the risks of sundry experimental security models \u201ccome home to roost\u201d. Furthermore, once Ethereum shifts to proof-of-stake, other proof-of-stake computation platforms will move closer to becoming superfluous, while Syscoin\u2019s security will continue to be relevant."),(0,i.kt)("p",null,"With NEVM, Syscoin will essentially combine the strongest elements of Bitcoin (security model, merge-mined hashrate potential, UTXO efficiency and compatibility with future UTXO advancements) with Ethereum (broad usefulness of generalized computation), into a single decentralized coordinated financial computation platform. Syscoin will also improve upon both aspects. For example, on the UTXO side, chainlocks will address Bitcoin\u2019s long-standing \u201cselfish mining\u201d vulnerability and harden the network against reorg impact after a chain lock is established which usually takes up to a minute after each block. On the NEVM side, we will implement zero-knowledge proofs to offer scalability and trustless interoperability for Turing-complete smart contracts. The chainlock\u2019s mechanism gives a finality guarantee which is the desired effect of sharding and proof-of-stake on Ethereum 2.0. With finality, we can achieve better constraints for usable roll-up designs such as optimistic roll-ups, which require a waiting period of two weeks on Ethereum mainnet and can be much less on Syscoin due to new finality guarantees that chainlocks provide. On Syscoin the contracts would only have to wait hours on such designs and with the use of zero-knowledge proofs in zkRollups these withdrawal delays can be eliminated entirely."),(0,i.kt)("h2",{id:"advantages-of-nevm"},"Advantages of NEVM"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Smart contracts can scale to an arbitrary number of transactions using a blockchain that provides concise proofs of one-time executions which can be validated in parallel, instead of re-executing them."),(0,i.kt)("li",{parentName:"ul"},"A decentralized cost model that leads to a significantly more efficient market for gas fees"),(0,i.kt)("li",{parentName:"ul"},"Sublinear, reliable, fault-tolerant blockchain with interactive data availability"),(0,i.kt)("li",{parentName:"ul"},"Trustless cross-chain interoperability is generalized for easy integration with various blockchains, in a way that provides far less cost and technical overhead compared to SysEthereum v1."),(0,i.kt)("li",{parentName:"ul"},"A coordinated platform with optimal features for easy value transfer, store-of-value, and generalized computing, while retaining concern separation and scalability"),(0,i.kt)("li",{parentName:"ul"},"The security of merged-mining the most reliable PoW network, tapping into most significant hashrate resource available: Bitcoin"),(0,i.kt)("li",{parentName:"ul"},"Finality guarantee through chainlocks, which is based on the security of validators holding some amount of coins mined via PoW and participating in a supermajority of consensus on the current chain tip. This is free from the shortcomings of Proof-Of-Stake and especially the \u201cnothing-at-stake\u201d, which involves validators that are providing consensus without the backing of real sunk costs (energy, infrastructure). In the event a supermajority is not established, the chainlock mechanism resolves back down to a regular bitcoin-type policy.")))}h.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/af623beb.8b913947.js b/assets/js/af623beb.8b913947.js new file mode 100644 index 00000000..7f863d11 --- /dev/null +++ b/assets/js/af623beb.8b913947.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3255],{3905:(e,t,n)=>{n.d(t,{Zo:()=>h,kt:()=>m});var a=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=a.createContext({}),l=function(e){var t=a.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},h=function(e){var t=l(e.components);return a.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},d=a.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,h=s(e,["components","mdxType","originalType","parentName"]),d=l(n),m=i,p=d["".concat(c,".").concat(m)]||d[m]||u[m]||o;return n?a.createElement(p,r(r({ref:t},h),{},{components:n})):a.createElement(p,r({ref:t},h))}));function m(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,r=new Array(o);r[0]=d;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:i,r[1]=s;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>o,metadata:()=>r,toc:()=>s});var a=n(87462),i=(n(67294),n(3905));const o={},r={unversionedId:"tech/nevm",id:"tech/nevm",isDocsHomePage:!1,title:"NEVM Chain (EVM)",description:"What are Virtual Machines?",source:"@site/docs/tech/nevm.mdx",sourceDirName:"tech",slug:"/tech/nevm",permalink:"/docs/tech/nevm",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Merged Mining",permalink:"/docs/tech/merged-mining"},next:{title:"Notary and Business Rulesets",permalink:"/docs/tech/notary"}},s=[{value:"What are Virtual Machines?",id:"what-are-virtual-machines",children:[]},{value:"Importance of Virtual Machines",id:"importance-of-virtual-machines",children:[]},{value:"What is Syscoin\u2019s Network-Enhanced Virtual Machine (NEVM)?",id:"what-is-syscoins-network-enhanced-virtual-machine-nevm",children:[]},{value:"Advantages of NEVM",id:"advantages-of-nevm",children:[]}],c={toc:s};function l(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,a.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h2",{id:"what-are-virtual-machines"},"What are Virtual Machines?"),(0,i.kt)("p",null,"Ethereum pioneered the virtual machine, which is essentially a processing machine for Ethereum-based smart contracts. A smart contract can range from a basic ERC20 token to a more sophisticated piece of code that underpins a decentralized application in this context."),(0,i.kt)("p",null,"The Ethereum Virtual Machine (EVM) offers a layer of abstraction between the smart contract code and the Ethereum network\u2019s machine that executes it. Most Ethereum smart contracts are written in Solidity, a programming language created by Dr. Gavin Wood, one of Ethereum\u2019s founders. EVM will also provide support for eWasm (Ethereum WebAssembly) which will enable smart contracts to be coded in various languages including C, C++, and more, which can be trans compiled and executed."),(0,i.kt)("p",null,"The EVM does not directly execute code. Instead, the code is compiled into opcodes when a smart contract developer is ready to deploy it. Opcodes are a collection of 141 unique instructions that the EVM employs to carry out activities depending on the coded instructions in the smart contract."),(0,i.kt)("p",null,"Each opcode has a fixed gas cost; however, some may also have a dynamic gas cost. The computational effort required to perform any given transaction on the Ethereum network is measured in gas, which in turn is used to calculate transaction fees in combination with the current demands, i.e. \u201ctraffic\u201d, on the Ethereum network."),(0,i.kt)("p",null,"Turing-completeness refers to a computer\u2019s capacity to tackle every solvable issue. The EVM\u2019s 141 opcodes, meant to calculate every situation, was meant to be Turing-complete in theory. On a practical level, however, the EVM isn\u2019t truly Turing-complete since the amount of gas available limits every computation."),(0,i.kt)("h2",{id:"importance-of-virtual-machines"},"Importance of Virtual Machines"),(0,i.kt)("p",null,"EVM introduced the world to the concept of decentralized smart contracts and conditional transactions which Bitcoin was unable to provide. The conditions for these transactions (the smart contracts), and execution of them by EVM, elevated blockchain tech beyond the very limited use of monetary transactionality, or simple value transfer, to serve as a decentralized computer."),(0,i.kt)("p",null,"The EVM is not without flaws. The most glaring example of this for the Ethereum network is that, due to design, it is not scalable. This means that as demand grows the network is unable to consistently provide reasonable transaction costs and fulfilment time. Ethereum is pursuing a proof-of-stake security system with the aim of addressing this, but it comes at a great cost; proof-of-stake is inherently less secure, and less proven (academically and in the real world) than proof-of-work."),(0,i.kt)("h2",{id:"what-is-syscoins-network-enhanced-virtual-machine-nevm"},"What is Syscoin\u2019s Network-Enhanced Virtual Machine (NEVM)?"),(0,i.kt)("p",null,"Syscoin NEVM is designed to provide smart contracts and interoperability that can scale to smart cities and beyond, while remaining low-cost and performant, and providing robust decentralized settlements that are secured by Bitcoin\u2019s own proof-of-work security model via merged-mining. Blockchain users and market participants will increasingly realize the importance of proven security, especially as the risks of sundry experimental security models \u201ccome home to roost\u201d. Furthermore, once Ethereum shifts to proof-of-stake, other proof-of-stake computation platforms will move closer to becoming superfluous, while Syscoin\u2019s security will continue to be relevant."),(0,i.kt)("p",null,"With NEVM, Syscoin will essentially combine the strongest elements of Bitcoin (security model, merge-mined hashrate potential, UTXO efficiency and compatibility with future UTXO advancements) with Ethereum (broad usefulness of generalized computation), into a single decentralized coordinated financial computation platform. Syscoin will also improve upon both aspects. For example, on the UTXO side, chainlocks will address Bitcoin\u2019s long-standing \u201cselfish mining\u201d vulnerability and harden the network against reorg impact after a chain lock is established which usually takes up to a minute after each block. On the NEVM side, we will implement zero-knowledge proofs to offer scalability and trustless interoperability for Turing-complete smart contracts. The chainlock\u2019s mechanism gives a finality guarantee which is the desired effect of sharding and proof-of-stake on Ethereum 2.0. With finality, we can achieve better constraints for usable roll-up designs such as optimistic roll-ups, which require a waiting period of two weeks on Ethereum mainnet and can be much less on Syscoin due to new finality guarantees that chainlocks provide. On Syscoin the contracts would only have to wait hours on such designs and with the use of zero-knowledge proofs in zkRollups these withdrawal delays can be eliminated entirely."),(0,i.kt)("h2",{id:"advantages-of-nevm"},"Advantages of NEVM"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},"Smart contracts can scale to an arbitrary number of transactions using a blockchain that provides concise proofs of one-time executions which can be validated in parallel, instead of re-executing them."),(0,i.kt)("li",{parentName:"ul"},"A decentralized cost model that leads to a significantly more efficient market for gas fees"),(0,i.kt)("li",{parentName:"ul"},"Sublinear, reliable, fault-tolerant blockchain with interactive data availability"),(0,i.kt)("li",{parentName:"ul"},"Trustless cross-chain interoperability is generalized for easy integration with various blockchains, in a way that provides far less cost and technical overhead compared to SysEthereum v1."),(0,i.kt)("li",{parentName:"ul"},"A coordinated platform with optimal features for easy value transfer, store-of-value, and generalized computing, while retaining concern separation and scalability"),(0,i.kt)("li",{parentName:"ul"},"The security of merged-mining the most reliable PoW network, tapping into most significant hashrate resource available: Bitcoin"),(0,i.kt)("li",{parentName:"ul"},"Finality guarantee through chainlocks, which is based on the security of validators holding some amount of coins mined via PoW and participating in a supermajority of consensus on the current chain tip. This is free from the shortcomings of Proof-Of-Stake and especially the \u201cnothing-at-stake\u201d, which involves validators that are providing consensus without the backing of real sunk costs (energy, infrastructure). In the event a supermajority is not established, the chainlock mechanism resolves back down to a regular bitcoin-type policy.")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b2de18a9.1f960aad.js b/assets/js/b2de18a9.1f960aad.js new file mode 100644 index 00000000..b7eaac54 --- /dev/null +++ b/assets/js/b2de18a9.1f960aad.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3856],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>u});var o=n(67294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=o.createContext({}),l=function(e){var t=o.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=l(e.components);return o.createElement(c.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},h=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),h=l(n),u=a,p=h["".concat(c,".").concat(u)]||h[u]||m[u]||r;return n?o.createElement(p,i(i({ref:t},d),{},{components:n})):o.createElement(p,i({ref:t},d))}));function u(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=h;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:a,i[1]=s;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>r,metadata:()=>i,toc:()=>s});var o=n(87462),a=(n(67294),n(3905));const r={},i={unversionedId:"guides/nevm/sysgeth",id:"guides/nevm/sysgeth",isDocsHomePage:!1,title:"Syscoin Geth (sysgeth)",description:"When running Syscoin Core (syscoind or syscoini-qt), a copy of sysgeth will first be downloaded to the Syscoin data directory and then ran as Syscoin Core starts up. Therefore, it is easy to launch a sysgeth in console mode to directly interact with NEVM. Sysgeth (github.com/syscoin/go-ethereum) is a custom version of geth (github.com/ethereum/go-ethereum) built to enable NEVM on Syscoin blockchain.",source:"@site/docs/guides/nevm/sysgeth.mdx",sourceDirName:"guides/nevm",slug:"/guides/nevm/sysgeth",permalink:"/docs/guides/nevm/sysgeth",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Add to MetaMask",permalink:"/docs/guides/nevm/metamask"},next:{title:"Add to MetaMask or install Pali Wallet",permalink:"/docs/guides/rollux/metamask"}},s=[{value:"Sysgeth Argument",id:"sysgeth-argument",children:[]},{value:"Connecting to Sysgeth",id:"connecting-to-sysgeth",children:[]}],c={toc:s};function l(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,o.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"When running Syscoin Core (syscoind or syscoini-qt), a copy of sysgeth will first be downloaded to the Syscoin data directory and then ran as Syscoin Core starts up. Therefore, it is easy to launch a sysgeth in console mode to directly interact with NEVM. Sysgeth (github.com/syscoin/go-ethereum) is a custom version of geth (github.com/ethereum/go-ethereum) built to enable NEVM on Syscoin blockchain."),(0,a.kt)("h2",{id:"sysgeth-argument"},"Sysgeth Argument"),(0,a.kt)("p",null,"Since sysgeth is launched on startup, for all argument supported by geth, we can pass them through syscoin's argument. This can be done by appending ",(0,a.kt)("inlineCode",{parentName:"p"},"--gethcommandline=")," in the syscoind command line directly or prefix them with ",(0,a.kt)("inlineCode",{parentName:"p"},"gethcommandline=")," in syscoin.conf."),(0,a.kt)("p",null,"Example of command line call for syscoind"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},"syscoind --testnet=1 --zmqpubnevm=tcp://127.0.0.1:1111 --gethcommandline=--http --gethcommandline=--http.addr=localhost --gethcommandline=--http.port=8101 --gethcommandline=--http.api=admin,debug,eth,miner,net,personal,txpool,web3\n")),(0,a.kt)("p",null,"Example of a syscoin.conf is as below"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},'testnet=1\ndaemon=1\nzmqpubnevm=tcp://127.0.0.1:1111\n[test]\ngethcommandline=--http\ngethcommandline=--http.addr=localhost\ngethcommandline=--http.port=8101\ngethcommandline=--http.api=admin,debug,eth,miner,net,personal,txpool,web3\ngethcommandline=--http.corsdomain="chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn"\ngethcommandline=--allow-insecure-unlock\n#gethcommandline=--mine\n#gethcommandline=--miner.etherbase=0xe600696eb0555c93f2c391a1406726cee239091d\n#gethcommandline=--light.serve=25\ngethcommandline=--bootnodes=enode://828d6a26e0ea4c51ad7bc2bd8d4a4b6ec719a0ac14a086f62017941fa26359832b287d2039e57e50f66909d7d1b3cd27073f057ac552c5cdd7a584d4b04f5c4a@18.118.194.233:30303\n')),(0,a.kt)("p",null,"If all the argument are in the ",(0,a.kt)("inlineCode",{parentName:"p"},"syscoin.conf")," file then syscoind can be ran directly without any argument, eg. ",(0,a.kt)("inlineCode",{parentName:"p"},"syscoind")),(0,a.kt)("blockquote",null,(0,a.kt)("h3",{parentName:"blockquote",id:"zmqpubnevm"},"\ud83d\udcd8zmqpubnevm"),(0,a.kt)("p",{parentName:"blockquote"},"zmqpubnevm is not required as it is enabled by default\nIf you don't want to run sysgeth nevm, you can disable it by setting zmqpubnevm to empty.\n",(0,a.kt)("inlineCode",{parentName:"p"},'zmqpubnevm=""'))),(0,a.kt)("h2",{id:"connecting-to-sysgeth"},"Connecting to Sysgeth"),(0,a.kt)("p",null,"With the above configuration, we can then connect using sysgeth to start up the javascript console.\nFirst, we need to locate the sysgeth binary, which is located in the Syscoin data directory by default.\nOn Linux box, that would be under ",(0,a.kt)("inlineCode",{parentName:"p"},"~/.syscoin/")),(0,a.kt)("p",null,"Then, we can simply run the binary and attach it to the running sysgeth using ",(0,a.kt)("inlineCode",{parentName:"p"},"attach")," on the .ipc"),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre",className:"language-text"},"cd ~/.syscoin\n./sysgeth attach ~/.syscoin/testnet3/geth/geth.ipc\n")),(0,a.kt)("blockquote",null,(0,a.kt)("h3",{parentName:"blockquote",id:"note"},"\ud83d\udcd8Note"),(0,a.kt)("p",{parentName:"blockquote"},"The location of sysgeth is by default in the base directory of the syscoin datadir, where as the geth.ipc file will be in either ","[syscoin datadir]","/geth/geth.ipc or ","[syscoin datadir]","/testnet3/geth/geth.ipc depending on whether you're running mainnet or testnet")))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b2de18a9.d35433f2.js b/assets/js/b2de18a9.d35433f2.js deleted file mode 100644 index 5496e5ec..00000000 --- a/assets/js/b2de18a9.d35433f2.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[3856],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>p});var o=n(67294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var c=o.createContext({}),l=function(e){var t=o.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=l(e.components);return o.createElement(c.Provider,{value:t},e.children)},m="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},u=o.forwardRef((function(e,t){var n=e.components,r=e.mdxType,a=e.originalType,c=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),m=l(n),u=r,p=m["".concat(c,".").concat(u)]||m[u]||h[u]||a;return n?o.createElement(p,i(i({ref:t},d),{},{components:n})):o.createElement(p,i({ref:t},d))}));function p(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=n.length,i=new Array(a);i[0]=u;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[m]="string"==typeof e?e:r,i[1]=s;for(var l=2;l{n.r(t),n.d(t,{default:()=>d,frontMatter:()=>a,metadata:()=>i,toc:()=>s});var o=n(87462),r=(n(67294),n(3905));const a={},i={unversionedId:"guides/nevm/sysgeth",id:"guides/nevm/sysgeth",isDocsHomePage:!1,title:"Syscoin Geth (sysgeth)",description:"When running Syscoin Core (syscoind or syscoini-qt), a copy of sysgeth will first be downloaded to the Syscoin data directory and then ran as Syscoin Core starts up. Therefore, it is easy to launch a sysgeth in console mode to directly interact with NEVM. Sysgeth (github.com/syscoin/go-ethereum) is a custom version of geth (github.com/ethereum/go-ethereum) built to enable NEVM on Syscoin blockchain.",source:"@site/docs/guides/nevm/sysgeth.mdx",sourceDirName:"guides/nevm",slug:"/guides/nevm/sysgeth",permalink:"/docs/guides/nevm/sysgeth",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Add to MetaMask",permalink:"/docs/guides/nevm/metamask"},next:{title:"Add to MetaMask",permalink:"/docs/guides/rollux/metamask"}},s=[{value:"Sysgeth Argument",id:"sysgeth-argument",children:[]},{value:"Connecting to Sysgeth",id:"connecting-to-sysgeth",children:[]}],c={toc:s},l="wrapper";function d(e){let{components:t,...n}=e;return(0,r.kt)(l,(0,o.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"When running Syscoin Core (syscoind or syscoini-qt), a copy of sysgeth will first be downloaded to the Syscoin data directory and then ran as Syscoin Core starts up. Therefore, it is easy to launch a sysgeth in console mode to directly interact with NEVM. Sysgeth (github.com/syscoin/go-ethereum) is a custom version of geth (github.com/ethereum/go-ethereum) built to enable NEVM on Syscoin blockchain."),(0,r.kt)("h2",{id:"sysgeth-argument"},"Sysgeth Argument"),(0,r.kt)("p",null,"Since sysgeth is launched on startup, for all argument supported by geth, we can pass them through syscoin's argument. This can be done by appending ",(0,r.kt)("inlineCode",{parentName:"p"},"--gethcommandline=")," in the syscoind command line directly or prefix them with ",(0,r.kt)("inlineCode",{parentName:"p"},"gethcommandline=")," in syscoin.conf."),(0,r.kt)("p",null,"Example of command line call for syscoind"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-text"},"syscoind --testnet=1 --zmqpubnevm=tcp://127.0.0.1:1111 --gethcommandline=--http --gethcommandline=--http.addr=localhost --gethcommandline=--http.port=8101 --gethcommandline=--http.api=admin,debug,eth,miner,net,personal,txpool,web3\n")),(0,r.kt)("p",null,"Example of a syscoin.conf is as below"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-text"},'testnet=1\ndaemon=1\nzmqpubnevm=tcp://127.0.0.1:1111\n[test]\ngethcommandline=--http\ngethcommandline=--http.addr=localhost\ngethcommandline=--http.port=8101\ngethcommandline=--http.api=admin,debug,eth,miner,net,personal,txpool,web3\ngethcommandline=--http.corsdomain="chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn"\ngethcommandline=--allow-insecure-unlock\n#gethcommandline=--mine\n#gethcommandline=--miner.etherbase=0xe600696eb0555c93f2c391a1406726cee239091d\n#gethcommandline=--light.serve=25\ngethcommandline=--bootnodes=enode://828d6a26e0ea4c51ad7bc2bd8d4a4b6ec719a0ac14a086f62017941fa26359832b287d2039e57e50f66909d7d1b3cd27073f057ac552c5cdd7a584d4b04f5c4a@18.118.194.233:30303\n')),(0,r.kt)("p",null,"If all the argument are in the ",(0,r.kt)("inlineCode",{parentName:"p"},"syscoin.conf")," file then syscoind can be ran directly without any argument, eg. ",(0,r.kt)("inlineCode",{parentName:"p"},"syscoind")),(0,r.kt)("blockquote",null,(0,r.kt)("h3",{parentName:"blockquote",id:"zmqpubnevm"},"\ud83d\udcd8zmqpubnevm"),(0,r.kt)("p",{parentName:"blockquote"},"zmqpubnevm is not required as it is enabled by default\nIf you don't want to run sysgeth nevm, you can disable it by setting zmqpubnevm to empty.\n",(0,r.kt)("inlineCode",{parentName:"p"},'zmqpubnevm=""'))),(0,r.kt)("h2",{id:"connecting-to-sysgeth"},"Connecting to Sysgeth"),(0,r.kt)("p",null,"With the above configuration, we can then connect using sysgeth to start up the javascript console.\nFirst, we need to locate the sysgeth binary, which is located in the Syscoin data directory by default.\nOn Linux box, that would be under ",(0,r.kt)("inlineCode",{parentName:"p"},"~/.syscoin/")),(0,r.kt)("p",null,"Then, we can simply run the binary and attach it to the running sysgeth using ",(0,r.kt)("inlineCode",{parentName:"p"},"attach")," on the .ipc"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-text"},"cd ~/.syscoin\n./sysgeth attach ~/.syscoin/testnet3/geth/geth.ipc\n")),(0,r.kt)("blockquote",null,(0,r.kt)("h3",{parentName:"blockquote",id:"note"},"\ud83d\udcd8Note"),(0,r.kt)("p",{parentName:"blockquote"},"The location of sysgeth is by default in the base directory of the syscoin datadir, where as the geth.ipc file will be in either ","[syscoin datadir]","/geth/geth.ipc or ","[syscoin datadir]","/testnet3/geth/geth.ipc depending on whether you're running mainnet or testnet")))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b3cf3865.a0fb9b29.js b/assets/js/b3cf3865.a0fb9b29.js deleted file mode 100644 index baa81122..00000000 --- a/assets/js/b3cf3865.a0fb9b29.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7850],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>g});var n=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},c="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,s=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),c=l(r),m=i,g=c["".concat(u,".").concat(m)]||c[m]||p[m]||s;return r?n.createElement(g,a(a({ref:t},d),{},{components:r})):n.createElement(g,a({ref:t},d))}));function g(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var s=r.length,a=new Array(s);a[0]=m;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o[c]="string"==typeof e?e:i,a[1]=o;for(var l=2;l{r.r(t),r.d(t,{default:()=>d,frontMatter:()=>s,metadata:()=>a,toc:()=>o});var n=r(87462),i=(r(67294),r(3905));const s={sidebar_position:1},a={unversionedId:"guides/overview",id:"guides/overview",isDocsHomePage:!1,title:"Overview",description:"There are a number of guides available for users of Syscoin. Check the list below to find what you need. If there is something missing that you would like added please let us know in the Syscoin Discord!",source:"@site/docs/guides/overview.mdx",sourceDirName:"guides",slug:"/guides/overview",permalink:"/docs/guides/overview",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"SYS/TSYS Faucets",permalink:"/docs/dev-resources/tsys"},next:{title:"Add to MetaMask",permalink:"/docs/guides/nevm/metamask"}},o=[{value:"NEVM Guides",id:"nevm-guides",children:[]},{value:"Rollux Guides",id:"rollux-guides",children:[]},{value:"Syscoin Platform Token (SPT) Guides",id:"syscoin-platform-token-spt-guides",children:[]},{value:"Masternode Guides",id:"masternode-guides",children:[]},{value:"Merged-mining Guides",id:"merged-mining-guides",children:[]}],u={toc:o},l="wrapper";function d(e){let{components:t,...r}=e;return(0,i.kt)(l,(0,n.Z)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"There are a number of guides available for users of Syscoin. Check the list below to find what you need. If there is something missing that you would like added please let us know in the ",(0,i.kt)("a",{parentName:"p",href:"https://discord.gg/syscoin"},"Syscoin Discord"),"!"),(0,i.kt)("h2",{id:"nevm-guides"},"NEVM Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/nevm/metamask"},"Setting up MetaMask to use the NEVM blockchain")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/dev-resources/tsys"},"Requesting funds from the Mainnet/Testnet faucets")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/nevm/sysgeth"},"Setting up and interacting with sysgeth"))),(0,i.kt)("h2",{id:"rollux-guides"},"Rollux Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/rollux/metamask"},"Setting up MetaMask to use Rollux")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/rollux"},"About Rollux"))),(0,i.kt)("h2",{id:"syscoin-platform-token-spt-guides"},"Syscoin Platform Token (SPT) Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/spts/create-issue-tokens"},"Creating and issuing SPTs")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/spts/notary-business-rulesets"},"Utilizing notary and business rulesets for SPTs")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/spts/use-tokens"},"Using SPTs with the QT wallet"))),(0,i.kt)("h2",{id:"masternode-guides"},"Masternode Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/mn_setup"},"Setting up a masternode"))),(0,i.kt)("h2",{id:"merged-mining-guides"},"Merged-mining Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/mining_setup"},"Getting started with merged-mining Syscoin"))))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/b3cf3865.d7f92eaa.js b/assets/js/b3cf3865.d7f92eaa.js new file mode 100644 index 00000000..2b374001 --- /dev/null +++ b/assets/js/b3cf3865.d7f92eaa.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7850],{3905:(e,t,r)=>{r.d(t,{Zo:()=>d,kt:()=>m});var n=r(67294);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var u=n.createContext({}),l=function(e){var t=n.useContext(u),r=t;return e&&(r="function"==typeof e?e(t):a(a({},t),e)),r},d=function(e){var t=l(e.components);return n.createElement(u.Provider,{value:t},e.children)},c={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},p=n.forwardRef((function(e,t){var r=e.components,i=e.mdxType,s=e.originalType,u=e.parentName,d=o(e,["components","mdxType","originalType","parentName"]),p=l(r),m=i,g=p["".concat(u,".").concat(m)]||p[m]||c[m]||s;return r?n.createElement(g,a(a({ref:t},d),{},{components:r})):n.createElement(g,a({ref:t},d))}));function m(e,t){var r=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var s=r.length,a=new Array(s);a[0]=p;var o={};for(var u in t)hasOwnProperty.call(t,u)&&(o[u]=t[u]);o.originalType=e,o.mdxType="string"==typeof e?e:i,a[1]=o;for(var l=2;l{r.r(t),r.d(t,{default:()=>l,frontMatter:()=>s,metadata:()=>a,toc:()=>o});var n=r(87462),i=(r(67294),r(3905));const s={sidebar_position:1},a={unversionedId:"guides/overview",id:"guides/overview",isDocsHomePage:!1,title:"Overview",description:"There are a number of guides available for users of Syscoin. Check the list below to find what you need. If there is something missing that you would like added please let us know in the Syscoin Discord!",source:"@site/docs/guides/overview.mdx",sourceDirName:"guides",slug:"/guides/overview",permalink:"/docs/guides/overview",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"SYS/TSYS Faucets",permalink:"/docs/dev-resources/tsys"},next:{title:"Add to MetaMask",permalink:"/docs/guides/nevm/metamask"}},o=[{value:"NEVM Guides",id:"nevm-guides",children:[]},{value:"Rollux Guides",id:"rollux-guides",children:[]},{value:"Syscoin Platform Token (SPT) Guides",id:"syscoin-platform-token-spt-guides",children:[]},{value:"Masternode Guides",id:"masternode-guides",children:[]},{value:"Merged-mining Guides",id:"merged-mining-guides",children:[]}],u={toc:o};function l(e){let{components:t,...r}=e;return(0,i.kt)("wrapper",(0,n.Z)({},u,r,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"There are a number of guides available for users of Syscoin. Check the list below to find what you need. If there is something missing that you would like added please let us know in the ",(0,i.kt)("a",{parentName:"p",href:"https://discord.gg/syscoin"},"Syscoin Discord"),"!"),(0,i.kt)("h2",{id:"nevm-guides"},"NEVM Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/nevm/metamask"},"Setting up MetaMask to use the NEVM blockchain")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/dev-resources/tsys"},"Requesting funds from the Mainnet/Testnet faucets")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/nevm/sysgeth"},"Setting up and interacting with sysgeth"))),(0,i.kt)("h2",{id:"rollux-guides"},"Rollux Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/rollux/metamask"},"Setting up MetaMask to use Rollux")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/tech/rollux"},"About Rollux"))),(0,i.kt)("h2",{id:"syscoin-platform-token-spt-guides"},"Syscoin Platform Token (SPT) Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/spts/create-issue-tokens"},"Creating and issuing SPTs")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/spts/notary-business-rulesets"},"Utilizing notary and business rulesets for SPTs")),(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/spts/use-tokens"},"Using SPTs with the QT wallet"))),(0,i.kt)("h2",{id:"masternode-guides"},"Masternode Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/mn_setup"},"Setting up a masternode"))),(0,i.kt)("h2",{id:"merged-mining-guides"},"Merged-mining Guides"),(0,i.kt)("ul",null,(0,i.kt)("li",{parentName:"ul"},(0,i.kt)("a",{parentName:"li",href:"/docs/guides/mining_setup"},"Getting started with merged-mining Syscoin"))))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/cd4e8672.5a684b3e.js b/assets/js/cd4e8672.5a684b3e.js new file mode 100644 index 00000000..f11d70da --- /dev/null +++ b/assets/js/cd4e8672.5a684b3e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9526],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>u});var i=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=i.createContext({}),c=function(e){var t=i.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=c(e.components);return i.createElement(l.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},h=i.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),h=c(n),u=o,m=h["".concat(l,".").concat(u)]||h[u]||d[u]||r;return n?i.createElement(m,a(a({ref:t},p),{},{components:n})):i.createElement(m,a({ref:t},p))}));function u(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,a=new Array(r);a[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:o,a[1]=s;for(var c=2;c{n.r(t),n.d(t,{default:()=>c,frontMatter:()=>r,metadata:()=>a,toc:()=>s});var i=n(87462),o=(n(67294),n(3905));const r={sidebar_position:6},a={unversionedId:"guides/mining_setup",id:"guides/mining_setup",isDocsHomePage:!1,title:"Merged Mining Setup Guide",description:"Authors: Fernando Paredes aka @DevelCuy (Devcoin Core Developer, Syscoin contributor) and Bradley Stephenson of Syscoin Foundation",source:"@site/docs/guides/mining_setup.mdx",sourceDirName:"guides",slug:"/guides/mining_setup",permalink:"/docs/guides/mining_setup",version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Masternode Setup Guide",permalink:"/docs/guides/mn_setup"},next:{title:"FAQ",permalink:"/docs/faq"}},s=[{value:"What is Merged Mining",id:"what-is-merged-mining",children:[]},{value:"Why it\u2019s Important",id:"why-its-important",children:[]},{value:"Opportunity",id:"opportunity",children:[]},{value:"Mining Solo vs. Pool",id:"mining-solo-vs-pool",children:[]},{value:"AuxPoW by Example",id:"auxpow-by-example",children:[{value:"Recommended Parameters for syscoin.conf",id:"recommended-parameters-for-syscoinconf",children:[]}]},{value:"Cloud Mining",id:"cloud-mining",children:[{value:"Getting Started with Mining-Dutch",id:"getting-started-with-mining-dutch",children:[]},{value:"Cloud Merged Mining with Mining Rig Rentals (MRR)",id:"cloud-merged-mining-with-mining-rig-rentals-mrr",children:[]},{value:"Earnings",id:"earnings",children:[]},{value:"Other Cloud mining providers",id:"other-cloud-mining-providers",children:[]}]}],l={toc:s};function c(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,i.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Authors: Fernando Paredes aka @DevelCuy (Devcoin Core Developer, Syscoin contributor) and Bradley Stephenson of Syscoin Foundation")),(0,o.kt)("h2",{id:"what-is-merged-mining"},"What is ",(0,o.kt)("a",{parentName:"h2",href:"/docs/tech/merged-mining"},"Merged Mining")),(0,o.kt)("p",null,"Also known as Auxiliary Proof-of-Work or simply AuxPoW, merged mining enables you to mine multiple blockchains at the same time without spending additional energy on mining. It is carbon-neutral as it re-uses the proof from work already performed. It could be seen as someone (the miner) entering a lottery of sorts. With merged-mining the miner can submit the same lottery ticket and numbers to different lotteries (merge-mined blockchains), increasing their rewards."),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://en.bitcoin.it/wiki/Merged_mining_specification"},"Merged Mining Specification")),(0,o.kt)("h2",{id:"why-its-important"},"Why it\u2019s Important"),(0,o.kt)("p",null,"Merged mining was first presented by Satoshi Nakamoto in 2010. It can be considered a Bitcoin primitive. From our perspective, it will be proven over time to be a critical component for incentivizing a robust Bitcoin network as BTC block rewards continue to diminish. Without merged-mining, revenue from mining Bitcoin would eventually be limited to Bitcoin\u2019s flat network fees."),(0,o.kt)("p",null,"Furthermore, merged mining enables Bitcoin\u2019s miners to support blockchains that offer important utility beyond the scope and best-purpose of the Bitcoin protocol itself."),(0,o.kt)("p",null,(0,o.kt)("em",{parentName:"p"},"Note: Blockchains that naively use merge-mined settlement are subject to the same vectors of PoW in general. A solution now exists to solve those challenges, and it comes in the form of a hybrid consensus system that provides decentralized Finality on top of merged-mining. Such a solution is present in Syscoin. Read up on Syscoin's ",(0,o.kt)("a",{parentName:"em",href:"/docs/tech/finality"},"finality")," via chainlocks for more information.")),(0,o.kt)("h2",{id:"opportunity"},"Opportunity"),(0,o.kt)("p",null,"At the time of writing, between 20 to 30 percent of Bitcoin\u2019s hashpower is also being applied to Syscoin. This means there is ample opportunity for more miners and pools to participate in merged-mining Syscoin to get their piece of the pie. This opportunity is not exclusive to Bitcoin miners - it is also available to any miners working any chain that uses the SHA-256 algorithm, such as Bitcoin Cash."),(0,o.kt)("p",null,"You can compare the Bitcoin and Syscoin hashrates to calculate the live percentage of hashrate shared with Syscoin:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://minerstat.com/coin/SYS/network-hashrate"},"Syscoin Hashrate")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://minerstat.com/coin/BTC/network-hashrate"},"Bitcoin Hashrate"))),(0,o.kt)("p",null,"There is generally very little overhead involved in merge-mining Syscoin. With no additional energy spent on mining, the only costs are to setup, run and maintain a properly configured Syscoin Core node."),(0,o.kt)("p",null,"Below is a calculation you can use to find the sum total revenue Syscoin provides to merge-miners collectively."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"18.56 SYS")," (UTXO block reward) + ",(0,o.kt)("strong",{parentName:"p"},"10.55 SYS")," (NEVM block reward) = ",(0,o.kt)("strong",{parentName:"p"},"29.11 SYS")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"29.11 SYS")," ","*"," 576 avg blocks daily (2.5 minute block target) = ",(0,o.kt)("strong",{parentName:"p"},"16,767.36 SYS")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"16,767.36 SYS")," ","*"," 365 days = ",(0,o.kt)("strong",{parentName:"p"},"6,120,086 SYS")," annual value"),(0,o.kt)("h4",{id:"two-blocks-for-the-price-of-one"},"Two Blocks for the Price of One"),(0,o.kt)("p",null,"The Syscoin network operates with a dual-chain architecture, two blockchains running in parallel that are merge-mined simultaneously in Syscoin Core:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"\u200b\t",(0,o.kt)("a",{parentName:"li",href:"/docs/tech/bitcoin-tech"},"Syscoin UTXO (Bitcoin standard)")),(0,o.kt)("li",{parentName:"ol"},"\u200b\t",(0,o.kt)("a",{parentName:"li",href:"/docs/tech/nevm"},"Syscoin NEVM (Ethereum standard)"))),(0,o.kt)("p",null,"When finding a valid AuxPoW, the generated NEVM block produces a static reward of 10.55 SYS, and the rest comes from the UTXO block (18.56 SYS at present). Make sure your syscoin.conf is configured appropriately to also mine NEVM and receive that reward! Simple instructions are in section ",(0,o.kt)("a",{parentName:"p",href:"#recommended-parameters-for-syscoinconf"},"[Recommended Parameters for syscoin.conf]"),"."),(0,o.kt)("h2",{id:"mining-solo-vs-pool"},"Mining Solo vs. Pool"),(0,o.kt)("p",null,"Finding a Bitcoin or Syscoin block is harder when mining solo (on your own). Using a mining pool is the best option for receiving partial rewards but with more consistency/predictability. The following mining pools support Syscoin. They are managed independently (not controlled by Syscoin Foundation):"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.mining-dutch.nl/pools/syscoin.php?page=dashboard"},"Mining-Dutch"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://support.viabtc.com/hc/en-us/articles/900001530543"},"ViaBTC"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.f2pool.com/"},"F2Pool"))," (merged mining internally, they keep the altcoins)")),(0,o.kt)("h2",{id:"auxpow-by-example"},"AuxPoW by Example"),(0,o.kt)("p",null,"This is useful for pools or solo miners that wish to setup merge-mining Syscoin for the first time, or simply to help you understand the raw process. If you are a miner that wishes to participate in a pool that already mines Syscoin, go to section ","[Cloud Mining]","."),(0,o.kt)("p",null,"Here is a step-by-step example of the low-level merged mining process. We recommend that you create a script or use an application that automates this."),(0,o.kt)("p",null,"(1) ",(0,o.kt)("strong",{parentName:"p"},"Get new block parameters")),(0,o.kt)("p",null,"By calling syscoin-cli createauxblock ADDRESS or syscoin-cli getauxblock (legacy), it should return a JSON object:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-json"},'{\n\n "hash": "3cdf4a939e94e38d479118c754e1885c511d8582254830a288b2ebdb96606da9",\n\n "chainid": 16,\n\n ...\n\n "bits": "207fffff",\n\n "_target": "0000000000000000000000000000000000000000000000000000000000ffff7f"\n\n}\n')),(0,o.kt)("p",null,"Relevant here are the block hash, the chainid (16 for Syscoin) and the _target (difficulty bits, in reverse byte order due to legacy usage)"),(0,o.kt)("p",null,"(2) ",(0,o.kt)("strong",{parentName:"p"},"Mine the Bitcoin block with a special data string")),(0,o.kt)("p",null,"Since the coinbase input should include a special data string, every now and then (especially if a new Syscoin block arrives!) the AuxPoW miner should repeat step 1, in order to update the Syscoin block being mined, which implies updating the corresponding coinbase input of the Bitcoin block as well."),(0,o.kt)("p",null,"Eventually, a Bitcoin block header that matches Syscoin difficulty is found (regardless of matching Bitcoin's difficulty) so it is an AuxPoW!"),(0,o.kt)("p",null,"(3) ",(0,o.kt)("strong",{parentName:"p"},"Call ",(0,o.kt)("inlineCode",{parentName:"strong"},"syscoind submitauxblock HASH AUXPOW")," or ",(0,o.kt)("inlineCode",{parentName:"strong"},"syscoind getauxblock HASH AUXPOW")," (legacy)")),(0,o.kt)("p",null,"It will submit new block data to the Syscoin network. HASH is the one returned by getauxblock in step 1 and AUXPOW is a hexadecimal string that encodes the AuxPoW block (step 3)."),(0,o.kt)("p",null,(0,o.kt)("em",{parentName:"p"},"NOTE: Data contains both UTXO and NEVM transactions.")),(0,o.kt)("p",null,"(4) ",(0,o.kt)("strong",{parentName:"p"},"Construct the Bitcoin coinbase")),(0,o.kt)("p",null,"For example, Syscoin block"),(0,o.kt)("p",null,"bfdb0b29bd1d544227a3cf89187f56d6fecdb1e2b1379e4f39d2f4607427bd03 was merge-mined with Bitcoin's 00000000000000000025b847ba7c07a1e9491468c17c98ced7d74015bd68295e."),(0,o.kt)("p",null,"Looking into the Bitcoin block's coinbase input, we can find (with added line breaks):"),(0,o.kt)("p",null,"036c580b122f5669614254432f5472757374706f6f6c2f2cfabe6d6dbfe3\n",(0,o.kt)("strong",{parentName:"p"},"c1b7320b"),"e5e8f291667bf83a417fcd6d2d35ad4d41c7c279b2047b78ffa1000000000000\n",(0,o.kt)("strong",{parentName:"p"},"0001"),"0a9fc8d13e74fe533da9ad820fedf0\n10000000000"),(0,o.kt)("p",null,'The second line contains the so-called "',(0,o.kt)("em",{parentName:"p"},"merge-mining header"),'" c1b7320b followed by the Syscoin block hash. The next eight bytes are also required (in particular the 4-byte integer 1 is relevant). Look at ',(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/src/auxpow.cpp"},"auxpow.cpp")," for the code that validates this."),(0,o.kt)("p",null,"(5) ",(0,o.kt)("strong",{parentName:"p"},"Construct the AuxPoW hex string")),(0,o.kt)("p",null,"Code at ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/src/auxpow.h"},"auxpow.h")," has a rough process on CAuxPow object serialization. The AuxPoW miner should construct such a serialization in hex. The parent block is the 80-byte block header of the mined Bitcoin block. The initial part of the AuxPoW is a serialization of the Bitcoin coinbase transaction including its Merkle branch."),(0,o.kt)("p",null,"You can also take a look at ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/src/tests/auxpow_tests.cpp"},"src/tests/auxpow_tests.cpp"),". Take a look at ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/test/functional/auxpow_mining.py"},"test/functional/auxpow_mining.py")," for example code that constructs and mines (with regtest difficulty) an AuxPoW block."),(0,o.kt)("p",null,(0,o.kt)("em",{parentName:"p"},"NOTE: The commands above can be reproduced quickly by running syscoind in regtest mode. For testnet and mainnet it is required to fully sync the Syscoin node.")),(0,o.kt)("h3",{id:"recommended-parameters-for-syscoinconf"},"Recommended Parameters for ",(0,o.kt)("strong",{parentName:"h3"},"syscoin.conf")),(0,o.kt)("p",null,"The conf file should have parameter server=1 to allow RPC calls from syscoin-cli or the pool miner software. Also, gethcommandline=--miner.etherbase=0xADDR specifies the NEVM account receiving the corresponding rewards. Please use the following example for reference only:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"$ cat ~/.syscoin/syscoin.conf\n\ntestnet=1\n\n[test]\n\nserver=1\n\ngethcommandline=--miner.etherbase=0xADDR\n\ndaemon=1\n\nrpcuser=user\n\nrpcpassword=pass\n\nrpcallowip=127.0.0.1\n")),(0,o.kt)("p",null,"For mainnet, set parameter ",(0,o.kt)("inlineCode",{parentName:"p"},"testnet=0")," and comment out or omit ",(0,o.kt)("inlineCode",{parentName:"p"},"[test]"),"."),(0,o.kt)("p",null,"There are additional gethcommandline settings to explore ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/nevm/sysgeth/"},"here"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Pools that have questions or need assistance with setting-up merged-mining Syscoin should reach out to us via our ",(0,o.kt)("a",{parentName:"strong",href:"https://discord.gg/syscoin/"},"official Discord server")),"."),(0,o.kt)("h2",{id:"cloud-mining"},"Cloud Mining"),(0,o.kt)("p",null,"You can bring your own hash power or rent it from a third-party. By renting, miners don\u2019t have to worry about equipment setup or maintenance - they only need to configure the target mining pool and voil\xe1!"),(0,o.kt)("h3",{id:"getting-started-with-mining-dutch"},"Getting Started with Mining-Dutch"),(0,o.kt)("p",null,"Every mining pool has very specific parameters. We are using Mining-Dutch (third-party) for the purpose of this guide. Please follow the ",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=gettingstarted"},"getting started instructions")," before continuing."),(0,o.kt)("h3",{id:"cloud-merged-mining-with-mining-rig-rentals-mrr"},"Cloud Merged Mining with ",(0,o.kt)("a",{parentName:"h3",href:"https://www.miningrigrentals.com/"},"Mining Rig Rentals")," (MRR)"),(0,o.kt)("p",null,"First, ",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/account/balance/"},"add funds to your account"),"."),(0,o.kt)("p",null,"Then, navigate to \u201c",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/account/pools"},"Favorite Pools"),'\u201d, click "Add Pool", and fill as follows:'),(0,o.kt)("p",null,"-"," Name: Mining-Dutch 256"),(0,o.kt)("p",null,"-"," Type: Sha256 or Sha256 Asicboost (experimental)"),(0,o.kt)("p",null,"Hit \u201cSave\u201d. It will complain about incomplete info, confirm saving for now."),(0,o.kt)("p",null,"Go to the ",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/rigs/sha256"},"SHA-256 section")," and select a rig of your choice. Click \u201cRent Now!\u201d then click \u201cNext\u201d and it will render a new Profile form. Select the existing pool from the dropdown and open a new tab or window for Mining-Dutch ",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=gettingstarted"},"getting started page"),". Scroll down to \u201cMiner settings generator\u201d. Pick the closest location to the rig you are renting and enter the matching hash power. Then, scroll down to \u201cMiner configuration settings\u201d. Go back to the MRR tab or window and complete the remaining fields. For example:"),(0,o.kt)("p",null,"-"," Pool Host:Port: sha256.mining-dutch.nl:9996"),(0,o.kt)("p",null,"-"," Workername: myuser.worker1"),(0,o.kt)("p",null,"-"," Password: p=2428"),(0,o.kt)("p",null,"-"," Notes: (optional)"),(0,o.kt)("p",null,"Hit \u201cAdd pool\u201d, click \u201cNext\u201d and review the contract. It will show like this:"),(0,o.kt)("div",{style:{textAlign:"center"}},(0,o.kt)("img",{src:"https://lh4.googleusercontent.com/eI9m3n2V2LebkdClRx0z8qBcyCPiLWu6VC5aX6Jw9gopCJjGlqNzpnyhhWj6rA84VJryQma5KvSwVfcF13fWNdF-J8RSZWcslpVRrYOnIHKupV7XmhCdl7xNMUMlkyR7P142aSifTvlfi1FnCvy2Q0tlthAnm_1W68fRs6v2Pchyn55liCsddA"})),(0,o.kt)("p",null,"Click \u201cPay and Start\u201d when you are ready. It should start mining immediately. To double go to \u201c",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/account/myrentals"},"My Rentals"),"\u201d from MRR main menu. Also, go to Mining-Dutch ",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=workers"},"workers page")," for monitoring mining details. You will notice that Mining-Dutch does merged mining of many other altcoins along with Syscoin and might even switch across different blockchains for optimizing earnings (Multiport mode)."),(0,o.kt)("h3",{id:"earnings"},"Earnings"),(0,o.kt)("p",null,"Enter the \u201c",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=earnings"},"Earnings"),"\u201d page from Mining-Dutch, balances for every coin you are mining will be updated automagically as new blocks are found. For example:"),(0,o.kt)("div",{style:{textAlign:"center"}},(0,o.kt)("img",{src:"https://lh4.googleusercontent.com/J6zo6Z1uhHYRkJYrYlNByIQKBSM5ZM0K80Iivq_75OLQ994d7C5KMI_C77dZFgONDwiWwKoMXkUF2yhMISmDSAplviO_iQ4TjSSWw2lx_LMs-zbIG6gSlLsgftaM_hyW-UEuaxktp33aaElfMwQV8n2oXSRsIzzNFTH3RhWgUqYN1g9G2qf1jQ"})),(0,o.kt)("h3",{id:"other-cloud-mining-providers"},"Other Cloud mining providers"),(0,o.kt)("p",null,"Some entry-level providers like MMR allow short term and low hash power rentals for about US$5.00. ",(0,o.kt)("a",{parentName:"p",href:"https://www.nicehash.com/"},"NiceHash")," rentals start at about US$100.00 at the time of writing. We highly recommend you to perform your own due-diligence and market research."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/cd4e8672.e441701f.js b/assets/js/cd4e8672.e441701f.js deleted file mode 100644 index 5af2cc66..00000000 --- a/assets/js/cd4e8672.e441701f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9526],{3905:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>m});var i=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var l=i.createContext({}),c=function(e){var t=i.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},p=function(e){var t=c(e.components);return i.createElement(l.Provider,{value:t},e.children)},d="mdxType",h={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},u=i.forwardRef((function(e,t){var n=e.components,o=e.mdxType,r=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),d=c(n),u=o,m=d["".concat(l,".").concat(u)]||d[u]||h[u]||r;return n?i.createElement(m,a(a({ref:t},p),{},{components:n})):i.createElement(m,a({ref:t},p))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var r=n.length,a=new Array(r);a[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[d]="string"==typeof e?e:o,a[1]=s;for(var c=2;c{n.r(t),n.d(t,{default:()=>p,frontMatter:()=>r,metadata:()=>a,toc:()=>s});var i=n(87462),o=(n(67294),n(3905));const r={sidebar_position:6},a={unversionedId:"guides/mining_setup",id:"guides/mining_setup",isDocsHomePage:!1,title:"Merged Mining Setup Guide",description:"Authors: Fernando Paredes aka @DevelCuy (Devcoin Core Developer, Syscoin contributor) and Bradley Stephenson of Syscoin Foundation",source:"@site/docs/guides/mining_setup.mdx",sourceDirName:"guides",slug:"/guides/mining_setup",permalink:"/docs/guides/mining_setup",version:"current",sidebarPosition:6,frontMatter:{sidebar_position:6},sidebar:"tutorialSidebar",previous:{title:"Masternode Setup Guide",permalink:"/docs/guides/mn_setup"},next:{title:"FAQ",permalink:"/docs/faq"}},s=[{value:"What is Merged Mining",id:"what-is-merged-mining",children:[]},{value:"Why it\u2019s Important",id:"why-its-important",children:[]},{value:"Opportunity",id:"opportunity",children:[]},{value:"Mining Solo vs. Pool",id:"mining-solo-vs-pool",children:[]},{value:"AuxPoW by Example",id:"auxpow-by-example",children:[{value:"Recommended Parameters for syscoin.conf",id:"recommended-parameters-for-syscoinconf",children:[]}]},{value:"Cloud Mining",id:"cloud-mining",children:[{value:"Getting Started with Mining-Dutch",id:"getting-started-with-mining-dutch",children:[]},{value:"Cloud Merged Mining with Mining Rig Rentals (MRR)",id:"cloud-merged-mining-with-mining-rig-rentals-mrr",children:[]},{value:"Earnings",id:"earnings",children:[]},{value:"Other Cloud mining providers",id:"other-cloud-mining-providers",children:[]}]}],l={toc:s},c="wrapper";function p(e){let{components:t,...n}=e;return(0,o.kt)(c,(0,i.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Authors: Fernando Paredes aka @DevelCuy (Devcoin Core Developer, Syscoin contributor) and Bradley Stephenson of Syscoin Foundation")),(0,o.kt)("h2",{id:"what-is-merged-mining"},"What is ",(0,o.kt)("a",{parentName:"h2",href:"/docs/tech/merged-mining"},"Merged Mining")),(0,o.kt)("p",null,"Also known as Auxiliary Proof-of-Work or simply AuxPoW, merged mining enables you to mine multiple blockchains at the same time without spending additional energy on mining. It is carbon-neutral as it re-uses the proof from work already performed. It could be seen as someone (the miner) entering a lottery of sorts. With merged-mining the miner can submit the same lottery ticket and numbers to different lotteries (merge-mined blockchains), increasing their rewards."),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://en.bitcoin.it/wiki/Merged_mining_specification"},"Merged Mining Specification")),(0,o.kt)("h2",{id:"why-its-important"},"Why it\u2019s Important"),(0,o.kt)("p",null,"Merged mining was first presented by Satoshi Nakamoto in 2010. It can be considered a Bitcoin primitive. From our perspective, it will be proven over time to be a critical component for incentivizing a robust Bitcoin network as BTC block rewards continue to diminish. Without merged-mining, revenue from mining Bitcoin would eventually be limited to Bitcoin\u2019s flat network fees."),(0,o.kt)("p",null,"Furthermore, merged mining enables Bitcoin\u2019s miners to support blockchains that offer important utility beyond the scope and best-purpose of the Bitcoin protocol itself."),(0,o.kt)("p",null,(0,o.kt)("em",{parentName:"p"},"Note: Blockchains that naively use merge-mined settlement are subject to the same vectors of PoW in general. A solution now exists to solve those challenges, and it comes in the form of a hybrid consensus system that provides decentralized Finality on top of merged-mining. Such a solution is present in Syscoin. Read up on Syscoin's ",(0,o.kt)("a",{parentName:"em",href:"/docs/tech/finality"},"finality")," via chainlocks for more information.")),(0,o.kt)("h2",{id:"opportunity"},"Opportunity"),(0,o.kt)("p",null,"At the time of writing, between 20 to 30 percent of Bitcoin\u2019s hashpower is also being applied to Syscoin. This means there is ample opportunity for more miners and pools to participate in merged-mining Syscoin to get their piece of the pie. This opportunity is not exclusive to Bitcoin miners - it is also available to any miners working any chain that uses the SHA-256 algorithm, such as Bitcoin Cash."),(0,o.kt)("p",null,"You can compare the Bitcoin and Syscoin hashrates to calculate the live percentage of hashrate shared with Syscoin:"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://minerstat.com/coin/SYS/network-hashrate"},"Syscoin Hashrate")),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("a",{parentName:"li",href:"https://minerstat.com/coin/BTC/network-hashrate"},"Bitcoin Hashrate"))),(0,o.kt)("p",null,"There is generally very little overhead involved in merge-mining Syscoin. With no additional energy spent on mining, the only costs are to setup, run and maintain a properly configured Syscoin Core node."),(0,o.kt)("p",null,"Below is a calculation you can use to find the sum total revenue Syscoin provides to merge-miners collectively."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"18.56 SYS")," (UTXO block reward) + ",(0,o.kt)("strong",{parentName:"p"},"10.55 SYS")," (NEVM block reward) = ",(0,o.kt)("strong",{parentName:"p"},"29.11 SYS")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"29.11 SYS")," ","*"," 576 avg blocks daily (2.5 minute block target) = ",(0,o.kt)("strong",{parentName:"p"},"16,767.36 SYS")),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"16,767.36 SYS")," ","*"," 365 days = ",(0,o.kt)("strong",{parentName:"p"},"6,120,086 SYS")," annual value"),(0,o.kt)("h4",{id:"two-blocks-for-the-price-of-one"},"Two Blocks for the Price of One"),(0,o.kt)("p",null,"The Syscoin network operates with a dual-chain architecture, two blockchains running in parallel that are merge-mined simultaneously in Syscoin Core:"),(0,o.kt)("ol",null,(0,o.kt)("li",{parentName:"ol"},"\u200b\t",(0,o.kt)("a",{parentName:"li",href:"/docs/tech/bitcoin-tech"},"Syscoin UTXO (Bitcoin standard)")),(0,o.kt)("li",{parentName:"ol"},"\u200b\t",(0,o.kt)("a",{parentName:"li",href:"/docs/tech/nevm"},"Syscoin NEVM (Ethereum standard)"))),(0,o.kt)("p",null,"When finding a valid AuxPoW, the generated NEVM block produces a static reward of 10.55 SYS, and the rest comes from the UTXO block (18.56 SYS at present). Make sure your syscoin.conf is configured appropriately to also mine NEVM and receive that reward! Simple instructions are in section ",(0,o.kt)("a",{parentName:"p",href:"#recommended-parameters-for-syscoinconf"},"[Recommended Parameters for syscoin.conf]"),"."),(0,o.kt)("h2",{id:"mining-solo-vs-pool"},"Mining Solo vs. Pool"),(0,o.kt)("p",null,"Finding a Bitcoin or Syscoin block is harder when mining solo (on your own). Using a mining pool is the best option for receiving partial rewards but with more consistency/predictability. The following mining pools support Syscoin. They are managed independently (not controlled by Syscoin Foundation):"),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.mining-dutch.nl/pools/syscoin.php?page=dashboard"},"Mining-Dutch"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://support.viabtc.com/hc/en-us/articles/900001530543"},"ViaBTC"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("strong",{parentName:"li"},(0,o.kt)("a",{parentName:"strong",href:"https://www.f2pool.com/"},"F2Pool"))," (merged mining internally, they keep the altcoins)")),(0,o.kt)("h2",{id:"auxpow-by-example"},"AuxPoW by Example"),(0,o.kt)("p",null,"This is useful for pools or solo miners that wish to setup merge-mining Syscoin for the first time, or simply to help you understand the raw process. If you are a miner that wishes to participate in a pool that already mines Syscoin, go to section ","[Cloud Mining]","."),(0,o.kt)("p",null,"Here is a step-by-step example of the low-level merged mining process. We recommend that you create a script or use an application that automates this."),(0,o.kt)("p",null,"(1) ",(0,o.kt)("strong",{parentName:"p"},"Get new block parameters")),(0,o.kt)("p",null,"By calling syscoin-cli createauxblock ADDRESS or syscoin-cli getauxblock (legacy), it should return a JSON object:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-json"},'{\n\n "hash": "3cdf4a939e94e38d479118c754e1885c511d8582254830a288b2ebdb96606da9",\n\n "chainid": 16,\n\n ...\n\n "bits": "207fffff",\n\n "_target": "0000000000000000000000000000000000000000000000000000000000ffff7f"\n\n}\n')),(0,o.kt)("p",null,"Relevant here are the block hash, the chainid (16 for Syscoin) and the _target (difficulty bits, in reverse byte order due to legacy usage)"),(0,o.kt)("p",null,"(2) ",(0,o.kt)("strong",{parentName:"p"},"Mine the Bitcoin block with a special data string")),(0,o.kt)("p",null,"Since the coinbase input should include a special data string, every now and then (especially if a new Syscoin block arrives!) the AuxPoW miner should repeat step 1, in order to update the Syscoin block being mined, which implies updating the corresponding coinbase input of the Bitcoin block as well."),(0,o.kt)("p",null,"Eventually, a Bitcoin block header that matches Syscoin difficulty is found (regardless of matching Bitcoin's difficulty) so it is an AuxPoW!"),(0,o.kt)("p",null,"(3) ",(0,o.kt)("strong",{parentName:"p"},"Call ",(0,o.kt)("inlineCode",{parentName:"strong"},"syscoind submitauxblock HASH AUXPOW")," or ",(0,o.kt)("inlineCode",{parentName:"strong"},"syscoind getauxblock HASH AUXPOW")," (legacy)")),(0,o.kt)("p",null,"It will submit new block data to the Syscoin network. HASH is the one returned by getauxblock in step 1 and AUXPOW is a hexadecimal string that encodes the AuxPoW block (step 3)."),(0,o.kt)("p",null,(0,o.kt)("em",{parentName:"p"},"NOTE: Data contains both UTXO and NEVM transactions.")),(0,o.kt)("p",null,"(4) ",(0,o.kt)("strong",{parentName:"p"},"Construct the Bitcoin coinbase")),(0,o.kt)("p",null,"For example, Syscoin block"),(0,o.kt)("p",null,"bfdb0b29bd1d544227a3cf89187f56d6fecdb1e2b1379e4f39d2f4607427bd03 was merge-mined with Bitcoin's 00000000000000000025b847ba7c07a1e9491468c17c98ced7d74015bd68295e."),(0,o.kt)("p",null,"Looking into the Bitcoin block's coinbase input, we can find (with added line breaks):"),(0,o.kt)("p",null,"036c580b122f5669614254432f5472757374706f6f6c2f2cfabe6d6dbfe3\n",(0,o.kt)("strong",{parentName:"p"},"c1b7320b"),"e5e8f291667bf83a417fcd6d2d35ad4d41c7c279b2047b78ffa1000000000000\n",(0,o.kt)("strong",{parentName:"p"},"0001"),"0a9fc8d13e74fe533da9ad820fedf0\n10000000000"),(0,o.kt)("p",null,'The second line contains the so-called "',(0,o.kt)("em",{parentName:"p"},"merge-mining header"),'" c1b7320b followed by the Syscoin block hash. The next eight bytes are also required (in particular the 4-byte integer 1 is relevant). Look at ',(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/src/auxpow.cpp"},"auxpow.cpp")," for the code that validates this."),(0,o.kt)("p",null,"(5) ",(0,o.kt)("strong",{parentName:"p"},"Construct the AuxPoW hex string")),(0,o.kt)("p",null,"Code at ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/src/auxpow.h"},"auxpow.h")," has a rough process on CAuxPow object serialization. The AuxPoW miner should construct such a serialization in hex. The parent block is the 80-byte block header of the mined Bitcoin block. The initial part of the AuxPoW is a serialization of the Bitcoin coinbase transaction including its Merkle branch."),(0,o.kt)("p",null,"You can also take a look at ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/src/tests/auxpow_tests.cpp"},"src/tests/auxpow_tests.cpp"),". Take a look at ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/syscoin/syscoin/blob/v4.3.0/test/functional/auxpow_mining.py"},"test/functional/auxpow_mining.py")," for example code that constructs and mines (with regtest difficulty) an AuxPoW block."),(0,o.kt)("p",null,(0,o.kt)("em",{parentName:"p"},"NOTE: The commands above can be reproduced quickly by running syscoind in regtest mode. For testnet and mainnet it is required to fully sync the Syscoin node.")),(0,o.kt)("h3",{id:"recommended-parameters-for-syscoinconf"},"Recommended Parameters for ",(0,o.kt)("strong",{parentName:"h3"},"syscoin.conf")),(0,o.kt)("p",null,"The conf file should have parameter server=1 to allow RPC calls from syscoin-cli or the pool miner software. Also, gethcommandline=--miner.etherbase=0xADDR specifies the NEVM account receiving the corresponding rewards. Please use the following example for reference only:"),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"$ cat ~/.syscoin/syscoin.conf\n\ntestnet=1\n\n[test]\n\nserver=1\n\ngethcommandline=--miner.etherbase=0xADDR\n\ndaemon=1\n\nrpcuser=user\n\nrpcpassword=pass\n\nrpcallowip=127.0.0.1\n")),(0,o.kt)("p",null,"For mainnet, set parameter ",(0,o.kt)("inlineCode",{parentName:"p"},"testnet=0")," and comment out or omit ",(0,o.kt)("inlineCode",{parentName:"p"},"[test]"),"."),(0,o.kt)("p",null,"There are additional gethcommandline settings to explore ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/nevm/sysgeth/"},"here"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Pools that have questions or need assistance with setting-up merged-mining Syscoin should reach out to us via our ",(0,o.kt)("a",{parentName:"strong",href:"https://discord.gg/syscoin/"},"official Discord server")),"."),(0,o.kt)("h2",{id:"cloud-mining"},"Cloud Mining"),(0,o.kt)("p",null,"You can bring your own hash power or rent it from a third-party. By renting, miners don\u2019t have to worry about equipment setup or maintenance - they only need to configure the target mining pool and voil\xe1!"),(0,o.kt)("h3",{id:"getting-started-with-mining-dutch"},"Getting Started with Mining-Dutch"),(0,o.kt)("p",null,"Every mining pool has very specific parameters. We are using Mining-Dutch (third-party) for the purpose of this guide. Please follow the ",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=gettingstarted"},"getting started instructions")," before continuing."),(0,o.kt)("h3",{id:"cloud-merged-mining-with-mining-rig-rentals-mrr"},"Cloud Merged Mining with ",(0,o.kt)("a",{parentName:"h3",href:"https://www.miningrigrentals.com/"},"Mining Rig Rentals")," (MRR)"),(0,o.kt)("p",null,"First, ",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/account/balance/"},"add funds to your account"),"."),(0,o.kt)("p",null,"Then, navigate to \u201c",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/account/pools"},"Favorite Pools"),'\u201d, click "Add Pool", and fill as follows:'),(0,o.kt)("p",null,"-"," Name: Mining-Dutch 256"),(0,o.kt)("p",null,"-"," Type: Sha256 or Sha256 Asicboost (experimental)"),(0,o.kt)("p",null,"Hit \u201cSave\u201d. It will complain about incomplete info, confirm saving for now."),(0,o.kt)("p",null,"Go to the ",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/rigs/sha256"},"SHA-256 section")," and select a rig of your choice. Click \u201cRent Now!\u201d then click \u201cNext\u201d and it will render a new Profile form. Select the existing pool from the dropdown and open a new tab or window for Mining-Dutch ",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=gettingstarted"},"getting started page"),". Scroll down to \u201cMiner settings generator\u201d. Pick the closest location to the rig you are renting and enter the matching hash power. Then, scroll down to \u201cMiner configuration settings\u201d. Go back to the MRR tab or window and complete the remaining fields. For example:"),(0,o.kt)("p",null,"-"," Pool Host:Port: sha256.mining-dutch.nl:9996"),(0,o.kt)("p",null,"-"," Workername: myuser.worker1"),(0,o.kt)("p",null,"-"," Password: p=2428"),(0,o.kt)("p",null,"-"," Notes: (optional)"),(0,o.kt)("p",null,"Hit \u201cAdd pool\u201d, click \u201cNext\u201d and review the contract. It will show like this:"),(0,o.kt)("div",{style:{textAlign:"center"}},(0,o.kt)("img",{src:"https://lh4.googleusercontent.com/eI9m3n2V2LebkdClRx0z8qBcyCPiLWu6VC5aX6Jw9gopCJjGlqNzpnyhhWj6rA84VJryQma5KvSwVfcF13fWNdF-J8RSZWcslpVRrYOnIHKupV7XmhCdl7xNMUMlkyR7P142aSifTvlfi1FnCvy2Q0tlthAnm_1W68fRs6v2Pchyn55liCsddA"})),(0,o.kt)("p",null,"Click \u201cPay and Start\u201d when you are ready. It should start mining immediately. To double go to \u201c",(0,o.kt)("a",{parentName:"p",href:"https://www.miningrigrentals.com/account/myrentals"},"My Rentals"),"\u201d from MRR main menu. Also, go to Mining-Dutch ",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=workers"},"workers page")," for monitoring mining details. You will notice that Mining-Dutch does merged mining of many other altcoins along with Syscoin and might even switch across different blockchains for optimizing earnings (Multiport mode)."),(0,o.kt)("h3",{id:"earnings"},"Earnings"),(0,o.kt)("p",null,"Enter the \u201c",(0,o.kt)("a",{parentName:"p",href:"https://www.mining-dutch.nl/index.php?page=earnings"},"Earnings"),"\u201d page from Mining-Dutch, balances for every coin you are mining will be updated automagically as new blocks are found. For example:"),(0,o.kt)("div",{style:{textAlign:"center"}},(0,o.kt)("img",{src:"https://lh4.googleusercontent.com/J6zo6Z1uhHYRkJYrYlNByIQKBSM5ZM0K80Iivq_75OLQ994d7C5KMI_C77dZFgONDwiWwKoMXkUF2yhMISmDSAplviO_iQ4TjSSWw2lx_LMs-zbIG6gSlLsgftaM_hyW-UEuaxktp33aaElfMwQV8n2oXSRsIzzNFTH3RhWgUqYN1g9G2qf1jQ"})),(0,o.kt)("h3",{id:"other-cloud-mining-providers"},"Other Cloud mining providers"),(0,o.kt)("p",null,"Some entry-level providers like MMR allow short term and low hash power rentals for about US$5.00. ",(0,o.kt)("a",{parentName:"p",href:"https://www.nicehash.com/"},"NiceHash")," rentals start at about US$100.00 at the time of writing. We highly recommend you to perform your own due-diligence and market research."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d4f51590.ccdc3b92.js b/assets/js/d4f51590.ccdc3b92.js deleted file mode 100644 index e696d806..00000000 --- a/assets/js/d4f51590.ccdc3b92.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7912],{3905:(e,t,r)=>{r.d(t,{Zo:()=>u,kt:()=>f});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,s=e.originalType,l=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),p=c(r),d=o,f=p["".concat(l,".").concat(d)]||p[d]||m[d]||s;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var s=r.length,i=new Array(s);i[0]=d;var a={};for(var l in t)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a[p]="string"==typeof e?e:o,i[1]=a;for(var c=2;c{r.r(t),r.d(t,{default:()=>u,frontMatter:()=>s,metadata:()=>i,toc:()=>a});var n=r(87462),o=(r(67294),r(3905));const s={sidebar_position:1},i={unversionedId:"dev-resources/nevm/resources",id:"dev-resources/nevm/resources",isDocsHomePage:!1,title:"Resources",description:"This page contains resources that will help facilitate developers building on Syscoin's NEVM. As it is forked from Ethereum the development process is essentially the same for writing, deploying and testing smart contracts and utilizing them through dApps. As such the following resources will not be an exhaustive list but will be a list of resources that are some of the favorites used by solidity smart contract/dApp developers.",source:"@site/docs/dev-resources/nevm/resources.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/resources",permalink:"/docs/dev-resources/nevm/resources",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Z-DAG (UTXO)",permalink:"/docs/tech/z-dag"},next:{title:"Communities",permalink:"/docs/dev-resources/nevm/communities"}},a=[],l={toc:a},c="wrapper";function u(e){let{components:t,...r}=e;return(0,o.kt)(c,(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"This page contains resources that will help facilitate developers building on Syscoin's NEVM. As it is forked from Ethereum the development process is essentially the same for writing, deploying and testing smart contracts and utilizing them through dApps. As such the following resources will not be an exhaustive list but will be a list of resources that are some of the favorites used by solidity smart contract/dApp developers."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/docs-and-libs"},"Documentation and Libraries"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/guides-and-tuts"},"Courses, Guides and Tutorials"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/tooling"},"Tooling"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/zk-rollups"},"ZK-Rollups"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/communities"},"Developer Communities")))))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/d4f51590.ed5daad4.js b/assets/js/d4f51590.ed5daad4.js new file mode 100644 index 00000000..d1c78d20 --- /dev/null +++ b/assets/js/d4f51590.ed5daad4.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7912],{3905:(e,t,r)=>{r.d(t,{Zo:()=>u,kt:()=>d});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),c=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},u=function(e){var t=c(e.components);return n.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,s=e.originalType,l=e.parentName,u=a(e,["components","mdxType","originalType","parentName"]),m=c(r),d=o,f=m["".concat(l,".").concat(d)]||m[d]||p[d]||s;return r?n.createElement(f,i(i({ref:t},u),{},{components:r})):n.createElement(f,i({ref:t},u))}));function d(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var s=r.length,i=new Array(s);i[0]=m;var a={};for(var l in t)hasOwnProperty.call(t,l)&&(a[l]=t[l]);a.originalType=e,a.mdxType="string"==typeof e?e:o,i[1]=a;for(var c=2;c{r.r(t),r.d(t,{default:()=>c,frontMatter:()=>s,metadata:()=>i,toc:()=>a});var n=r(87462),o=(r(67294),r(3905));const s={sidebar_position:1},i={unversionedId:"dev-resources/nevm/resources",id:"dev-resources/nevm/resources",isDocsHomePage:!1,title:"Resources",description:"This page contains resources that will help facilitate developers building on Syscoin's NEVM. As it is forked from Ethereum the development process is essentially the same for writing, deploying and testing smart contracts and utilizing them through dApps. As such the following resources will not be an exhaustive list but will be a list of resources that are some of the favorites used by solidity smart contract/dApp developers.",source:"@site/docs/dev-resources/nevm/resources.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/resources",permalink:"/docs/dev-resources/nevm/resources",version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Z-DAG (UTXO)",permalink:"/docs/tech/z-dag"},next:{title:"Communities",permalink:"/docs/dev-resources/nevm/communities"}},a=[],l={toc:a};function c(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"This page contains resources that will help facilitate developers building on Syscoin's NEVM. As it is forked from Ethereum the development process is essentially the same for writing, deploying and testing smart contracts and utilizing them through dApps. As such the following resources will not be an exhaustive list but will be a list of resources that are some of the favorites used by solidity smart contract/dApp developers."),(0,o.kt)("ul",null,(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/docs-and-libs"},"Documentation and Libraries"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/guides-and-tuts"},"Courses, Guides and Tutorials"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/tooling"},"Tooling"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/zk-rollups"},"ZK-Rollups"))),(0,o.kt)("li",{parentName:"ul"},(0,o.kt)("p",{parentName:"li"},(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/communities"},"Developer Communities")))))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/da6e3234.a82241d1.js b/assets/js/da6e3234.a82241d1.js deleted file mode 100644 index 6fe2ebee..00000000 --- a/assets/js/da6e3234.a82241d1.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[457],{3905:(e,t,a)=>{a.d(t,{Zo:()=>p,kt:()=>k});var n=a(67294);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),c=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},p=function(e){var t=c(e.components);return n.createElement(o.Provider,{value:t},e.children)},d="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},u=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,s=e.originalType,o=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),d=c(a),u=r,k=d["".concat(o,".").concat(u)]||d[u]||m[u]||s;return a?n.createElement(k,i(i({ref:t},p),{},{components:a})):n.createElement(k,i({ref:t},p))}));function k(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var s=a.length,i=new Array(s);i[0]=u;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l[d]="string"==typeof e?e:r,i[1]=l;for(var c=2;c{a.r(t),a.d(t,{default:()=>p,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var n=a(87462),r=(a(67294),a(3905));const s={sidebar_position:7},i={unversionedId:"dev-resources/documentation/javascript-sdk-ref/blockbook",id:"dev-resources/documentation/javascript-sdk-ref/blockbook",isDocsHomePage:!1,title:"Blockbook API",description:"Blockbook provides REST, websocket and socket.io API to the indexed blockchain.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/blockbook.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/blockbook",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook",version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"Types",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/types"},next:{title:"Examples",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/examples"}},l=[{value:"API V2",id:"api-v2",children:[{value:"REST API",id:"rest-api",children:[]},{value:"Websocket API",id:"websocket-api",children:[]}]},{value:"Legacy API V1",id:"legacy-api-v1",children:[{value:"REST API",id:"rest-api-1",children:[]},{value:"Socket.io API",id:"socketio-api",children:[]}]}],o={toc:l},c="wrapper";function p(e){let{components:t,...a}=e;return(0,r.kt)(c,(0,n.Z)({},o,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Blockbook")," provides REST, websocket and socket.io API to the indexed blockchain."),(0,r.kt)("p",null,"There are two versions of provided API."),(0,r.kt)("h2",{id:"api-v2"},"API V2"),(0,r.kt)("p",null,"API V2 is the current version of API. It can be used with all coin types that Blockbook supports. API V2 can be accessed using REST and websocket interface."),(0,r.kt)("p",null,"Common principles used in API V2:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"all amounts are transferred as strings, in the lowest denomination (satoshis, wei, ...), without decimal point"),(0,r.kt)("li",{parentName:"ul"},"empty fields are omitted. Empty field is a string of value ",(0,r.kt)("em",{parentName:"li"},"null")," or ",(0,r.kt)("em",{parentName:"li"},'""'),", a number of value ",(0,r.kt)("em",{parentName:"li"},"0"),", an object of value ",(0,r.kt)("em",{parentName:"li"},"null")," or an array without elements. The reason for this is that the interface serves many different coins which use only subset of the fields. Sometimes this principle can lead to slightly confusing results, for example when transaction version is 0, the field ",(0,r.kt)("em",{parentName:"li"},"version")," is omitted.")),(0,r.kt)("h3",{id:"rest-api"},"REST API"),(0,r.kt)("p",null,"The following methods are supported:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#status"},"Status")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-block-hash"},"Get block hash")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-transaction"},"Get transaction")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-transaction-specific"},"Get transaction specific")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-address"},"Get address")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-xpub"},"Get xpub")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-utxo"},"Get utxo")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-block"},"Get block")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#send-transaction"},"Send transaction")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#tickers-list"},"Tickers list")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#tickers"},"Tickers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#balance-history"},"Balance history"))),(0,r.kt)("h4",{id:"status-page"},"Status page"),(0,r.kt)("p",null,"Status page returns current status of Blockbook and connected backend."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "blockbook": {\n "coin": "Bitcoin",\n "host": "blockbook",\n "version": "0.3.5",\n "gitCommit": "3d9ad91",\n "buildTime": "2019-05-17T14:34:00+00:00",\n "syncMode": true,\n "initialSync": false,\n "inSync": true,\n "bestHeight": 577261,\n "lastBlockTime": "2019-05-22T18:03:33.547762973+02:00",\n "inSyncMempool": true,\n "lastMempoolTime": "2019-05-22T18:10:10.27929383+02:00",\n "mempoolSize": 17348,\n "decimals": 8,\n "dbSize": 191887866502,\n "about": "Blockbook - blockchain indexer for Trezor wallet https://trezor.io/. Do not use for any other purpose."\n },\n "backend": {\n "chain": "main",\n "blocks": 577261,\n "headers": 577261,\n "bestBlockHash": "0000000000000000000ca8c902aa58b3118a7f35d093e25a07f17bcacd91cabf",\n "difficulty": "6704632680587.417",\n "sizeOnDisk": 250504188580,\n "version": "180000",\n "subversion": "/Satoshi:0.18.0/",\n "protocolVersion": "70015",\n "timeOffset": 0,\n "warnings": ""\n }\n}\n')),(0,r.kt)("h4",{id:"get-block-hash"},"Get block hash"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/block-index/\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "blockHash": "ed8f3af8c10ca70a136901c6dd3adf037f0aea8a93fbe9e80939214034300f1e"\n}\n')),(0,r.kt)("p",null,(0,r.kt)("em",{parentName:"p"},"Note: Blockbook always follows the main chain of the backend it is attached to. See notes on ",(0,r.kt)("strong",{parentName:"em"},"Get Block")," below")),(0,r.kt)("h4",{id:"get-transaction"},"Get transaction"),(0,r.kt)("p",null,'Get transaction returns "normalized" data about transaction, which has the same general structure for all supported coins. It does not return coin specific fields (for example information about Zcash shielded addresses).'),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tx/\n")),(0,r.kt)("p",null,"Response for Bitcoin-type coins:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "txid": "9e2bc8fbd40af17a6564831f84aef0cab2046d4bad19e91c09d21bff2c851851",\n "version": 1,\n "vin": [\n {\n "txid": "f124e6999bf67e710b9e8a8ac4dbb08a64aa9c264120cf98793455e36a531615",\n "vout": 2,\n "sequence": 4294967295,\n "n": 0,\n "addresses": [\n "DDhUv8JZGmSxKYV95NLnbRTUKni9cDZD3S"\n ],\n "isAddress": true,\n "value": "55795108999999",\n "hex": "473...2c7ec77bb982"\n }\n ],\n "vout": [\n {\n "value": "55585679000000",\n "n": 0,\n "hex": "76a914feaca9d9fa7120c7c587c00c639bb18d40faadd388ac",\n "addresses": [\n "DUMh1rPrXTrCN2Z9EHsLPg7b78rACHB2h7"\n ],\n "isAddress": true\n },\n {\n "value": "209329999999",\n "n": 1,\n "hex": "76a914ea8984be785868391d92f49c14933f47c152ea0a88ac",\n "addresses": [\n "DSXDQ6rnwLX47WFRnemctoXPHA9pLMxqXn"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "78d1f3de899a10dd2e580704226ebf9508e95e1706f177fc9c31c47f245d2502",\n "blockHeight": 2647927,\n "confirmations": 1,\n "blockTime": 1553088212,\n "value": "55795008999999",\n "valueIn": "55795108999999",\n "fees": "100000000",\n "hex": "0100000...0011000"\n}\n')),(0,r.kt)("p",null,"Response for Ethereum-type coins. There is always only one ",(0,r.kt)("em",{parentName:"p"},"vin"),", only one ",(0,r.kt)("em",{parentName:"p"},"vout"),", possibly an array of ",(0,r.kt)("em",{parentName:"p"},"tokenTransfers")," and ",(0,r.kt)("em",{parentName:"p"},"ethereumSpecific")," part. Note that ",(0,r.kt)("em",{parentName:"p"},"tokenTransfers")," will also exist for any coins exposing a token interface including Ethereum and Syscoin. Missing is ",(0,r.kt)("em",{parentName:"p"},"hex")," field:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "txid": "0xb78a36a4a0e7d708d595c3b193cace8f5b420e72e1f595a5387d87de509f0806",\n "vin": [\n {\n "n": 0,\n "addresses": [\n "0x9c2e011c0ce0d75c2b62b9c5a0ba0a7456593803"\n ],\n "isAddress": true\n }\n ],\n "vout": [\n {\n "value": "0",\n "n": 0,\n "addresses": [\n "0xc32ae45504ee9482db99cfa21066a59e877bc0e6"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "0x39df7fb0893200e1e78c04f98691637a89b64e7a3edd96c16f2537e2fd56c414",\n "blockHeight": 5241585,\n "confirmations": 3,\n "blockTime": 1553088337,\n "value": "0",\n "fees": "402501000000000",\n "tokenTransfers": [\n {\n "type": "ERC20",\n "from": "0x9c2e011c0ce0d75c2b62b9c5a0ba0a7456593803",\n "to": "0x583cbbb8a8443b38abcc0c956bece47340ea1367",\n "token": "0xc32ae45504ee9482db99cfa21066a59e877bc0e6",\n "name": "Tangany Test Token",\n "symbol": "TATETO",\n "decimals": 18,\n "value": "133800000"\n }\n ],\n "ethereumSpecific": {\n "status": 1,\n "nonce": 2830,\n "gasLimit": 36591,\n "gasUsed": 36591,\n "gasPrice": "11000000000",\n "data": "0xa9059cbb000000000000000000000000ba98d6a5"\n }\n}\n')),(0,r.kt)("p",null,"A note about the ",(0,r.kt)("inlineCode",{parentName:"p"},"blockTime")," field:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"for already mined transaction (",(0,r.kt)("inlineCode",{parentName:"li"},"confirmations > 0"),"), the field ",(0,r.kt)("inlineCode",{parentName:"li"},"blockTime")," contains time of the block"),(0,r.kt)("li",{parentName:"ul"},"for transactions in mempool (",(0,r.kt)("inlineCode",{parentName:"li"},"confirmations == 0"),"), the field contains time when the running instance of Blockbook was first time notified about the transaction. This time may be different in different instances of Blockbook.")),(0,r.kt)("h4",{id:"get-transaction-specific"},"Get transaction specific"),(0,r.kt)("p",null,"Returns transaction data in the exact format as returned by backend, including all coin specific fields:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tx-specific/\n")),(0,r.kt)("p",null,"Example response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "hex": "040000808...8e6e73cb009",\n "txid": "7a0a0ff6f67bac2a856c7296382b69151949878de6fb0d01a8efa197182b2913",\n "overwintered": true,\n "version": 4,\n "versiongroupid": "892f2085",\n "locktime": 0,\n "expiryheight": 495680,\n "vin": [],\n "vout": [],\n "vjoinsplit": [],\n "valueBalance": 0,\n "vShieldedSpend": [\n {\n "cv": "50258bfa65caa9f42f4448b9194840c7da73afc8159faf7358140bfd0f237962",\n "anchor": "6beb3b64ecb30033a9032e1a65a68899917625d1fdd2540e70f19f3078f5dd9b",\n "nullifier": "08e5717f6606af7c2b01206ff833eaa6383bb49c7451534b2e16d588956fd10a",\n "rk": "36841a9be87a7022445b77f433cdd0355bbed498656ab399aede1e5285e9e4a2",\n "proof": "aecf824dbae8eea863ec6...73878c37391f01df520aa",\n "spendAuthSig": "65b9477cb1ec5da...1178fe402e5702c646945197108339609"\n },\n {\n "cv": "a5aab3721e33d6d6360eabd21cbd07524495f202149abdc3eb30f245d503678c",\n "anchor": "6beb3b64ecb30033a9032e1a65a68899917625d1fdd2540e70f19f3078f5dd9b",\n "nullifier": "60e790d6d0e12e777fb2b18bc97cf42a92b1e47460e1bd0b0ffd294c23232cc9",\n "rk": "2d741695e76351597712b4a04d2a4e108a116f376283d2d104219b86e2930117",\n "proof": "a0c2a6fdcbba966b9894...3a9c3118b76c8e2352d524cbb44c02decaeda7",\n "spendAuthSig": "feea902e01eac9ebd...b43b4af6b607ce5b0b38f708"\n }\n ],\n "vShieldedOutput": [\n {\n "cv": "23db384cde862f20238a1004e57ba18f114acabc7fd2ac029757f82af5bd4cab",\n "cmu": "3ff5a5ff521fabefb5287fef4feb2642d69ead5fe18e6ac717cfd76a8d4088bc",\n "ephemeralKey": "057ff6e059967784fa6ac34ad9ecfd9c0c0aba743b7cd444a65ecc32192d5870",\n "encCiphertext": "a533d3b99b...a0204",\n "outCiphertext": "4baabc15199504b1...c1ad6a",\n "proof": "aa1fb2706cba5...1ec7e81f5deea90d4f57713f3b4fc8d636908235fa378ebf1"\n }\n ],\n "bindingSig": "bc018af8808387...5130bb382ad8e6e73cb009",\n "blockhash": "0000000001c4aa394e796dd1b82e358f114535204f6f5b6cf4ad58dc439c47af",\n "confirmations": 5222,\n "time": 1552301566,\n "blocktime": 1552301566\n}\n')),(0,r.kt)("h4",{id:"get-address"},"Get address"),(0,r.kt)("p",null,"Returns balances and transactions of an address. The returned transactions are sorted by block height, newest blocks first."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/address/
[?page=&pageSize=&from=&to=&details=&filter=&contract=]\n")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"page"),": specifies page of returned transactions, starting from 1. If out of range, Blockbook returns the closest possible page."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"pageSize"),": number of transactions returned by call (default and maximum 1000)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to"),": filter of the returned transactions ",(0,r.kt)("em",{parentName:"li"},"from")," block height ",(0,r.kt)("em",{parentName:"li"},"to")," block height (default no filter)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"details"),": specifies level of details returned by request (default ",(0,r.kt)("em",{parentName:"li"},"txids"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basic"),": return only address balances, without any transactions"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokens"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens belonging to the address (applicable only to some coins)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokenBalances"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens with balances + belonging to the address (applicable only to some coins)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txids"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of txids, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txslight"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of transaction with limited details (only data from index), subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txs"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of transaction with details, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"filter"),": specifies what tokens (xpub addresses/tokens) are returned by the request (default ",(0,r.kt)("em",{parentName:"li"},"nonzero"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"inputs"),": Return transactions sending inputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"outputs"),": Return transactions sending outputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Return specific numerical vout index"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetMask"),": What type of transactions to return (default ",(0,r.kt)("em",{parentName:"li"},"all"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"all"),": Returns all types of transactions, base and asset type. The assetMask will represent value of all values OR'ed together see below in ",(0,r.kt)("em",{parentName:"li"},"=")," for the masks."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-tokens"),": Return only base coin transactions no asset type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"basecoin"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-only"),": Return only asset type transactions no base coin type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetactivate")," | ",(0,r.kt)("em",{parentName:"li"},"assetupdate")," | ",(0,r.kt)("em",{parentName:"li"},"assetsend")," | ",(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationmint")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-transfers"),": Return only assetallocationsend type transactions. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-token-transfers"),": Return any transactions not of type assetallocationsend. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"token-only")," &^ ",(0,r.kt)("em",{parentName:"li"},"token-transfers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Apply a custom numerical mask which is a bitmask of the following values:",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basecoin"),": 1"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),": 2"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation"),": 4"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin"),": 8"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum"),": 16"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationmint"),": 32"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetupdate"),": 64"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetsend"),": 128"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetactivate"),": 256"))))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"contract"),": return only transactions which affect specified contract or asset (applicable only to Ethereum and Syscoin)")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "page": 1,\n "totalPages": 1,\n "itemsOnPage": 1000,\n "address": "D5Z7XrtJNg7hAtznSDMXvfiFmMYphwuWz7",\n "balance": "2432468097999991",\n "totalReceived": "3992283916999979",\n "totalSent": "1559815818999988",\n "unconfirmedBalance": "0",\n "unconfirmedTxs": 0,\n "txs": 3,\n "txids": [\n "461dd46d5d6f56d765f82e60e6bf0727a3a1d1cb8c4144373d805b152a21d308",\n "bdb5b47603c5d174eae3384c368068c8e9d2183b398ed0e31d125defa4447a10",\n "5c1d2686d70d82bd8e84b5d3dc4bd0e8485e28cdc865336db6a5e40b2098277d"\n ]\n}\n')),(0,r.kt)("h4",{id:"get-xpub"},"Get xpub"),(0,r.kt)("p",null,"Returns balances and transactions of an xpub, applicable only for Bitcoin-type coins."),(0,r.kt)("p",null,"Blockbook supports BIP44, BIP49 and BIP84 derivation schemes. It expects xpub at level 3 derivation path, i.e. ",(0,r.kt)("em",{parentName:"p"},"m/purpose'/coin_type'/account'/"),". Blockbook completes the ",(0,r.kt)("em",{parentName:"p"},"change/address_index")," part of the path when deriving addresses."),(0,r.kt)("p",null,"The BIP version is determined by the prefix of the xpub. The prefixes for each coin are defined by fields ",(0,r.kt)("inlineCode",{parentName:"p"},"xpub_magic"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"xpub_magic_segwit_p2sh"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"xpub_magic_segwit_native")," in the ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/trezor/trezor-common/tree/master/defs/bitcoin"},"trezor-common")," library. If the prefix is not recognized, Blockbook defaults to BIP44 derivation scheme."),(0,r.kt)("p",null,"The returned transactions are sorted by block height, newest blocks first."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/xpub/[?page=&pageSize=&from=&to=&details=&tokens=&filter=]\n")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"page"),": specifies page of returned transactions, starting from 1. If out of range, Blockbook returns the closest possible page. Tokens are only returned for coins that have token platforms (Syscoin)."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"pageSize"),": number of transactions returned by call (default and maximum 1000)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to"),": filter of the returned transactions ",(0,r.kt)("em",{parentName:"li"},"from")," block height ",(0,r.kt)("em",{parentName:"li"},"to")," block height (default no filter)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"details"),": specifies level of details returned by request (default ",(0,r.kt)("em",{parentName:"li"},"txids"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basic"),": return only xpub balances, without any derived addresses and transactions"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokens"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens (addresses/tokens) derived from the xpub, subject to ",(0,r.kt)("em",{parentName:"li"},"tokens")," parameter"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokenBalances"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens (addresses/tokens) derived from the xpub with balances, subject to ",(0,r.kt)("em",{parentName:"li"},"tokens")," parameter"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txids"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of txids, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txs"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of transaction with details, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokens"),": specifies what tokens (xpub addresses/tokens) are returned by the request (default ",(0,r.kt)("em",{parentName:"li"},"nonzero"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"nonzero"),": return only addresses/tokens with nonzero balance"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"used"),": return addresses/tokens with at least one transaction"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"derived"),": return all derived addresses/tokens"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"filter"),": specifies what tokens (xpub addresses/tokens) are returned by the request (default ",(0,r.kt)("em",{parentName:"li"},"nonzero"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"inputs"),": Return transactions sending inputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"outputs"),": Return transactions sending outputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Return specific numerical vout index"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetMask"),": What type of transactions to return (default ",(0,r.kt)("em",{parentName:"li"},"all"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"all"),": Returns all types of transactions, base and asset type. The assetMask will represent value of all values OR'ed together see below in ",(0,r.kt)("em",{parentName:"li"},"=")," for the masks."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-tokens"),": Return only base coin transactions no asset type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"basecoin"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-only"),": Return only asset type transactions no base coin type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetactivate")," | ",(0,r.kt)("em",{parentName:"li"},"assetupdate")," | ",(0,r.kt)("em",{parentName:"li"},"assetsend")," | ",(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationmint")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-transfers"),": Return only assetallocationsend type transactions. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-token-transfers"),": Return any transactions not of type assetallocationsend. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"token-only")," &^ ",(0,r.kt)("em",{parentName:"li"},"token-transfers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Apply a custom numerical mask which is a bitmask of the following values:",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basecoin"),": 1"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),": 2"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation"),": 4"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin"),": 8"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum"),": 16"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationmint"),": 32"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetupdate"),": 64"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetsend"),": 128"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetactivate"),": 256"))))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"contract"),": return only transactions which affect specified contract or asset (applicable only to Ethereum and Syscoin)")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "page": 1,\n "totalPages": 1,\n "itemsOnPage": 1000,\n "address": "dgub8sbe5Mi8LA4dXB9zPfLZW8arm...9Vjp2HHx91xdDEmWYpmD49fpoUYF",\n "balance": "0",\n "totalReceived": "3083381250",\n "totalSent": "3083381250",\n "unconfirmedBalance": "0",\n "unconfirmedTxs": 0,\n "txs": 5,\n "txids": [\n "383ccb5da16fccad294e24a2ef77bdee5810573bb1b252d8b2af4f0ac8c4e04c",\n "75fb93d47969ac92112628e39148ad22323e96f0004c18f8c75938cffb6c1798",\n "e8cd84f204b4a42b98e535e72f461dd9832aa081458720b0a38db5856a884876",\n "57833d50969208091bd6c950599a1b5cf9d66d992ae8a8d3560fb943b98ebb23",\n "9cfd6295f20e74ddca6dd816c8eb71a91e4da70fe396aca6f8ce09dc2947839f",\n ],\n "usedTokens": 2,\n "tokens": [\n {\n "type": "XPUBAddress",\n "name": "DUCd1B3YBiXL5By15yXgSLZtEkvwsgEdqS",\n "path": "m/44\'/3\'/0\'/0/0",\n "transfers": 3,\n "decimals": 8,\n "balance": "0",\n "totalReceived": "2803986975",\n "totalSent": "2803986975"\n },\n {\n "type": "XPUBAddress",\n "name": "DKu2a8Wo6zC2dmBBYXwUG3fxWDHbKnNiPj",\n "path": "m/44\'/3\'/0\'/1/0",\n "transfers": 2,\n "decimals": 8,\n "balance": "0",\n "totalReceived": "279394275",\n "totalSent": "279394275"\n }\n ]\n}\n')),(0,r.kt)("p",null,"Note: ",(0,r.kt)("em",{parentName:"p"},"usedTokens")," always returns total number of ",(0,r.kt)("strong",{parentName:"p"},"used")," addresses of xpub."),(0,r.kt)("h4",{id:"get-utxo"},"Get utxo"),(0,r.kt)("p",null,"Returns array of unspent transaction outputs of address or xpub, applicable only for Bitcoin-type coins. By default, the list contains both confirmed and unconfirmed transactions. The query parameter ",(0,r.kt)("em",{parentName:"p"},"confirmed=true")," disables return of unconfirmed transactions. The returned utxos are sorted by block height, newest blocks first. For xpubs the response also contains address and derivation path of the utxo."),(0,r.kt)("p",null,"Unconfirmed utxos do not have field ",(0,r.kt)("em",{parentName:"p"},"height"),", the field ",(0,r.kt)("em",{parentName:"p"},"confirmations")," has value ",(0,r.kt)("em",{parentName:"p"},"0")," and may contain field ",(0,r.kt)("em",{parentName:"p"},"lockTime"),", if not zero."),(0,r.kt)("p",null,"Coinbase utxos do have field ",(0,r.kt)("em",{parentName:"p"},"coinbase")," set to true, however due to performance reasons only up to minimum coinbase confirmations limit (100). After this limit, utxos are not detected as coinbase."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/utxo/[?confirmed=true]\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "txid": "13d26cd939bf5d155b1c60054e02d9c9b832a85e6ec4f2411be44b6b5a2842e9",\n "vout": 0,\n "value": "1422303206539",\n "confirmations": 0,\n "lockTime": 2648100\n },\n {\n "txid": "a79e396a32e10856c97b95f43da7e9d2b9a11d446f7638dbd75e5e7603128cac",\n "vout": 1,\n "value": "39748685",\n "height": 2648043,\n "confirmations": 47,\n "coinbase": true\n },\n {\n "txid": "de4f379fdc3ea9be063e60340461a014f372a018d70c3db35701654e7066b3ef",\n "vout": 0,\n "value": "122492339065",\n "height": 2646043,\n "confirmations": 2047\n },\n {\n "txid": "9e8eb9b3d2e8e4b5d6af4c43a9196dfc55a05945c8675904d8c61f404ea7b1e9",\n "vout": 0,\n "value": "142771322208",\n "height": 2644885,\n "confirmations": 3205\n }\n]\n')),(0,r.kt)("h4",{id:"get-block"},"Get block"),(0,r.kt)("p",null,"Returns information about block with transactions, subject to paging."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/block/\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "page": 1,\n "totalPages": 1,\n "itemsOnPage": 1000,\n "hash": "760f8ed32894ccce9c1ea11c8a019cadaa82bcb434b25c30102dd7e43f326217",\n "previousBlockHash": "786a1f9f38493d32fd9f9c104d748490a070bc74a83809103bcadd93ae98288f",\n "nextBlockHash": "151615691b209de41dda4798a07e62db8429488554077552ccb1c4f8c7e9f57a",\n "height": 2648059,\n "confirmations": 47,\n "size": 951,\n "time": 1553096617,\n "version": 6422787,\n "merkleRoot": "6783f6083788c4f69b8af23bd2e4a194cf36ac34d590dfd97e510fe7aebc72c8",\n "nonce": "0",\n "bits": "1a063f3b",\n "difficulty": "2685605.260733312",\n "txCount": 2,\n "txs": [\n {\n "txid": "2b9fc57aaa8d01975631a703b0fc3f11d70671953fc769533b8078a04d029bf9",\n "vin": [\n {\n "n": 0,\n "value": "0"\n }\n ],\n "vout": [\n {\n "value": "1000100000000",\n "n": 0,\n "addresses": [\n "D6ravJL6Fgxtgp8k2XZZt1QfUmwwGuLwQJ"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "760f8ed32894ccce9c1ea11c8a019cadaa82bcb434b25c30102dd7e43f326217",\n "blockHeight": 2648059,\n "confirmations": 47,\n "blockTime": 1553096617,\n "value": "1000100000000",\n "valueIn": "0",\n "fees": "0"\n },\n {\n "txid": "d7ce10ecf9819801ecd6ee045cbb33436eef36a7db138206494bacedfd2832cf",\n "vin": [\n {\n "n": 0,\n "addresses": [\n "9sLa1AKzjWuNTe1CkLh5GDYyRP9enb1Spp"\n ],\n "isAddress": true,\n "value": "1277595845202"\n }\n ],\n "vout": [\n {\n "value": "9900000000",\n "n": 0,\n "addresses": [\n "DMnjrbcCEoeyvr7GEn8DS4ZXQjwq7E2zQU"\n ],\n "isAddress": true\n },\n {\n "value": "1267595845202",\n "n": 1,\n "spent": true,\n "addresses": [\n "9sLa1AKzjWuNTe1CkLh5GDYyRP9enb1Spp"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "760f8ed32894ccce9c1ea11c8a019cadaa82bcb434b25c30102dd7e43f326217",\n "blockHeight": 2648059,\n "confirmations": 47,\n "blockTime": 1553096617,\n "value": "1277495845202",\n "valueIn": "1277595845202",\n "fees": "100000000"\n }\n ]\n}\n')),(0,r.kt)("p",null,(0,r.kt)("em",{parentName:"p"},"Note: Blockbook always follows the main chain of the backend it is attached to. If there is a rollback-reorg in the backend, Blockbook will also do rollback. When you ask for block by height, you will always get the main chain block. If you ask for block by hash, you may get the block from another fork but it is not guaranteed (backend may not keep it)")),(0,r.kt)("h4",{id:"send-transaction"},"Send transaction"),(0,r.kt)("p",null,"Sends new transaction to backend."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/sendtx/\nPOST /api/v2/sendtx (hex tx data in request body)\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "result": "7c3be24063f268aaa1ed81b64776798f56088757641a34fb156c4f51ed2e9d25"\n}\n')),(0,r.kt)("p",null,"or in case of error"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "error": {\n "message": "error message"\n }\n}\n')),(0,r.kt)("h4",{id:"tickers-list"},"Tickers list"),(0,r.kt)("p",null,"Returns a list of available currency rate tickers for the specified date, along with an actual data timestamp."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tickers-list/?timestamp=\n")),(0,r.kt)("p",null,"The query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"timestamp"),": specifies a Unix timestamp to return available tickers for.")),(0,r.kt)("p",null,"Example response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts":1574346615,\n "available_currencies": [\n "eur",\n "usd"\n ]\n}\n')),(0,r.kt)("h4",{id:"tickers"},"Tickers"),(0,r.kt)("p",null,"Returns currency rate for the specified currency and date. If the currency is not available for that specific timestamp, the next closest rate will be returned.\nAll responses contain an actual rate timestamp."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tickers/[?currency=×tamp=]\n")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"currency"),': specifies a currency of returned rate ("usd", "eur", "eth"...). If not specified, all available currencies will be returned.'),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"timestamp"),": a Unix timestamp that specifies a date to return currency rates for. If not specified, the last available rate will be returned.")),(0,r.kt)("p",null,"Example response (no parameters):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts": 1574346615,\n "rates": {\n "eur": 7134.1,\n "usd": 7914.5\n }\n}\n')),(0,r.kt)("p",null,"Example response (currency=usd):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts": 1574346615,\n "rates": {\n "usd": 7914.5\n }\n}\n')),(0,r.kt)("p",null,"Example error response (e.g. rate unavailable, incorrect currency...):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts":7980386400,\n "rates": {\n "usd": -1\n }\n}\n')),(0,r.kt)("h4",{id:"balance-history"},"Balance history"),(0,r.kt)("p",null,"Returns a balance history for the specified XPUB or address."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/balancehistory/?from=&to=[&fiatcurrency=&groupBy=\n")),(0,r.kt)("p",null,"Query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"from"),": specifies a start date as a Unix timestamp"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"to"),": specifies an end date as a Unix timestamp")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"fiatcurrency"),": if specified, the response will contain fiat rate at the time of transaction. If not, all available currencies will be returned."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"groupBy"),": an interval in seconds, to group results by. Default is 3600 seconds.")),(0,r.kt)("p",null,"Example response (fiatcurrency not specified):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578391200,\n "txs": 5,\n "received": "5000000",\n "sent": "0",\n "rates": {\n "usd": 7855.9,\n "eur": 6838.13,\n ...\n }\n },\n {\n "time": 1578488400,\n "txs": 1,\n "received": "0",\n "sent": "5000000",\n "rates": {\n "usd": 8283.11,\n "eur": 7464.45,\n ...\n }\n }\n]\n')),(0,r.kt)("p",null,"Example response (fiatcurrency not specified):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578391200,\n "txs": 5,\n "received": "5000000",\n "sent": "0",\n "sentToSelf":"100000",\n "rates": {\n "usd": 7855.9,\n "eur": 6838.13,\n ...\n }\n },\n {\n "time": 1578488400,\n "txs": 1,\n "received": "0",\n "sent": "5000000",\n "sentToSelf":"0",\n "rates": {\n "usd": 8283.11,\n "eur": 7464.45,\n ...\n }\n }\n]\n')),(0,r.kt)("p",null,"Example response (fiatcurrency=usd):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578391200,\n "txs": 5,\n "received": "5000000",\n "sent": "0",\n "sentToSelf":"0",\n "rates": {\n "usd": 7855.9\n }\n },\n {\n "time": 1578488400,\n "txs": 1,\n "received": "0",\n "sent": "5000000",\n "sentToSelf":"0",\n "rates": {\n "usd": 8283.11\n }\n }\n]\n')),(0,r.kt)("p",null,"Example response (fiatcurrency=usd&groupBy=172800):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578355200,\n "txs": 6,\n "received": "5000000",\n "sent": "5000000",\n "sentToSelf":"0",\n "rates": {\n "usd": 7734.45\n }\n }\n]\n')),(0,r.kt)("p",null,"The value of ",(0,r.kt)("inlineCode",{parentName:"p"},"sentToSelf")," is the amount sent from the same address to the same address or within addresses of xpub."),(0,r.kt)("h3",{id:"websocket-api"},"Websocket API"),(0,r.kt)("p",null,"Websocket interface is provided at ",(0,r.kt)("inlineCode",{parentName:"p"},"/websocket/"),". The interface can be explored using Blockbook Websocket Test Page found at ",(0,r.kt)("inlineCode",{parentName:"p"},"/test-websocket.html"),"."),(0,r.kt)("p",null,"The websocket interface provides the following requests:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"getInfo"),(0,r.kt)("li",{parentName:"ul"},"getBlockHash"),(0,r.kt)("li",{parentName:"ul"},"getAccountInfo"),(0,r.kt)("li",{parentName:"ul"},"getAccountUtxo"),(0,r.kt)("li",{parentName:"ul"},"getTransaction"),(0,r.kt)("li",{parentName:"ul"},"getTransactionSpecific"),(0,r.kt)("li",{parentName:"ul"},"getBalanceHistory"),(0,r.kt)("li",{parentName:"ul"},"getCurrentFiatRates"),(0,r.kt)("li",{parentName:"ul"},"getFiatRatesTickersList"),(0,r.kt)("li",{parentName:"ul"},"getFiatRatesForTimestamps"),(0,r.kt)("li",{parentName:"ul"},"estimateFee"),(0,r.kt)("li",{parentName:"ul"},"sendTransaction"),(0,r.kt)("li",{parentName:"ul"},"ping")),(0,r.kt)("p",null,"The client can subscribe to the following events:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeNewBlock")," - new block added to blockchain"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeNewTransaction")," - new transaction added to blockchain (all addresses)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeAddresses")," - new transaction for given address (list of addresses)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeFiatRates")," - new currency rate ticker")),(0,r.kt)("p",null,"There can be always only one subscription of given event per connection, i.e. new list of addresses replaces previous list of addresses."),(0,r.kt)("p",null,"The subscribeNewTransaction event is not enabled by default. To enable support, blockbook must be run with the ",(0,r.kt)("inlineCode",{parentName:"p"},"-enablesubnewtx")," flag."),(0,r.kt)("p",null,(0,r.kt)("em",{parentName:"p"},"Note: If there is reorg on the backend (blockchain), you will get a new block hash with the same or even smaller height if the reorg is deeper")),(0,r.kt)("p",null,"Websocket communication format"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "id":"1", //an id to help to identify the response\n "method":"",\n "params":\n}\n')),(0,r.kt)("p",null,"Example for subscribing to an address (or multiple addresses)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "id":"1",\n "method":"subscribeAddresses",\n "params":{\n "addresses":["mnYYiDCb2JZXnqEeXta1nkt5oCVe2RVhJj", "tb1qp0we5epypgj4acd2c4au58045ruud2pd6heuee"]\n }\n}\n')),(0,r.kt)("h2",{id:"legacy-api-v1"},"Legacy API V1"),(0,r.kt)("p",null,"The legacy API is a compatible subset of API provided by ",(0,r.kt)("strong",{parentName:"p"},"Bitcore Insight"),". It supports only Bitcoin-type coins. The details of the REST/socket.io requests can be found in the Insight's documentation."),(0,r.kt)("h3",{id:"rest-api-1"},"REST API"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v1/block-index/\nGET /api/v1/tx/\nGET /api/v1/address/
\nGET /api/v1/utxo/
\nGET /api/v1/block/\nGET /api/v1/estimatefee/\nGET /api/v1/sendtx/\nPOST /api/v1/sendtx (hex tx data in request body)\n")),(0,r.kt)("h3",{id:"socketio-api"},"Socket.io API"),(0,r.kt)("p",null,"Socket.io interface is provided at ",(0,r.kt)("inlineCode",{parentName:"p"},"/socket.io/"),". The interface also can be explored using Blockbook Socket.io Test Page found at ",(0,r.kt)("inlineCode",{parentName:"p"},"/test-socketio.html"),"."),(0,r.kt)("p",null,"The legacy API is provided as is and will not be further developed."),(0,r.kt)("p",null,"The legacy API is currently (Blockbook v0.3.5) also accessible without the ",(0,r.kt)("em",{parentName:"p"},"/v1/")," prefix, however in the future versions the version less access will be removed."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/da6e3234.e9d562ce.js b/assets/js/da6e3234.e9d562ce.js new file mode 100644 index 00000000..275d6038 --- /dev/null +++ b/assets/js/da6e3234.e9d562ce.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[457],{3905:(e,t,a)=>{a.d(t,{Zo:()=>p,kt:()=>u});var n=a(67294);function r(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t=0||(r[a]=e[a]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(r[a]=e[a])}return r}var o=n.createContext({}),c=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},p=function(e){var t=c(e.components);return n.createElement(o.Provider,{value:t},e.children)},d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var a=e.components,r=e.mdxType,s=e.originalType,o=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),m=c(a),u=r,k=m["".concat(o,".").concat(u)]||m[u]||d[u]||s;return a?n.createElement(k,i(i({ref:t},p),{},{components:a})):n.createElement(k,i({ref:t},p))}));function u(e,t){var a=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var s=a.length,i=new Array(s);i[0]=m;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l.mdxType="string"==typeof e?e:r,i[1]=l;for(var c=2;c{a.r(t),a.d(t,{default:()=>c,frontMatter:()=>s,metadata:()=>i,toc:()=>l});var n=a(87462),r=(a(67294),a(3905));const s={sidebar_position:7},i={unversionedId:"dev-resources/documentation/javascript-sdk-ref/blockbook",id:"dev-resources/documentation/javascript-sdk-ref/blockbook",isDocsHomePage:!1,title:"Blockbook API",description:"Blockbook provides REST, websocket and socket.io API to the indexed blockchain.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/blockbook.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/blockbook",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook",version:"current",sidebarPosition:7,frontMatter:{sidebar_position:7},sidebar:"tutorialSidebar",previous:{title:"Types",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/types"},next:{title:"Examples",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/examples"}},l=[{value:"API V2",id:"api-v2",children:[{value:"REST API",id:"rest-api",children:[]},{value:"Websocket API",id:"websocket-api",children:[]}]},{value:"Legacy API V1",id:"legacy-api-v1",children:[{value:"REST API",id:"rest-api-1",children:[]},{value:"Socket.io API",id:"socketio-api",children:[]}]}],o={toc:l};function c(e){let{components:t,...a}=e;return(0,r.kt)("wrapper",(0,n.Z)({},o,a,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,(0,r.kt)("strong",{parentName:"p"},"Blockbook")," provides REST, websocket and socket.io API to the indexed blockchain."),(0,r.kt)("p",null,"There are two versions of provided API."),(0,r.kt)("h2",{id:"api-v2"},"API V2"),(0,r.kt)("p",null,"API V2 is the current version of API. It can be used with all coin types that Blockbook supports. API V2 can be accessed using REST and websocket interface."),(0,r.kt)("p",null,"Common principles used in API V2:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"all amounts are transferred as strings, in the lowest denomination (satoshis, wei, ...), without decimal point"),(0,r.kt)("li",{parentName:"ul"},"empty fields are omitted. Empty field is a string of value ",(0,r.kt)("em",{parentName:"li"},"null")," or ",(0,r.kt)("em",{parentName:"li"},'""'),", a number of value ",(0,r.kt)("em",{parentName:"li"},"0"),", an object of value ",(0,r.kt)("em",{parentName:"li"},"null")," or an array without elements. The reason for this is that the interface serves many different coins which use only subset of the fields. Sometimes this principle can lead to slightly confusing results, for example when transaction version is 0, the field ",(0,r.kt)("em",{parentName:"li"},"version")," is omitted.")),(0,r.kt)("h3",{id:"rest-api"},"REST API"),(0,r.kt)("p",null,"The following methods are supported:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#status"},"Status")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-block-hash"},"Get block hash")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-transaction"},"Get transaction")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-transaction-specific"},"Get transaction specific")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-address"},"Get address")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-xpub"},"Get xpub")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-utxo"},"Get utxo")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#get-block"},"Get block")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#send-transaction"},"Send transaction")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#tickers-list"},"Tickers list")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#tickers"},"Tickers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("a",{parentName:"li",href:"#balance-history"},"Balance history"))),(0,r.kt)("h4",{id:"status-page"},"Status page"),(0,r.kt)("p",null,"Status page returns current status of Blockbook and connected backend."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "blockbook": {\n "coin": "Bitcoin",\n "host": "blockbook",\n "version": "0.3.5",\n "gitCommit": "3d9ad91",\n "buildTime": "2019-05-17T14:34:00+00:00",\n "syncMode": true,\n "initialSync": false,\n "inSync": true,\n "bestHeight": 577261,\n "lastBlockTime": "2019-05-22T18:03:33.547762973+02:00",\n "inSyncMempool": true,\n "lastMempoolTime": "2019-05-22T18:10:10.27929383+02:00",\n "mempoolSize": 17348,\n "decimals": 8,\n "dbSize": 191887866502,\n "about": "Blockbook - blockchain indexer for Trezor wallet https://trezor.io/. Do not use for any other purpose."\n },\n "backend": {\n "chain": "main",\n "blocks": 577261,\n "headers": 577261,\n "bestBlockHash": "0000000000000000000ca8c902aa58b3118a7f35d093e25a07f17bcacd91cabf",\n "difficulty": "6704632680587.417",\n "sizeOnDisk": 250504188580,\n "version": "180000",\n "subversion": "/Satoshi:0.18.0/",\n "protocolVersion": "70015",\n "timeOffset": 0,\n "warnings": ""\n }\n}\n')),(0,r.kt)("h4",{id:"get-block-hash"},"Get block hash"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/block-index/\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "blockHash": "ed8f3af8c10ca70a136901c6dd3adf037f0aea8a93fbe9e80939214034300f1e"\n}\n')),(0,r.kt)("p",null,(0,r.kt)("em",{parentName:"p"},"Note: Blockbook always follows the main chain of the backend it is attached to. See notes on ",(0,r.kt)("strong",{parentName:"em"},"Get Block")," below")),(0,r.kt)("h4",{id:"get-transaction"},"Get transaction"),(0,r.kt)("p",null,'Get transaction returns "normalized" data about transaction, which has the same general structure for all supported coins. It does not return coin specific fields (for example information about Zcash shielded addresses).'),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tx/\n")),(0,r.kt)("p",null,"Response for Bitcoin-type coins:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "txid": "9e2bc8fbd40af17a6564831f84aef0cab2046d4bad19e91c09d21bff2c851851",\n "version": 1,\n "vin": [\n {\n "txid": "f124e6999bf67e710b9e8a8ac4dbb08a64aa9c264120cf98793455e36a531615",\n "vout": 2,\n "sequence": 4294967295,\n "n": 0,\n "addresses": [\n "DDhUv8JZGmSxKYV95NLnbRTUKni9cDZD3S"\n ],\n "isAddress": true,\n "value": "55795108999999",\n "hex": "473...2c7ec77bb982"\n }\n ],\n "vout": [\n {\n "value": "55585679000000",\n "n": 0,\n "hex": "76a914feaca9d9fa7120c7c587c00c639bb18d40faadd388ac",\n "addresses": [\n "DUMh1rPrXTrCN2Z9EHsLPg7b78rACHB2h7"\n ],\n "isAddress": true\n },\n {\n "value": "209329999999",\n "n": 1,\n "hex": "76a914ea8984be785868391d92f49c14933f47c152ea0a88ac",\n "addresses": [\n "DSXDQ6rnwLX47WFRnemctoXPHA9pLMxqXn"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "78d1f3de899a10dd2e580704226ebf9508e95e1706f177fc9c31c47f245d2502",\n "blockHeight": 2647927,\n "confirmations": 1,\n "blockTime": 1553088212,\n "value": "55795008999999",\n "valueIn": "55795108999999",\n "fees": "100000000",\n "hex": "0100000...0011000"\n}\n')),(0,r.kt)("p",null,"Response for Ethereum-type coins. There is always only one ",(0,r.kt)("em",{parentName:"p"},"vin"),", only one ",(0,r.kt)("em",{parentName:"p"},"vout"),", possibly an array of ",(0,r.kt)("em",{parentName:"p"},"tokenTransfers")," and ",(0,r.kt)("em",{parentName:"p"},"ethereumSpecific")," part. Note that ",(0,r.kt)("em",{parentName:"p"},"tokenTransfers")," will also exist for any coins exposing a token interface including Ethereum and Syscoin. Missing is ",(0,r.kt)("em",{parentName:"p"},"hex")," field:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "txid": "0xb78a36a4a0e7d708d595c3b193cace8f5b420e72e1f595a5387d87de509f0806",\n "vin": [\n {\n "n": 0,\n "addresses": [\n "0x9c2e011c0ce0d75c2b62b9c5a0ba0a7456593803"\n ],\n "isAddress": true\n }\n ],\n "vout": [\n {\n "value": "0",\n "n": 0,\n "addresses": [\n "0xc32ae45504ee9482db99cfa21066a59e877bc0e6"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "0x39df7fb0893200e1e78c04f98691637a89b64e7a3edd96c16f2537e2fd56c414",\n "blockHeight": 5241585,\n "confirmations": 3,\n "blockTime": 1553088337,\n "value": "0",\n "fees": "402501000000000",\n "tokenTransfers": [\n {\n "type": "ERC20",\n "from": "0x9c2e011c0ce0d75c2b62b9c5a0ba0a7456593803",\n "to": "0x583cbbb8a8443b38abcc0c956bece47340ea1367",\n "token": "0xc32ae45504ee9482db99cfa21066a59e877bc0e6",\n "name": "Tangany Test Token",\n "symbol": "TATETO",\n "decimals": 18,\n "value": "133800000"\n }\n ],\n "ethereumSpecific": {\n "status": 1,\n "nonce": 2830,\n "gasLimit": 36591,\n "gasUsed": 36591,\n "gasPrice": "11000000000",\n "data": "0xa9059cbb000000000000000000000000ba98d6a5"\n }\n}\n')),(0,r.kt)("p",null,"A note about the ",(0,r.kt)("inlineCode",{parentName:"p"},"blockTime")," field:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"for already mined transaction (",(0,r.kt)("inlineCode",{parentName:"li"},"confirmations > 0"),"), the field ",(0,r.kt)("inlineCode",{parentName:"li"},"blockTime")," contains time of the block"),(0,r.kt)("li",{parentName:"ul"},"for transactions in mempool (",(0,r.kt)("inlineCode",{parentName:"li"},"confirmations == 0"),"), the field contains time when the running instance of Blockbook was first time notified about the transaction. This time may be different in different instances of Blockbook.")),(0,r.kt)("h4",{id:"get-transaction-specific"},"Get transaction specific"),(0,r.kt)("p",null,"Returns transaction data in the exact format as returned by backend, including all coin specific fields:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tx-specific/\n")),(0,r.kt)("p",null,"Example response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "hex": "040000808...8e6e73cb009",\n "txid": "7a0a0ff6f67bac2a856c7296382b69151949878de6fb0d01a8efa197182b2913",\n "overwintered": true,\n "version": 4,\n "versiongroupid": "892f2085",\n "locktime": 0,\n "expiryheight": 495680,\n "vin": [],\n "vout": [],\n "vjoinsplit": [],\n "valueBalance": 0,\n "vShieldedSpend": [\n {\n "cv": "50258bfa65caa9f42f4448b9194840c7da73afc8159faf7358140bfd0f237962",\n "anchor": "6beb3b64ecb30033a9032e1a65a68899917625d1fdd2540e70f19f3078f5dd9b",\n "nullifier": "08e5717f6606af7c2b01206ff833eaa6383bb49c7451534b2e16d588956fd10a",\n "rk": "36841a9be87a7022445b77f433cdd0355bbed498656ab399aede1e5285e9e4a2",\n "proof": "aecf824dbae8eea863ec6...73878c37391f01df520aa",\n "spendAuthSig": "65b9477cb1ec5da...1178fe402e5702c646945197108339609"\n },\n {\n "cv": "a5aab3721e33d6d6360eabd21cbd07524495f202149abdc3eb30f245d503678c",\n "anchor": "6beb3b64ecb30033a9032e1a65a68899917625d1fdd2540e70f19f3078f5dd9b",\n "nullifier": "60e790d6d0e12e777fb2b18bc97cf42a92b1e47460e1bd0b0ffd294c23232cc9",\n "rk": "2d741695e76351597712b4a04d2a4e108a116f376283d2d104219b86e2930117",\n "proof": "a0c2a6fdcbba966b9894...3a9c3118b76c8e2352d524cbb44c02decaeda7",\n "spendAuthSig": "feea902e01eac9ebd...b43b4af6b607ce5b0b38f708"\n }\n ],\n "vShieldedOutput": [\n {\n "cv": "23db384cde862f20238a1004e57ba18f114acabc7fd2ac029757f82af5bd4cab",\n "cmu": "3ff5a5ff521fabefb5287fef4feb2642d69ead5fe18e6ac717cfd76a8d4088bc",\n "ephemeralKey": "057ff6e059967784fa6ac34ad9ecfd9c0c0aba743b7cd444a65ecc32192d5870",\n "encCiphertext": "a533d3b99b...a0204",\n "outCiphertext": "4baabc15199504b1...c1ad6a",\n "proof": "aa1fb2706cba5...1ec7e81f5deea90d4f57713f3b4fc8d636908235fa378ebf1"\n }\n ],\n "bindingSig": "bc018af8808387...5130bb382ad8e6e73cb009",\n "blockhash": "0000000001c4aa394e796dd1b82e358f114535204f6f5b6cf4ad58dc439c47af",\n "confirmations": 5222,\n "time": 1552301566,\n "blocktime": 1552301566\n}\n')),(0,r.kt)("h4",{id:"get-address"},"Get address"),(0,r.kt)("p",null,"Returns balances and transactions of an address. The returned transactions are sorted by block height, newest blocks first."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/address/
[?page=&pageSize=&from=&to=&details=&filter=&contract=]\n")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"page"),": specifies page of returned transactions, starting from 1. If out of range, Blockbook returns the closest possible page."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"pageSize"),": number of transactions returned by call (default and maximum 1000)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to"),": filter of the returned transactions ",(0,r.kt)("em",{parentName:"li"},"from")," block height ",(0,r.kt)("em",{parentName:"li"},"to")," block height (default no filter)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"details"),": specifies level of details returned by request (default ",(0,r.kt)("em",{parentName:"li"},"txids"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basic"),": return only address balances, without any transactions"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokens"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens belonging to the address (applicable only to some coins)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokenBalances"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens with balances + belonging to the address (applicable only to some coins)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txids"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of txids, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txslight"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of transaction with limited details (only data from index), subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txs"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of transaction with details, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"filter"),": specifies what tokens (xpub addresses/tokens) are returned by the request (default ",(0,r.kt)("em",{parentName:"li"},"nonzero"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"inputs"),": Return transactions sending inputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"outputs"),": Return transactions sending outputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Return specific numerical vout index"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetMask"),": What type of transactions to return (default ",(0,r.kt)("em",{parentName:"li"},"all"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"all"),": Returns all types of transactions, base and asset type. The assetMask will represent value of all values OR'ed together see below in ",(0,r.kt)("em",{parentName:"li"},"=")," for the masks."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-tokens"),": Return only base coin transactions no asset type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"basecoin"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-only"),": Return only asset type transactions no base coin type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetactivate")," | ",(0,r.kt)("em",{parentName:"li"},"assetupdate")," | ",(0,r.kt)("em",{parentName:"li"},"assetsend")," | ",(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationmint")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-transfers"),": Return only assetallocationsend type transactions. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-token-transfers"),": Return any transactions not of type assetallocationsend. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"token-only")," &^ ",(0,r.kt)("em",{parentName:"li"},"token-transfers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Apply a custom numerical mask which is a bitmask of the following values:",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basecoin"),": 1"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),": 2"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation"),": 4"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin"),": 8"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum"),": 16"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationmint"),": 32"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetupdate"),": 64"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetsend"),": 128"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetactivate"),": 256"))))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"contract"),": return only transactions which affect specified contract or asset (applicable only to Ethereum and Syscoin)")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "page": 1,\n "totalPages": 1,\n "itemsOnPage": 1000,\n "address": "D5Z7XrtJNg7hAtznSDMXvfiFmMYphwuWz7",\n "balance": "2432468097999991",\n "totalReceived": "3992283916999979",\n "totalSent": "1559815818999988",\n "unconfirmedBalance": "0",\n "unconfirmedTxs": 0,\n "txs": 3,\n "txids": [\n "461dd46d5d6f56d765f82e60e6bf0727a3a1d1cb8c4144373d805b152a21d308",\n "bdb5b47603c5d174eae3384c368068c8e9d2183b398ed0e31d125defa4447a10",\n "5c1d2686d70d82bd8e84b5d3dc4bd0e8485e28cdc865336db6a5e40b2098277d"\n ]\n}\n')),(0,r.kt)("h4",{id:"get-xpub"},"Get xpub"),(0,r.kt)("p",null,"Returns balances and transactions of an xpub, applicable only for Bitcoin-type coins."),(0,r.kt)("p",null,"Blockbook supports BIP44, BIP49 and BIP84 derivation schemes. It expects xpub at level 3 derivation path, i.e. ",(0,r.kt)("em",{parentName:"p"},"m/purpose'/coin_type'/account'/"),". Blockbook completes the ",(0,r.kt)("em",{parentName:"p"},"change/address_index")," part of the path when deriving addresses."),(0,r.kt)("p",null,"The BIP version is determined by the prefix of the xpub. The prefixes for each coin are defined by fields ",(0,r.kt)("inlineCode",{parentName:"p"},"xpub_magic"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"xpub_magic_segwit_p2sh"),", ",(0,r.kt)("inlineCode",{parentName:"p"},"xpub_magic_segwit_native")," in the ",(0,r.kt)("a",{parentName:"p",href:"https://github.com/trezor/trezor-common/tree/master/defs/bitcoin"},"trezor-common")," library. If the prefix is not recognized, Blockbook defaults to BIP44 derivation scheme."),(0,r.kt)("p",null,"The returned transactions are sorted by block height, newest blocks first."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/xpub/[?page=&pageSize=&from=&to=&details=&tokens=&filter=]\n")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"page"),": specifies page of returned transactions, starting from 1. If out of range, Blockbook returns the closest possible page. Tokens are only returned for coins that have token platforms (Syscoin)."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"pageSize"),": number of transactions returned by call (default and maximum 1000)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to"),": filter of the returned transactions ",(0,r.kt)("em",{parentName:"li"},"from")," block height ",(0,r.kt)("em",{parentName:"li"},"to")," block height (default no filter)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"details"),": specifies level of details returned by request (default ",(0,r.kt)("em",{parentName:"li"},"txids"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basic"),": return only xpub balances, without any derived addresses and transactions"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokens"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens (addresses/tokens) derived from the xpub, subject to ",(0,r.kt)("em",{parentName:"li"},"tokens")," parameter"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokenBalances"),": ",(0,r.kt)("em",{parentName:"li"},"basic")," + tokens (addresses/tokens) derived from the xpub with balances, subject to ",(0,r.kt)("em",{parentName:"li"},"tokens")," parameter"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txids"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of txids, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"txs"),": ",(0,r.kt)("em",{parentName:"li"},"tokenBalances")," + list of transaction with details, subject to ",(0,r.kt)("em",{parentName:"li"},"from"),", ",(0,r.kt)("em",{parentName:"li"},"to")," filter and paging"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"tokens"),": specifies what tokens (xpub addresses/tokens) are returned by the request (default ",(0,r.kt)("em",{parentName:"li"},"nonzero"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"nonzero"),": return only addresses/tokens with nonzero balance"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"used"),": return addresses/tokens with at least one transaction"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"derived"),": return all derived addresses/tokens"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"filter"),": specifies what tokens (xpub addresses/tokens) are returned by the request (default ",(0,r.kt)("em",{parentName:"li"},"nonzero"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"inputs"),": Return transactions sending inputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"outputs"),": Return transactions sending outputs to this xpub"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Return specific numerical vout index"))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetMask"),": What type of transactions to return (default ",(0,r.kt)("em",{parentName:"li"},"all"),")",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"all"),": Returns all types of transactions, base and asset type. The assetMask will represent value of all values OR'ed together see below in ",(0,r.kt)("em",{parentName:"li"},"=")," for the masks."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-tokens"),": Return only base coin transactions no asset type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"basecoin"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-only"),": Return only asset type transactions no base coin type. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetactivate")," | ",(0,r.kt)("em",{parentName:"li"},"assetupdate")," | ",(0,r.kt)("em",{parentName:"li"},"assetsend")," | ",(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationmint")," | ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"token-transfers"),": Return only assetallocationsend type transactions. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),"."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"non-token-transfers"),": Return any transactions not of type assetallocationsend. The assetMask will represent value of ",(0,r.kt)("em",{parentName:"li"},"token-only")," &^ ",(0,r.kt)("em",{parentName:"li"},"token-transfers")),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"="),": Apply a custom numerical mask which is a bitmask of the following values:",(0,r.kt)("ul",{parentName:"li"},(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"basecoin"),": 1"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationsend"),": 2"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"syscoinburntoallocation"),": 4"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntosyscoin"),": 8"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationburntoethereum"),": 16"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetallocationmint"),": 32"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetupdate"),": 64"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetsend"),": 128"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"assetactivate"),": 256"))))),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"contract"),": return only transactions which affect specified contract or asset (applicable only to Ethereum and Syscoin)")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "page": 1,\n "totalPages": 1,\n "itemsOnPage": 1000,\n "address": "dgub8sbe5Mi8LA4dXB9zPfLZW8arm...9Vjp2HHx91xdDEmWYpmD49fpoUYF",\n "balance": "0",\n "totalReceived": "3083381250",\n "totalSent": "3083381250",\n "unconfirmedBalance": "0",\n "unconfirmedTxs": 0,\n "txs": 5,\n "txids": [\n "383ccb5da16fccad294e24a2ef77bdee5810573bb1b252d8b2af4f0ac8c4e04c",\n "75fb93d47969ac92112628e39148ad22323e96f0004c18f8c75938cffb6c1798",\n "e8cd84f204b4a42b98e535e72f461dd9832aa081458720b0a38db5856a884876",\n "57833d50969208091bd6c950599a1b5cf9d66d992ae8a8d3560fb943b98ebb23",\n "9cfd6295f20e74ddca6dd816c8eb71a91e4da70fe396aca6f8ce09dc2947839f",\n ],\n "usedTokens": 2,\n "tokens": [\n {\n "type": "XPUBAddress",\n "name": "DUCd1B3YBiXL5By15yXgSLZtEkvwsgEdqS",\n "path": "m/44\'/3\'/0\'/0/0",\n "transfers": 3,\n "decimals": 8,\n "balance": "0",\n "totalReceived": "2803986975",\n "totalSent": "2803986975"\n },\n {\n "type": "XPUBAddress",\n "name": "DKu2a8Wo6zC2dmBBYXwUG3fxWDHbKnNiPj",\n "path": "m/44\'/3\'/0\'/1/0",\n "transfers": 2,\n "decimals": 8,\n "balance": "0",\n "totalReceived": "279394275",\n "totalSent": "279394275"\n }\n ]\n}\n')),(0,r.kt)("p",null,"Note: ",(0,r.kt)("em",{parentName:"p"},"usedTokens")," always returns total number of ",(0,r.kt)("strong",{parentName:"p"},"used")," addresses of xpub."),(0,r.kt)("h4",{id:"get-utxo"},"Get utxo"),(0,r.kt)("p",null,"Returns array of unspent transaction outputs of address or xpub, applicable only for Bitcoin-type coins. By default, the list contains both confirmed and unconfirmed transactions. The query parameter ",(0,r.kt)("em",{parentName:"p"},"confirmed=true")," disables return of unconfirmed transactions. The returned utxos are sorted by block height, newest blocks first. For xpubs the response also contains address and derivation path of the utxo."),(0,r.kt)("p",null,"Unconfirmed utxos do not have field ",(0,r.kt)("em",{parentName:"p"},"height"),", the field ",(0,r.kt)("em",{parentName:"p"},"confirmations")," has value ",(0,r.kt)("em",{parentName:"p"},"0")," and may contain field ",(0,r.kt)("em",{parentName:"p"},"lockTime"),", if not zero."),(0,r.kt)("p",null,"Coinbase utxos do have field ",(0,r.kt)("em",{parentName:"p"},"coinbase")," set to true, however due to performance reasons only up to minimum coinbase confirmations limit (100). After this limit, utxos are not detected as coinbase."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/utxo/[?confirmed=true]\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "txid": "13d26cd939bf5d155b1c60054e02d9c9b832a85e6ec4f2411be44b6b5a2842e9",\n "vout": 0,\n "value": "1422303206539",\n "confirmations": 0,\n "lockTime": 2648100\n },\n {\n "txid": "a79e396a32e10856c97b95f43da7e9d2b9a11d446f7638dbd75e5e7603128cac",\n "vout": 1,\n "value": "39748685",\n "height": 2648043,\n "confirmations": 47,\n "coinbase": true\n },\n {\n "txid": "de4f379fdc3ea9be063e60340461a014f372a018d70c3db35701654e7066b3ef",\n "vout": 0,\n "value": "122492339065",\n "height": 2646043,\n "confirmations": 2047\n },\n {\n "txid": "9e8eb9b3d2e8e4b5d6af4c43a9196dfc55a05945c8675904d8c61f404ea7b1e9",\n "vout": 0,\n "value": "142771322208",\n "height": 2644885,\n "confirmations": 3205\n }\n]\n')),(0,r.kt)("h4",{id:"get-block"},"Get block"),(0,r.kt)("p",null,"Returns information about block with transactions, subject to paging."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/block/\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "page": 1,\n "totalPages": 1,\n "itemsOnPage": 1000,\n "hash": "760f8ed32894ccce9c1ea11c8a019cadaa82bcb434b25c30102dd7e43f326217",\n "previousBlockHash": "786a1f9f38493d32fd9f9c104d748490a070bc74a83809103bcadd93ae98288f",\n "nextBlockHash": "151615691b209de41dda4798a07e62db8429488554077552ccb1c4f8c7e9f57a",\n "height": 2648059,\n "confirmations": 47,\n "size": 951,\n "time": 1553096617,\n "version": 6422787,\n "merkleRoot": "6783f6083788c4f69b8af23bd2e4a194cf36ac34d590dfd97e510fe7aebc72c8",\n "nonce": "0",\n "bits": "1a063f3b",\n "difficulty": "2685605.260733312",\n "txCount": 2,\n "txs": [\n {\n "txid": "2b9fc57aaa8d01975631a703b0fc3f11d70671953fc769533b8078a04d029bf9",\n "vin": [\n {\n "n": 0,\n "value": "0"\n }\n ],\n "vout": [\n {\n "value": "1000100000000",\n "n": 0,\n "addresses": [\n "D6ravJL6Fgxtgp8k2XZZt1QfUmwwGuLwQJ"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "760f8ed32894ccce9c1ea11c8a019cadaa82bcb434b25c30102dd7e43f326217",\n "blockHeight": 2648059,\n "confirmations": 47,\n "blockTime": 1553096617,\n "value": "1000100000000",\n "valueIn": "0",\n "fees": "0"\n },\n {\n "txid": "d7ce10ecf9819801ecd6ee045cbb33436eef36a7db138206494bacedfd2832cf",\n "vin": [\n {\n "n": 0,\n "addresses": [\n "9sLa1AKzjWuNTe1CkLh5GDYyRP9enb1Spp"\n ],\n "isAddress": true,\n "value": "1277595845202"\n }\n ],\n "vout": [\n {\n "value": "9900000000",\n "n": 0,\n "addresses": [\n "DMnjrbcCEoeyvr7GEn8DS4ZXQjwq7E2zQU"\n ],\n "isAddress": true\n },\n {\n "value": "1267595845202",\n "n": 1,\n "spent": true,\n "addresses": [\n "9sLa1AKzjWuNTe1CkLh5GDYyRP9enb1Spp"\n ],\n "isAddress": true\n }\n ],\n "blockHash": "760f8ed32894ccce9c1ea11c8a019cadaa82bcb434b25c30102dd7e43f326217",\n "blockHeight": 2648059,\n "confirmations": 47,\n "blockTime": 1553096617,\n "value": "1277495845202",\n "valueIn": "1277595845202",\n "fees": "100000000"\n }\n ]\n}\n')),(0,r.kt)("p",null,(0,r.kt)("em",{parentName:"p"},"Note: Blockbook always follows the main chain of the backend it is attached to. If there is a rollback-reorg in the backend, Blockbook will also do rollback. When you ask for block by height, you will always get the main chain block. If you ask for block by hash, you may get the block from another fork but it is not guaranteed (backend may not keep it)")),(0,r.kt)("h4",{id:"send-transaction"},"Send transaction"),(0,r.kt)("p",null,"Sends new transaction to backend."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/sendtx/\nPOST /api/v2/sendtx (hex tx data in request body)\n")),(0,r.kt)("p",null,"Response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "result": "7c3be24063f268aaa1ed81b64776798f56088757641a34fb156c4f51ed2e9d25"\n}\n')),(0,r.kt)("p",null,"or in case of error"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "error": {\n "message": "error message"\n }\n}\n')),(0,r.kt)("h4",{id:"tickers-list"},"Tickers list"),(0,r.kt)("p",null,"Returns a list of available currency rate tickers for the specified date, along with an actual data timestamp."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tickers-list/?timestamp=\n")),(0,r.kt)("p",null,"The query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"timestamp"),": specifies a Unix timestamp to return available tickers for.")),(0,r.kt)("p",null,"Example response:"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts":1574346615,\n "available_currencies": [\n "eur",\n "usd"\n ]\n}\n')),(0,r.kt)("h4",{id:"tickers"},"Tickers"),(0,r.kt)("p",null,"Returns currency rate for the specified currency and date. If the currency is not available for that specific timestamp, the next closest rate will be returned.\nAll responses contain an actual rate timestamp."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/tickers/[?currency=×tamp=]\n")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"currency"),': specifies a currency of returned rate ("usd", "eur", "eth"...). If not specified, all available currencies will be returned.'),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"timestamp"),": a Unix timestamp that specifies a date to return currency rates for. If not specified, the last available rate will be returned.")),(0,r.kt)("p",null,"Example response (no parameters):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts": 1574346615,\n "rates": {\n "eur": 7134.1,\n "usd": 7914.5\n }\n}\n')),(0,r.kt)("p",null,"Example response (currency=usd):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts": 1574346615,\n "rates": {\n "usd": 7914.5\n }\n}\n')),(0,r.kt)("p",null,"Example error response (e.g. rate unavailable, incorrect currency...):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'{\n "ts":7980386400,\n "rates": {\n "usd": -1\n }\n}\n')),(0,r.kt)("h4",{id:"balance-history"},"Balance history"),(0,r.kt)("p",null,"Returns a balance history for the specified XPUB or address."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v2/balancehistory/?from=&to=[&fiatcurrency=&groupBy=\n")),(0,r.kt)("p",null,"Query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"from"),": specifies a start date as a Unix timestamp"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"to"),": specifies an end date as a Unix timestamp")),(0,r.kt)("p",null,"The optional query parameters:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"fiatcurrency"),": if specified, the response will contain fiat rate at the time of transaction. If not, all available currencies will be returned."),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("em",{parentName:"li"},"groupBy"),": an interval in seconds, to group results by. Default is 3600 seconds.")),(0,r.kt)("p",null,"Example response (fiatcurrency not specified):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578391200,\n "txs": 5,\n "received": "5000000",\n "sent": "0",\n "rates": {\n "usd": 7855.9,\n "eur": 6838.13,\n ...\n }\n },\n {\n "time": 1578488400,\n "txs": 1,\n "received": "0",\n "sent": "5000000",\n "rates": {\n "usd": 8283.11,\n "eur": 7464.45,\n ...\n }\n }\n]\n')),(0,r.kt)("p",null,"Example response (fiatcurrency not specified):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578391200,\n "txs": 5,\n "received": "5000000",\n "sent": "0",\n "sentToSelf":"100000",\n "rates": {\n "usd": 7855.9,\n "eur": 6838.13,\n ...\n }\n },\n {\n "time": 1578488400,\n "txs": 1,\n "received": "0",\n "sent": "5000000",\n "sentToSelf":"0",\n "rates": {\n "usd": 8283.11,\n "eur": 7464.45,\n ...\n }\n }\n]\n')),(0,r.kt)("p",null,"Example response (fiatcurrency=usd):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578391200,\n "txs": 5,\n "received": "5000000",\n "sent": "0",\n "sentToSelf":"0",\n "rates": {\n "usd": 7855.9\n }\n },\n {\n "time": 1578488400,\n "txs": 1,\n "received": "0",\n "sent": "5000000",\n "sentToSelf":"0",\n "rates": {\n "usd": 8283.11\n }\n }\n]\n')),(0,r.kt)("p",null,"Example response (fiatcurrency=usd&groupBy=172800):"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-javascript"},'[\n {\n "time": 1578355200,\n "txs": 6,\n "received": "5000000",\n "sent": "5000000",\n "sentToSelf":"0",\n "rates": {\n "usd": 7734.45\n }\n }\n]\n')),(0,r.kt)("p",null,"The value of ",(0,r.kt)("inlineCode",{parentName:"p"},"sentToSelf")," is the amount sent from the same address to the same address or within addresses of xpub."),(0,r.kt)("h3",{id:"websocket-api"},"Websocket API"),(0,r.kt)("p",null,"Websocket interface is provided at ",(0,r.kt)("inlineCode",{parentName:"p"},"/websocket/"),". The interface can be explored using Blockbook Websocket Test Page found at ",(0,r.kt)("inlineCode",{parentName:"p"},"/test-websocket.html"),"."),(0,r.kt)("p",null,"The websocket interface provides the following requests:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},"getInfo"),(0,r.kt)("li",{parentName:"ul"},"getBlockHash"),(0,r.kt)("li",{parentName:"ul"},"getAccountInfo"),(0,r.kt)("li",{parentName:"ul"},"getAccountUtxo"),(0,r.kt)("li",{parentName:"ul"},"getTransaction"),(0,r.kt)("li",{parentName:"ul"},"getTransactionSpecific"),(0,r.kt)("li",{parentName:"ul"},"getBalanceHistory"),(0,r.kt)("li",{parentName:"ul"},"getCurrentFiatRates"),(0,r.kt)("li",{parentName:"ul"},"getFiatRatesTickersList"),(0,r.kt)("li",{parentName:"ul"},"getFiatRatesForTimestamps"),(0,r.kt)("li",{parentName:"ul"},"estimateFee"),(0,r.kt)("li",{parentName:"ul"},"sendTransaction"),(0,r.kt)("li",{parentName:"ul"},"ping")),(0,r.kt)("p",null,"The client can subscribe to the following events:"),(0,r.kt)("ul",null,(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeNewBlock")," - new block added to blockchain"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeNewTransaction")," - new transaction added to blockchain (all addresses)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeAddresses")," - new transaction for given address (list of addresses)"),(0,r.kt)("li",{parentName:"ul"},(0,r.kt)("inlineCode",{parentName:"li"},"subscribeFiatRates")," - new currency rate ticker")),(0,r.kt)("p",null,"There can be always only one subscription of given event per connection, i.e. new list of addresses replaces previous list of addresses."),(0,r.kt)("p",null,"The subscribeNewTransaction event is not enabled by default. To enable support, blockbook must be run with the ",(0,r.kt)("inlineCode",{parentName:"p"},"-enablesubnewtx")," flag."),(0,r.kt)("p",null,(0,r.kt)("em",{parentName:"p"},"Note: If there is reorg on the backend (blockchain), you will get a new block hash with the same or even smaller height if the reorg is deeper")),(0,r.kt)("p",null,"Websocket communication format"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "id":"1", //an id to help to identify the response\n "method":"",\n "params":\n}\n')),(0,r.kt)("p",null,"Example for subscribing to an address (or multiple addresses)"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},'{\n "id":"1",\n "method":"subscribeAddresses",\n "params":{\n "addresses":["mnYYiDCb2JZXnqEeXta1nkt5oCVe2RVhJj", "tb1qp0we5epypgj4acd2c4au58045ruud2pd6heuee"]\n }\n}\n')),(0,r.kt)("h2",{id:"legacy-api-v1"},"Legacy API V1"),(0,r.kt)("p",null,"The legacy API is a compatible subset of API provided by ",(0,r.kt)("strong",{parentName:"p"},"Bitcore Insight"),". It supports only Bitcoin-type coins. The details of the REST/socket.io requests can be found in the Insight's documentation."),(0,r.kt)("h3",{id:"rest-api-1"},"REST API"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"GET /api/v1/block-index/\nGET /api/v1/tx/\nGET /api/v1/address/
\nGET /api/v1/utxo/
\nGET /api/v1/block/\nGET /api/v1/estimatefee/\nGET /api/v1/sendtx/\nPOST /api/v1/sendtx (hex tx data in request body)\n")),(0,r.kt)("h3",{id:"socketio-api"},"Socket.io API"),(0,r.kt)("p",null,"Socket.io interface is provided at ",(0,r.kt)("inlineCode",{parentName:"p"},"/socket.io/"),". The interface also can be explored using Blockbook Socket.io Test Page found at ",(0,r.kt)("inlineCode",{parentName:"p"},"/test-socketio.html"),"."),(0,r.kt)("p",null,"The legacy API is provided as is and will not be further developed."),(0,r.kt)("p",null,"The legacy API is currently (Blockbook v0.3.5) also accessible without the ",(0,r.kt)("em",{parentName:"p"},"/v1/")," prefix, however in the future versions the version less access will be removed."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e0833ef8.0d89cddc.js b/assets/js/e0833ef8.0d89cddc.js new file mode 100644 index 00000000..5f797c99 --- /dev/null +++ b/assets/js/e0833ef8.0d89cddc.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[540],{3905:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>h});var r=a(67294);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var l=r.createContext({}),c=function(e){var t=r.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},d=function(e){var t=c(e.components);return r.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},u=r.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),u=c(a),h=n,f=u["".concat(l,".").concat(h)]||u[h]||p[h]||o;return a?r.createElement(f,i(i({ref:t},d),{},{components:a})):r.createElement(f,i({ref:t},d))}));function h(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,i=new Array(o);i[0]=u;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s.mdxType="string"==typeof e?e:n,i[1]=s;for(var c=2;c{a.r(t),a.d(t,{default:()=>c,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var r=a(87462),n=(a(67294),a(3905));const o={},i={unversionedId:"tech/poda",id:"tech/poda",isDocsHomePage:!1,title:"PoDA (Data Availability on Layer 1)",description:"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications by securing users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA has characteristics that make it a valuable alternative to Ethereum\u2019s work-in-progress data availability solution, Proto-Danksharding.",source:"@site/docs/tech/poda.mdx",sourceDirName:"tech",slug:"/tech/poda",permalink:"/docs/tech/poda",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Notary and Business Rulesets",permalink:"/docs/tech/notary"},next:{title:"Rollux",permalink:"/docs/tech/rollux"}},s=[{value:"Sample PoDA transaction",id:"sample-poda-transaction",children:[]},{value:"How to access raw data blobs",id:"how-to-access-raw-data-blobs",children:[]},{value:"How to run a PoDA archiving node",id:"how-to-run-a-poda-archiving-node",children:[]}],l={toc:s};function c(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,r.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications by securing users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA has characteristics that make it a valuable alternative to Ethereum\u2019s work-in-progress data availability solution, Proto-Danksharding."),(0,n.kt)("p",null,"PoDA\u2019s advantages can be summarized as:"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Cheaper transactions"),(0,n.kt)("li",{parentName:"ul"},"No data sharding required"),(0,n.kt)("li",{parentName:"ul"},"Greater data throughput with efficient Keccak data blobs"),(0,n.kt)("li",{parentName:"ul"},"Secured by Bitcoin\u2019s own PoW plus Syscoin's finality"),(0,n.kt)("li",{parentName:"ul"},"More resilient to network-based outages/censorship"),(0,n.kt)("li",{parentName:"ul"},"Simpler data fee market based on Syscoin\u2019s UTXO fee market"),(0,n.kt)("li",{parentName:"ul"},"Nakamoto Assumption: Only one honest node is needed to guarantee data")),(0,n.kt)("p",null,"PoDA\u2019s design considers proving and archiving as separate concerns. With PoDA, the succinct proof of data is stored on Layer 1, while an assumption is made that at least one honest party in the world will archive the raw data within a 6-hour window of time - similar to the honesty assumption made when syncing a Bitcoin node (at least one honest node). If desired, the raw data itself can be secured by Syscoin\u2019s L1 network by reposting the data every 6 hours."),(0,n.kt)("p",null,"Validium (fully offchain DA) is also available as an alternative to PoDA for less-critical applications where the focus might be on even lower cost and higher throughput by trading-off Layer 1 data security. However, in the case of Syscoin PoDA, Layer 1 data security is quite affordable and PoDA nodes can store raw data offchain if they wish while still gaining the security of onchain state and proving."),(0,n.kt)("h2",{id:"sample-poda-transaction"},"Sample PoDA transaction"),(0,n.kt)("p",null,"This PoDA transaction was submitted by Rollux L2 to the Syscoin Native (UTXO) testnet.",(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("a",{parentName:"strong",href:"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"},"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"))," "),(0,n.kt)("p",null,"Note: The Blockbook explorer does not currently parse the PoDA hash, but it is visible in the raw transaction data as scriptPubKey.asm: \u201cOP_RETURN 20",(0,n.kt)("strong",{parentName:"p"},"7f262f3352669030f480dd881bc6b3fad68abfcffe81d8e98c7f3e88871ed3a4"),"\u201d"),(0,n.kt)("p",null,"The hash of the raw data blob is always stored on-chain for the purpose of proving data integrity, as seen above in the sample's OP_RETURN."),(0,n.kt)("h2",{id:"how-to-access-raw-data-blobs"},"How to access raw data blobs"),(0,n.kt)("p",null,"Full raw data blobs are available within the native chain\u2019s mempool for a period of six hours before being pruned. During this window of time, archiving services can access and store the raw data. While in the mempool, the data can be viewed a couple of different ways: "),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/releases/latest"},"Syscoin Core"))," (>= v4.4) RPCs: ",(0,n.kt)("inlineCode",{parentName:"li"},"listnevmblobdata"),", ",(0,n.kt)("inlineCode",{parentName:"li"},"getnevmblobdata")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js")))),(0,n.kt)("h2",{id:"how-to-run-a-poda-archiving-node"},"How to run a PoDA archiving node"),(0,n.kt)("p",null,"Syscoin ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/sentinel"},"Sentinel"))," includes a PoDA archive client/server.",(0,n.kt)("br",{parentName:"p"}),"\n","This is relatively easy to set up. Refer to the ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/sentinel#poda"},"instructions"))," on GitHub."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e0833ef8.afd92cb0.js b/assets/js/e0833ef8.afd92cb0.js deleted file mode 100644 index 26da4282..00000000 --- a/assets/js/e0833ef8.afd92cb0.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[540],{3905:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>f});var r=a(67294);function n(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function o(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,r)}return a}function i(e){for(var t=1;t=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}var l=r.createContext({}),c=function(e){var t=r.useContext(l),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},d=function(e){var t=c(e.components);return r.createElement(l.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},h=r.forwardRef((function(e,t){var a=e.components,n=e.mdxType,o=e.originalType,l=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=c(a),h=n,f=p["".concat(l,".").concat(h)]||p[h]||u[h]||o;return a?r.createElement(f,i(i({ref:t},d),{},{components:a})):r.createElement(f,i({ref:t},d))}));function f(e,t){var a=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var o=a.length,i=new Array(o);i[0]=h;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[p]="string"==typeof e?e:n,i[1]=s;for(var c=2;c{a.r(t),a.d(t,{default:()=>d,frontMatter:()=>o,metadata:()=>i,toc:()=>s});var r=a(87462),n=(a(67294),a(3905));const o={},i={unversionedId:"tech/poda",id:"tech/poda",isDocsHomePage:!1,title:"PoDA (Data Availability on Layer 1)",description:"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications by securing users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA has characteristics that make it a valuable alternative to Ethereum\u2019s work-in-progress data availability solution, Proto-Danksharding.",source:"@site/docs/tech/poda.mdx",sourceDirName:"tech",slug:"/tech/poda",permalink:"/docs/tech/poda",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Notary and Business Rulesets",permalink:"/docs/tech/notary"},next:{title:"Rollux",permalink:"/docs/tech/rollux"}},s=[{value:"Sample PoDA transaction",id:"sample-poda-transaction",children:[]},{value:"How to access raw data blobs",id:"how-to-access-raw-data-blobs",children:[]},{value:"How to run a PoDA archiving node",id:"how-to-run-a-poda-archiving-node",children:[]}],l={toc:s},c="wrapper";function d(e){let{components:t,...a}=e;return(0,n.kt)(c,(0,r.Z)({},l,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"Data availability is required to exist within the security domain of Layer 1 in order for rollups to properly serve critical financial applications by securing users\u2019 ability to exit to L1. Syscoin\u2019s L1 DA solution is called PoDA (Proof of Data Availability). Syscoin\u2019s PoDA differs from Ethereum\u2019s danksharding in how data is stored, presented, pruned, and how fees are calculated. PoDA has characteristics that make it a valuable alternative to Ethereum\u2019s work-in-progress data availability solution, Proto-Danksharding."),(0,n.kt)("p",null,"PoDA\u2019s advantages can be summarized as:"),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},"Cheaper transactions"),(0,n.kt)("li",{parentName:"ul"},"No data sharding required"),(0,n.kt)("li",{parentName:"ul"},"Greater data throughput with efficient Keccak data blobs"),(0,n.kt)("li",{parentName:"ul"},"Secured by Bitcoin\u2019s own PoW plus Syscoin's finality"),(0,n.kt)("li",{parentName:"ul"},"More resilient to network-based outages/censorship"),(0,n.kt)("li",{parentName:"ul"},"Simpler data fee market based on Syscoin\u2019s UTXO fee market"),(0,n.kt)("li",{parentName:"ul"},"Nakamoto Assumption: Only one honest node is needed to guarantee data")),(0,n.kt)("p",null,"PoDA\u2019s design considers proving and archiving as separate concerns. With PoDA, the succinct proof of data is stored on Layer 1, while an assumption is made that at least one honest party in the world will archive the raw data within a 6-hour window of time - similar to the honesty assumption made when syncing a Bitcoin node (at least one honest node). If desired, the raw data itself can be secured by Syscoin\u2019s L1 network by reposting the data every 6 hours."),(0,n.kt)("p",null,"Validium (fully offchain DA) is also available as an alternative to PoDA for less-critical applications where the focus might be on even lower cost and higher throughput by trading-off Layer 1 data security. However, in the case of Syscoin PoDA, Layer 1 data security is quite affordable and PoDA nodes can store raw data offchain if they wish while still gaining the security of onchain state and proving."),(0,n.kt)("h2",{id:"sample-poda-transaction"},"Sample PoDA transaction"),(0,n.kt)("p",null,"This PoDA transaction was submitted by Rollux L2 to the Syscoin Native (UTXO) testnet.",(0,n.kt)("br",{parentName:"p"}),"\n",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("a",{parentName:"strong",href:"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"},"https://blockbook-dev.elint.services/tx/bae30de7850c370c77eb3590f631070d95c1a175323771fac5ab867fb1342136"))," "),(0,n.kt)("p",null,"Note: The Blockbook explorer does not currently parse the PoDA hash, but it is visible in the raw transaction data as scriptPubKey.asm: \u201cOP_RETURN 20",(0,n.kt)("strong",{parentName:"p"},"7f262f3352669030f480dd881bc6b3fad68abfcffe81d8e98c7f3e88871ed3a4"),"\u201d"),(0,n.kt)("p",null,"The hash of the raw data blob is always stored on-chain for the purpose of proving data integrity, as seen above in the sample's OP_RETURN."),(0,n.kt)("h2",{id:"how-to-access-raw-data-blobs"},"How to access raw data blobs"),(0,n.kt)("p",null,"Full raw data blobs are available within the native chain\u2019s mempool for a period of six hours before being pruned. During this window of time, archiving services can access and store the raw data. While in the mempool, the data can be viewed a couple of different ways: "),(0,n.kt)("ul",null,(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscoin/releases/latest"},"Syscoin Core"))," (>= v4.4) RPCs: ",(0,n.kt)("inlineCode",{parentName:"li"},"listnevmblobdata"),", ",(0,n.kt)("inlineCode",{parentName:"li"},"getnevmblobdata")),(0,n.kt)("li",{parentName:"ul"},(0,n.kt)("strong",{parentName:"li"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/syscointx-js"},"syscointx-js")))),(0,n.kt)("h2",{id:"how-to-run-a-poda-archiving-node"},"How to run a PoDA archiving node"),(0,n.kt)("p",null,"Syscoin ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/sentinel"},"Sentinel"))," includes a PoDA archive client/server.",(0,n.kt)("br",{parentName:"p"}),"\n","This is relatively easy to set up. Refer to the ",(0,n.kt)("strong",{parentName:"p"},(0,n.kt)("a",{parentName:"strong",href:"https://github.com/syscoin/sentinel#poda"},"instructions"))," on GitHub."))}d.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/e67d531c.448bd0e0.js b/assets/js/e67d531c.33a9d14e.js similarity index 96% rename from assets/js/e67d531c.448bd0e0.js rename to assets/js/e67d531c.33a9d14e.js index 77f7b707..7ff442b4 100644 --- a/assets/js/e67d531c.448bd0e0.js +++ b/assets/js/e67d531c.33a9d14e.js @@ -1 +1 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[373],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(13960),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>k,qp:()=>l,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>T,h$:()=>B,f2:()=>O,tD:()=>I,x6:()=>A,ri:()=>P,pR:()=>U,kG:()=>q,MP:()=>D,OK:()=>X,IM:()=>R,WO:()=>H,II:()=>V,vu:()=>J,R5:()=>E,S7:()=>z,KF:()=>M,s9:()=>G,lX:()=>C,Gu:()=>K,lV:()=>W,Zm:()=>F,Kg:()=>L,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>ke,MC:()=>le,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Te,zT:()=>Be,i8:()=>Oe,y5:()=>Ie,p1:()=>Ae,x2:()=>Pe,XN:()=>Ue,Yl:()=>qe,OR:()=>De,ge:()=>Xe,i0:()=>Re,x3:()=>He,vl:()=>Ve,M9:()=>Je,GN:()=>Ee,Nv:()=>ze,hY:()=>Me,iN:()=>Ge,kf:()=>Ce,CH:()=>Ke,M2:()=>We,Nt:()=>Fe,tf:()=>Le,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>kt,BH:()=>lt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),B=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),O=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),P=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),U=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),R=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),H=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),V=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),J=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),E=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),z=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),M=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),G=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),K=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),W=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),F=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),ke=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),le=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Be=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Oe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Pe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Ue=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Re=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),He=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ve=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),Ee=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),ze=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Me=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Ge=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Ke=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),We=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Fe=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},59560:(e,t,a)=>{a.r(t),a.d(t,{default:()=>y,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);const o={sidebar_position:4},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/hdsigner",id:"dev-resources/documentation/javascript-sdk-ref/hdsigner",isDocsHomePage:!1,title:"HDSigner",description:"These are the HDSigner exported functions, the HDSigner is used to manage and sign transactions internally using your XPUB (HD wallets). BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/hdsigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner",version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Utils",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/utils"},next:{title:"TrezorSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner"}},c=[{value:"backup",id:"backup",children:[]},{value:"createAccount",id:"createaccount",children:[]},{value:"createKeypair",id:"createkeypair",children:[]},{value:"deriveAccount",id:"deriveaccount",children:[]},{value:"deriveKeypair",id:"derivekeypair",children:[]},{value:"derivePubKey",id:"derivepubkey",children:[]},{value:"getAccountXpub",id:"getaccountxpub",children:[]},{value:"getAddressFromKeypair",id:"getaddressfromkeypair",children:[]},{value:"getAddressFromPubKey",id:"getaddressfrompubkey",children:[]},{value:"getMasterFingerprint",id:"getmasterfingerprint",children:[]},{value:"getNewChangeAddress",id:"getnewchangeaddress",children:[]},{value:"getNewReceivingAddress",id:"getnewreceivingaddress",children:[]},{value:"getRootNode",id:"getrootnode",children:[]},{value:"restore",id:"restore",children:[]},{value:"setAccountIndex",id:"setaccountindex",children:[]},{value:"setLatestIndexesFromXPubTokens",id:"setlatestindexesfromxpubtokens",children:[]},{value:"sign",id:"sign",children:[]},{value:"signPSBT",id:"signpsbt",children:[]}],p={toc:c},u="wrapper";function y(e){let{components:t,...a}=e;return(0,n.kt)(u,(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"These are the HDSigner exported functions, the HDSigner is used to manage and sign transactions internally using your XPUB (HD wallets). BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH."),(0,n.kt)("h3",{id:"backup"},"backup"),(0,n.kt)("h5",{id:"backup-1"},(0,n.kt)("em",{parentName:"h5"},"backup()")),(0,n.kt)("p",null,"Encrypt to password and backup to local storage for persistence."),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createaccount"},"createAccount"),(0,n.kt)("h5",{id:"createaccount-1"},(0,n.kt)("em",{parentName:"h5"},"createAccount()")),(0,n.kt)("p",null,"Create and derive a new account."),(0,n.kt)(i.Z,{returnTable:r.lV,anchor:"#createaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createkeypair"},"createKeypair"),(0,n.kt)("h5",{id:"createkeypair-addressindex-ischange"},(0,n.kt)("em",{parentName:"h5"},"createKeypair( addressIndex, isChange)")),(0,n.kt)("p",null,"Derives a bitcoinjs-lib key pair based on the address index and change marker provided."),(0,n.kt)(i.Z,{paramTable:r.WC,returnTable:r.D_,anchor:"#createkeypair",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"deriveaccount"},"deriveAccount"),(0,n.kt)("h5",{id:"deriveaccount-index-"},(0,n.kt)("em",{parentName:"h5"},"deriveAccount( index )")),(0,n.kt)("p",null,"Derive a HD account based on the index number passed in."),(0,n.kt)(i.Z,{paramTable:r.Pk,returnTable:r.z0,anchor:"#deriveaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"derivekeypair"},"deriveKeypair"),(0,n.kt)("h5",{id:"derivekeypair-keypath-"},(0,n.kt)("em",{parentName:"h5"},"deriveKeypair( keypath )")),(0,n.kt)("p",null,"Takes an HD path and derives the key pair from it."),(0,n.kt)(i.Z,{paramTable:r.VB,returnTable:r.AI,anchor:"#derivekeypair",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"derivepubkey"},"derivePubKey"),(0,n.kt)("h5",{id:"derivepubkey-keypath-"},(0,n.kt)("em",{parentName:"h5"},"derivePubKey( keypath )")),(0,n.kt)("p",null,"Takes an HD path, derives a key pair from it and returns the public key."),(0,n.kt)(i.Z,{paramTable:r.sY,returnTable:r.vo,anchor:"#derivepubkey",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaccountxpub"},"getAccountXpub"),(0,n.kt)("h5",{id:"getaccountxpub-1"},(0,n.kt)("em",{parentName:"h5"},"getAccountXpub()")),(0,n.kt)("p",null,"Gets the ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," for the account currently in use by the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner"),", useful for public provider look-ups based on ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," accounts."),(0,n.kt)(i.Z,{returnTable:r.y5,anchor:"#getaccountxpub",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaddressfromkeypair"},"getAddressFromKeypair"),(0,n.kt)("h5",{id:"getaddressfromkeypair-keypair-"},(0,n.kt)("em",{parentName:"h5"},"getAddressFromKeypair( keyPair )")),(0,n.kt)("p",null,"Takes a key pair and gives back a P2WPKH address."),(0,n.kt)(i.Z,{paramTable:r.p1,returnTable:r.x2,anchor:"#getaddressfromkeypair",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaddressfrompubkey"},"getAddressFromPubKey"),(0,n.kt)("h5",{id:"getaddressfrompubkey-pubkey-"},(0,n.kt)("em",{parentName:"h5"},"getAddressFromPubKey( pubKey )")),(0,n.kt)("p",null,"Takes a public key and gives back a P2WPKH address."),(0,n.kt)(i.Z,{paramTable:r.XN,returnTable:r.Yl,anchor:"#getaddressfrompubkey",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getmasterfingerprint"},"getMasterFingerprint"),(0,n.kt)("h5",{id:"getmasterfingerprint-1"},(0,n.kt)("em",{parentName:"h5"},"getMasterFingerprint()")),(0,n.kt)("p",null,"Get the master seed fingerprint used for signing bitcoinjs-lib ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/bitcoin/bitcoin/blob/master/doc/psbt.md"},"PSBTs"),"."),(0,n.kt)(i.Z,{returnTable:r.hY,anchor:"#getmasterfingerprint",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewchangeaddress"},"getNewChangeAddress"),(0,n.kt)("h5",{id:"getnewchangeaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewChangeAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending change to."),(0,n.kt)(i.Z,{paramTable:r.Nt,returnTable:r.tf,anchor:"#getnewchangeaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewreceivingaddress"},"getNewReceivingAddress"),(0,n.kt)("h5",{id:"getnewreceivingaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewReceivingAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending coins to."),(0,n.kt)(i.Z,{paramTable:r.M6,returnTable:r.K9,anchor:"#getnewreceivingaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getrootnode"},"getRootNode"),(0,n.kt)("h5",{id:"getrootnode-1"},(0,n.kt)("em",{parentName:"h5"},"getRootNode()")),(0,n.kt)("p",null,"Returns the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner"),"'s BIP32 root node."),(0,n.kt)(i.Z,{returnTable:r.Ue,anchor:"#getrootnode",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"restore"},"restore"),(0,n.kt)("h5",{id:"restore-password-"},(0,n.kt)("em",{parentName:"h5"},"restore( password )")),(0,n.kt)("p",null,"Restore on load from local storage and decrypt data to de-serialize objects."),(0,n.kt)(i.Z,{paramTable:r.nu,returnTable:r.W$,anchor:"#restore",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setaccountindex"},"setAccountIndex"),(0,n.kt)("h5",{id:"setaccountindex-accountindex-"},(0,n.kt)("em",{parentName:"h5"},"setAccountIndex( accountIndex )")),(0,n.kt)("p",null,"Set HD account based on accountIndex number passed in so HD indexes (change/receiving) will be updated accordingly to this account."),(0,n.kt)(i.Z,{paramTable:r.ju,anchor:"#setaccountindex",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setlatestindexesfromxpubtokens"},"setLatestIndexesFromXPubTokens"),(0,n.kt)("h5",{id:"setlatestindexesfromxpubtokens-tokens-"},(0,n.kt)("em",{parentName:"h5"},"setLatestIndexesFromXPubTokens( tokens )")),(0,n.kt)("p",null,"Sets the change and receiving indexes from ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," tokens passed in, from a back-end provider response."),(0,n.kt)(i.Z,{paramTable:r.En,anchor:"#setlatestindexesfromxpubtokens",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sign"},"sign"),(0,n.kt)("h5",{id:"sign-res-"},(0,n.kt)("em",{parentName:"h5"},"sign( res )")),(0,n.kt)("p",null,"Create signing information based on the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner")," (if set)"),(0,n.kt)(i.Z,{paramTable:r.Xx,anchor:"#sign",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"signpsbt"},"signPSBT"),(0,n.kt)("h5",{id:"signpsbt-psbt-ownedindexes-"},(0,n.kt)("em",{parentName:"h5"},"signPSBT( psbt, ownedIndexes )")),(0,n.kt)("p",null,"Signs a ",(0,n.kt)("a",{parentName:"p",href:"types/#psbt"},"PSBT")," with ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," information from the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner"),"."),(0,n.kt)(i.Z,{paramTable:r.Rf,returnTable:r.jK,anchor:"#signpsbt",mdxType:"ShowInfoComponent"}))}y.isMDXComponent=!0}}]); \ No newline at end of file +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[373],{57463:(e,t,a)=>{a.d(t,{Z:()=>y});var s=a(87462),n=a(67294),i=a(340),r=a(38456),o=a.n(r),d=a(45822),c=a(89739);const p={code(e){let{node:t,inline:a,className:i,children:r,...o}=e;const p=/language-(\w+)/.exec(i||"");return!a&&p?n.createElement(d.Z,(0,s.Z)({style:c.Z,language:p[1],PreTag:"div",children:String(r).replace(/\n$/,"")},o)):n.createElement("code",(0,s.Z)({className:i},o))}};class u extends n.Component{constructor(e){super(e),this.state={examples:this.props.examples,selectedIndex:0}}render(){return this.state.examples&&this.state.examples.length>0?this.state.examples.length>1?n.createElement(i.mQ,{selectedIndex:this.state.selectedIndex,onSelect:e=>this.setState({selectedIndex:e})},n.createElement(i.td,null,this.state.examples.map(((e,t)=>n.createElement(i.OK,{key:t,label:t},"Example ",t+1)))),this.state.examples.map(((e,t)=>n.createElement(i.x4,{key:t},n.createElement(o(),{components:p,children:e}))))):this.state.examples.map(((e,t)=>n.createElement(o(),{key:t,components:p,children:e}))):null}}const y=u},89262:(e,t,a)=>{a.d(t,{Z:()=>p});var s=a(67294),n=(a(99403),a(65053),a(58650),a(38456)),i=a.n(n);a(66367);class r extends s.Component{constructor(e){super(e),this.state={nodes:this.props.root,tableType:this.props.type,expandedKeys:{}},this.renderParam=this.renderParam.bind(this),this.renderParams=this.renderParams.bind(this),this.getParamElement=this.getParamElement.bind(this)}getParamElement(e){let t=`**\`${e.data.name}\`**`,a="";return" yes"===e.data.required&&(a="Required"),"param"!==this.state.tableType&&"type"!==this.state.tableType&&"return"!==this.state.tableType||!e.data.name?null:s.createElement("li",{class:"li-param"},s.createElement("div",{class:"flex short"},s.createElement(i(),{class:"md-type",children:t}),s.createElement("p",{class:"required"},a)))}renderParam(e){let t=`${e.data.type}`;return e.children?s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("details",{class:"short-spacing"},s.createElement("summary",null,s.createElement("div",null,s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description}))),this.renderParams(e.children))))):s.createElement("div",{class:"md-type"},this.getParamElement(e),s.createElement("ul",{class:"ul-param"},s.createElement("li",{class:"li-param"},s.createElement("div",{class:"short-spacing"},s.createElement(i(),{class:"md-type",children:t}),s.createElement(i(),{class:"md-type",children:e.data.description})))))}renderParams(e){return s.createElement("ul",{class:"ul-param md-type"},e.map((e=>this.renderParam(e))))}render(){return null!=this.state.nodes?s.createElement("div",null,this.renderParams(this.state.nodes)):null}}const o=r;var d=a(57463);class c extends s.Component{constructor(e){super(e),this.state={showInfo:!1,paramTable:this.props.paramTable,returnTable:this.props.returnTable,typeTable:this.props.typeTable,examples:this.props.examples,anchor:this.props.anchor,showTitles:this.props.showTitles,buttonShowText:"\u1405"},this.checkLocationHash=this.checkLocationHash.bind(this),this.renderParams=this.renderParams.bind(this),this.renderReturns=this.renderReturns.bind(this),this.renderExamples=this.renderExamples.bind(this),this.renderTypes=this.renderTypes.bind(this),this.renderTable=this.renderTable.bind(this),this.toggleButton=this.toggleButton.bind(this)}componentDidMount(){void 0!==this.state.anchor&&this.checkLocationHash()}checkLocationHash(){"undefined"!=typeof location&&this.state.hash!==location.hash&&(location.hash==this.props.anchor?this.setState({showInfo:!0,hash:location.hash,buttonShowText:"\u1401"}):this.setState({hash:location.hash}))}componentDidUpdate(){void 0!==this.state.anchor&&this.checkLocationHash()}renderTable(e,t,a){return!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,t),s.createElement(o,{root:a,type:e})):s.createElement(o,{root:a,type:e})}renderParams(){return void 0!==this.state.paramTable?this.renderTable("param","Parameters",this.state.paramTable):null}renderReturns(){return void 0!==this.state.returnTable?this.renderTable("return","Returns",this.state.returnTable):null}renderTypes(){return void 0!==this.state.typeTable?this.renderTable("type","Types",this.state.typeTable):null}renderExamples(){return void 0!==this.state.examples?!1!==this.state.showTitles?s.createElement("div",null,s.createElement("h4",null,"Examples"),s.createElement(d.Z,{examples:this.state.examples})):s.createElement(d.Z,{examples:this.state.examples}):null}toggleButton(){this.setState({showInfo:!this.state.showInfo}),this.state.showInfo?this.state.buttonShowText="\u1405":this.state.buttonShowText="\u1401"}render(){return this.state.showInfo?s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText),this.renderParams(),this.renderReturns(),this.renderExamples(),this.renderTypes()):s.createElement("div",null,s.createElement("button",{class:"toggle-button",onClick:()=>this.toggleButton()},this.state.buttonShowText))}}const p=c},99752:(e,t,a)=>{a.d(t,{Bt:()=>s,dV:()=>n,gv:()=>i,gz:()=>r,zi:()=>o,pX:()=>d,ZJ:()=>c,Z1:()=>p,Vc:()=>u,Zc:()=>y,pt:()=>_,cf:()=>m,r_:()=>f,j5:()=>k,qp:()=>l,LV:()=>h,qO:()=>b,bG:()=>v,Fo:()=>g,VO:()=>S,JX:()=>j,Ys:()=>w,rK:()=>x,B$:()=>N,t4:()=>T,h$:()=>B,f2:()=>O,tD:()=>I,x6:()=>A,ri:()=>P,pR:()=>U,kG:()=>q,MP:()=>D,OK:()=>X,IM:()=>R,WO:()=>H,II:()=>V,vu:()=>J,R5:()=>E,S7:()=>z,KF:()=>M,s9:()=>G,lX:()=>C,Gu:()=>K,lV:()=>W,Zm:()=>F,Kg:()=>L,WC:()=>Z,D_:()=>Y,X9:()=>$,Jf:()=>Q,_X:()=>ee,E2:()=>te,Pk:()=>ae,z0:()=>se,VB:()=>ne,AI:()=>ie,sY:()=>re,vo:()=>oe,lG:()=>de,wX:()=>ce,oT:()=>pe,oi:()=>ue,d9:()=>ye,$E:()=>_e,e6:()=>me,Be:()=>fe,e4:()=>ke,MC:()=>le,s:()=>he,DO:()=>be,vd:()=>ve,B9:()=>ge,j9:()=>Se,GX:()=>je,Mb:()=>we,AG:()=>xe,eL:()=>Ne,qA:()=>Te,zT:()=>Be,i8:()=>Oe,y5:()=>Ie,p1:()=>Ae,x2:()=>Pe,XN:()=>Ue,Yl:()=>qe,OR:()=>De,ge:()=>Xe,i0:()=>Re,x3:()=>He,vl:()=>Ve,M9:()=>Je,GN:()=>Ee,Nv:()=>ze,hY:()=>Me,iN:()=>Ge,kf:()=>Ce,CH:()=>Ke,M2:()=>We,Nt:()=>Fe,tf:()=>Le,M6:()=>Ze,K9:()=>Ye,TV:()=>$e,ZN:()=>Qe,Ue:()=>et,mD:()=>tt,XZ:()=>at,nu:()=>st,W$:()=>nt,hC:()=>it,In:()=>rt,pc:()=>ot,dW:()=>dt,ju:()=>ct,En:()=>pt,BP:()=>ut,no:()=>yt,Xx:()=>_t,vZ:()=>mt,ig:()=>ft,PQ:()=>kt,BH:()=>lt,mT:()=>ht,eB:()=>bt,Rf:()=>vt,jK:()=>gt,FJ:()=>St,Ry:()=>jt,y2:()=>wt,ic:()=>xt});const s=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]'),n=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]'),i=JSON.parse('[{"key":"0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]'),r=JSON.parse('[{"key":"0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]'),o=JSON.parse('[{"key":"0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]'),d=JSON.parse('[{"key":"0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]'),c=JSON.parse('[{"key":"0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]'),p=JSON.parse('[{"key":"0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"7","data":{"type":" lowR","description":" _Boolean_"}}]'),u=JSON.parse('[{"key":"0","data":{"name":" mnemonic","type":" _String_","description":" 12 word, Bip32 seed phrase","required":" yes"}},{"key":"1","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"2","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"3","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"3-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"3-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"3-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"3-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"3-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"3-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"4","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"5","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}}]'),y=JSON.parse('[{"key":"0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"5","data":{"type":" wif","description":" ` Hex`"}}]'),_=JSON.parse('[{"key":"0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"1-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),m=JSON.parse('[{"key":"0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]'),f=JSON.parse('[{"key":"0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"4","data":{"type":" script","description":" _Buffer_"}}]'),k=JSON.parse('[{"key":"0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"2","data":{"type":" globalMap","description":" ` Object`"}}]'),l=JSON.parse('[{"key":"0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]'),h=JSON.parse('[{"key":"0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"2-4","data":{"type":" script","description":" _Buffer_"}}]}]'),b=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),v=JSON.parse('[{"key":"0","data":{"name":" data","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Bitcoin PSBT object"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),g=JSON.parse('[{"key":"0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]'),S=JSON.parse('[{"key":"0","data":{"name":" type","type":" _String_","description":""}},{"key":"1","data":{"name":" address","type":" _String_","description":""}},{"key":"2","data":{"name":" txId","type":" _String_","description":""}},{"key":"3","data":{"name":" path","type":" _String_","description":""}},{"key":"4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"5","data":{"name":" value","type":" _BN_","description":""}},{"key":"6","data":{"name":" locktime","type":"","description":""}},{"key":"7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),j=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]'),w=JSON.parse('[{"key":"0","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" If letting Syscoin manage [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) keys you would want to use an [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) . With [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) assigned, signing will happen automatically when creating raw transactions","required":" no"}},{"key":"1","data":{"name":" blockbookURL","type":" _String_","description":" A back-end blockbook URL that will provide UTXO and required information to sign. User can always provide their own list of UTXOs in the same format as blockbook using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos) to sanitize the UTXO data to acceptable internal format","required":" no"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" The blockchain network and bip32 settings. The utils file has some examples including Bitcoin and Syscoin, it will default to Syscoin.","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),x=JSON.parse('[{"key":"0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]'),N=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Encryption password for local storage on web clients","required":" no"}},{"key":"1","data":{"name":" isTestnet","type":" _Boolean_","description":" If using testnet set this to true","required":" no"}},{"key":"2","data":{"name":" networks","type":" [ _Networks_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#networks)","description":" Defaults to Syscoin network. Bitcoinjs-lib network settings for coin being used","required":" no"},"children":[{"key":"2-0","data":{"name":" mainnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for mainnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"2-1","data":{"name":" testnet","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" [ Network ](#network) object to be used for testnet"},"children":[{"key":"2-1-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-1-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-1-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-1-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-1-5","data":{"type":" wif","description":" ` Hex`"}}]}]},{"key":"3","data":{"name":" SLIP44","type":" _Number_","description":" SLIP44 value for the coin, see: [ SLIP44 Values ](https://github.com/satoshilabs/slips/blob/master/slip-0044.md)","required":" no"}},{"key":"4","data":{"name":" pubTypes","type":" _String_","description":" Defaults to Syscoin ZPub/VPub types. Specific ZPub for BIP84 and VPub for testnet","required":" no"}},{"key":"5","data":{"name":" connectSrc","type":" _String_","description":" URL source to connect to","required":" no"}},{"key":"6","data":{"name":" disableLazyLoad","type":" _Boolean_","description":" Prevents iframe injection until TrezorConnect.method is be called","required":" no"}}]'),T=JSON.parse('[{"key":"0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6","data":{"name":" path","type":" _String_","description":""}},{"key":"7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]'),B=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]'),O=JSON.parse('[{"key":"0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"1","data":{"type":" value","description":" _Buffer_"}}]'),I=JSON.parse('[{"key":"0","data":{"name":" 0","type":"","description":" No flags enabled"}},{"key":"1","data":{"name":" 1","type":"","description":" Ability to update public data field"}},{"key":"2","data":{"name":" 2","type":"","description":" Ability to update smart contract field"}},{"key":"3","data":{"name":" 4","type":"","description":" Ability to issue or distribute supply via [ assetsend ](#assetSend)"}},{"key":"4","data":{"name":" 8","type":"","description":" Ability to update notary address"}},{"key":"5","data":{"name":" 16","type":"","description":" Ability to update notary details"}},{"key":"6","data":{"name":" 32","type":"","description":" Ability to update aux fees"}},{"key":"7","data":{"name":" 64","type":"","description":" Ability to update capability flags"}},{"key":"8","data":{"name":" 127","type":"","description":" All flags enabled"}}]'),A=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsBurn_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsBurn)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethaddress","type":" _String_","description":" If burning for purpose of sending over SysEthereum bridge specify the destination Ethereum address where tokens should be sent to on Ethereum"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),P=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),U=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptionsMint_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptionsmint)","description":" Asset details","required":" no"},"children":[{"key":"0-0","data":{"name":" ethtxid","type":" _String_","description":" The transaction that calls freezeBurnERC20() on ERC20Manager contract"}},{"key":"0-1","data":{"name":" web3url","type":" _String_","description":" If using eth-proof fully qualified Web3 HTTP-RPC URL that eth-proof needs to obtain the transaction proof and receipt proof information needed by Syscoin to validate the mint"}},{"key":"0-2","data":{"name":" blocknumber","type":" _Buffer_","description":" If ethtxid/web3url not provided. Block number of transaction including freezeBurnERC20() call"}},{"key":"0-3","data":{"name":" txvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction hex encoded in RLP format"}},{"key":"0-4","data":{"name":" txroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle root encoded in RLP format"}},{"key":"0-5","data":{"name":" txparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction merkle proof encoded in RLP format"}},{"key":"0-6","data":{"name":" txpath","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the merkle path for the transaction and receipt proof"}},{"key":"0-7","data":{"name":" receiptvalue","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the transaction receipt hex encoded in RLP format"}},{"key":"0-8","data":{"name":" receiptroot","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle root encoded in RLP format"}},{"key":"0-9","data":{"name":" receiptparentnodes","type":" _Buffer_","description":" If ethtxid/web3url not provided. Buffer value of the receipt merkle proof encoded in RLP format"}}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"2-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"2-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"2-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"2-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"3","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"7","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),q=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),D=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),X=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),R=JSON.parse('[{"key":"0","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"0-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"0-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"0-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"0-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"0-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"0-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"0-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"0-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"0-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"0-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"0-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"0-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"0-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"1","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"1-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"1-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"1-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"1-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"4","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"5","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"6","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"6-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"6-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"6-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"6-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"6-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"6-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"6-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"6-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"6-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"6-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"6-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"6-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"6-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"6-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"6-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"6-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"6-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"6-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"6-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"6-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"6-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),H=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),V=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),J=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),E=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _String_","description":" Asset GUID to update","required":" yes"}},{"key":"1","data":{"name":" assetOpts","type":" [ _AssetOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoptions)","description":" Asset details","required":" yes"},"children":[{"key":"1-0","data":{"name":" precision","type":" _Number_","description":" Digits precision for this asset. Range is 0 to 8"}},{"key":"1-1","data":{"name":" symbol","type":" _String_","description":" Symbol up to 8 characters in length in ASCII"}},{"key":"1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum satoshis for supply. Range is 1 to 1 quintillion (10^18)"}},{"key":"1-3","data":{"name":" description","type":" _String_","description":" Description in ASCII describing token. The description will be encoded via JSON in the pubdata field for the asset and will be in the 'desc' field of the JSON object"}},{"key":"1-4","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-5","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Defaults to 127 or ALL capabilities. Update capabilities on this asset. Read more [ _here_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#updatecapabilityflags)"}},{"key":"1-6","data":{"name":" notarykeyid","type":" _String_","description":" Notary KeyID, the hash160 of the address used for notarization. Should be P2WPKH"}},{"key":"1-7","data":{"name":" notarydetails","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Details related to the notarization of transactions using this asset"},"children":[{"key":"1-7-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-7-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-7-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1-8","data":{"name":" auxFeeDetails","type":" [ _AuxFeeDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfeedetails)","description":" Enforce auxiliary fees to every transaction on this asset"},"children":[{"key":"1-8-0","data":{"name":" auxfeekeyid","type":" _String_","description":" AuxFee KeyID, the hash160 of the address used where fees are paid out to. Should be P2WPKH"}},{"key":"1-8-1","data":{"name":" auxfees","type":" [ _AuxFee_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#auxfee) _Array_","description":" Details of the auxiliary fees that must be paid for each transaction"},"children":[{"key":"1-8-1-0","data":{"name":" bound","type":" _BN_","description":" Lower bound from which the given auxiliary fee percentage begins"}},{"key":"1-8-1-1","data":{"name":" percent","type":" _Number_","description":" Percentage fee that must be paid when a transaction's value is above the given bound (percentages are cumulative)"}}]}]}]},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"5","data":{"name":" sysReceivingAddress","type":" _String_","description":" Address which will hold the new asset. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new receiving address will be automatically created using the next available receiving address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"6","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"7","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"8","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"8-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"8-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"8-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"8-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"8-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"8-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"8-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"8-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"8-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"8-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"8-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"8-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"8-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"8-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"8-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"8-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"8-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"8-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"8-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"8-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"8-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"9","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),z=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),M=JSON.parse('[{"key":"0","data":{"name":" assetInfo","type":" ` Object`","description":" Object containing infuraurl and ethtxid fields populated","required":" yes"}}]'),G=JSON.parse('[{"key":"0","data":{"type":" [ _SPVProof_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#spvproof)","description":" SPV proof object"}}]'),C=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),K=JSON.parse('[{"key":"0","data":{"name":" trezorTx","type":" [ _TrezorTransaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) in the format of a [ TrezorTransaction ](/docs/dev-resources/documentation/javascript-sdk-ref/types#trezortransaction)"},"children":[{"key":"0-0","data":{"name":" coin","type":" _String_","description":" Denotes the coin being used in the transaction"}},{"key":"0-1","data":{"name":" version","type":" ???????","description":""}},{"key":"0-2","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":""},"children":[{"key":"0-2-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-2-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-2-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-2-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-2-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-2-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-2-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-3","data":{"type":" outputs","description":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_"}}]}]'),W=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" The account index of the new account"}}]'),F=JSON.parse('[{"key":"0","data":{"name":" NFTID","type":" _Number_","description":" The desired NFT ID for the child asset","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" The assetGuid of the base asset","required":" yes"}}]'),L=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Returns the GUID for a child asset with the given NFT ID"}}]'),Z=JSON.parse('[{"key":"0","data":{"name":" addressIndex","type":" _Number_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) address index","required":" yes"}},{"key":"1","data":{"name":" isChange","type":" _Boolean_","description":" [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) change marker","required":" yes"}}]'),Y=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" The bitcoinjs-lib key pair derived from the address index and change marker"}}]'),$=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),Q=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ee=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" yes"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" changeAddress","type":" _String_","description":" Change address if defined is where change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" yes"}},{"key":"2","data":{"name":" outputsArr","type":" ` Object`","description":" Output array defining tuples to which addresses to send coins to and how much","required":" yes"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),te=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ae=JSON.parse('[{"key":"0","data":{"name":" index","type":" _Number_","description":" Account number to derive","required":" yes"}}]'),se=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Private key for the account specified by the account index"}}]'),ne=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of key desired based on internal seed and network","required":" yes"}}]'),ie=JSON.parse('[{"key":"0","data":{"type":" [ _KeyPair_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#keypair)","description":" A bitcoinjs-lib key pair"}}]'),re=JSON.parse('[{"key":"0","data":{"name":" keypath","type":" _String_","description":" BIP32 [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) of the key desired based on internal seed and network","required":" yes"}}]'),oe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A bitcoinjs-lib public key"}}]'),de=JSON.parse('[{"key":"0","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" yes"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"1","data":{"name":" fromXpubOrAddress","type":" _String_","description":" If wanting to fund from specific [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses this field should be set. Can be an array of [ xPUBs ](https://learnmeabitcoin.com/technical/extended-keys#:~:text=An%20extended%20key%20is%20a,in%20a%20hierarchical%20deterministic%20wallet.&text=In%20addition%2C%20a%20corresponding%20extended,the%20same%20child%20public%20keys%20.) or addresses in combination","required":" no"}},{"key":"2","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"2-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"2-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"2-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"2-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"3","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs (For asset transactions only)","required":" no"},"children":[{"key":"3-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"3-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"3-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"3-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"4","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only, as per Syscoin Core mempool policy","required":" no"}}]'),ce=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object array in JSON."},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),pe=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-xpub)","required":""}},{"key":"3","data":{"name":" xpub","type":" _Boolean_","description":" If addressOrXpub is an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) set to true","required":""}},{"key":"4","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer) object if you wish to update change/receiving indexes from backend provider (and XPUB token information is provided in response)"}}]'),ue=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The account object in JSON"}}]'),ye=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the token/asset to fetch","required":" yes"}}]'),_e=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The asset information in JSON"}}]'),me=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blockhash","type":" _String_","description":" Block hash of the block information to fetch","required":" yes"}}]'),fe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The block information in JSON"}}]'),ke=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" filter","type":" _String_","description":" Asset to fetch via filter, will filter contract or symbol fields","required":" yes"}}]'),le=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON array in response, asset information objects in JSON"}}]'),he=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),be=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The transaction information in JSON"}}]'),ve=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txid","type":" _String_","description":" Transaction ID of the transaction to fetch","required":" yes"}}]'),ge=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" The SPV proof in JSON"}}]'),Se=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXO's for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),je=JSON.parse('[{"key":"0","data":{"type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" UTXO object array"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"0-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"0-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"0-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"0-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"0-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"0-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"0-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"0-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"0-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"0-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"0-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"0-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"0-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]}]'),we=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" blocks","type":" _Number_","description":" How many blocks to estimate fee for","required":" yes"}},{"key":"2","data":{"name":" options","type":" ` Object`","description":" Optional queries based on [ https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo ](https://github.com/syscoin/blockbook/blob/master/docs/api.md#get-utxo)"}}]'),xe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Fee object in JSON"}}]'),Ne=JSON.parse('[{"key":"0","data":{"name":" endPoint","type":" _String_","description":" Fully qualified URL which will take transaction information and respond with a signature or error on denial","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Raw transaction hex","required":" yes"}}]'),Te=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" JSON object in response, signature on success and error on denial of notarization"}}]'),Be=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" _String_","description":" Fully qualified URL for blockbook","required":" yes"}}]'),Oe=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" Provider object in JSON"}}]'),Ie=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) in hex format"}}]'),Ae=JSON.parse('[{"key":"0","data":{"name":" keyPair","type":" ` Object`","description":" Bitcoinjs-lib key pair","required":" yes"}}]'),Pe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),Ue=JSON.parse('[{"key":"0","data":{"name":" pubKey","type":" _String_","description":" Bitcoinjs-lib public key","required":" yes"}}]'),qe=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" A P2WPKH address"}}]'),De=JSON.parse('[{"key":"0","data":{"name":" tx","type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Bitcoinjs transaction","required":" yes"}}]'),Xe=JSON.parse('[{"key":"0","data":{"type":" [ _Allocation_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#allocation) _Array_","description":" Array of allocation objects"}}]'),Re=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),He=JSON.parse('[{"key":"0","data":{"type":" [ _AssetIDs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetids)","description":" Object containing the base asset GUID and NFT ID"},"children":[{"key":"0-0","data":{"name":" baseAssetID","type":" _String_","description":" Asset GUID of the base asset"}},{"key":"0-1","data":{"name":" NFTID","type":" _String_","description":" NFT ID of the asset"}}]}]'),Ve=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The result object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" assets","type":" ` ??????????`","description":" Asset objects that are evaluated for notarization, and if they do require notarization then fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}}]'),Je=JSON.parse('[{"key":"0","data":{"type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Asset map of objects requiring notarization or null if no notarization is required"},"children":[{"key":"0-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"0-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"0-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]}]'),Ee=JSON.parse('[{"key":"0","data":{"name":" assetGuid","type":" _Number_","description":" GUID of the child token/asset","required":" yes"}}]'),ze=JSON.parse('[{"key":"0","data":{"type":" _Number_","description":" Asset GUID of the base asset"}}]'),Me=JSON.parse('[{"key":"0","data":{"type":" _Buffer_","description":" The BIP32 root master fingerprint."}}]'),Ge=JSON.parse('[{"key":"0","data":{"name":" outputs","type":" _Array_","description":" Transaction output array","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific. If not passed in just return the raw opreturn script if found."}}]'),Ce=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Ke=JSON.parse('[{"key":"0","data":{"name":" script","type":" _Number_","description":" OP\\\\_RETURN script output","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}}]'),We=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Memo, or null if none exists"}}]'),Fe=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Le=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for change outputs"}}]'),Ze=JSON.parse('[{"key":"0","data":{"name":" skipIncrement","type":" _Number_","description":" If we should not count the internal change index counter (if you want to get the same change address in the future)","required":" no"}}]'),Ye=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" An address used for receiving outputs"}}]'),$e=JSON.parse('[{"key":"0","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"},"children":[{"key":"0-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"0-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"0-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"1","data":{"name":" txHex","type":" _String_","description":" Signed transaction hex created from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"}}]'),Qe=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" Representing if notarization was done by acquiring a witness signature from notary"}}]'),et=JSON.parse('[{"key":"0","data":{"type":" [ _BIP32Node_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32node)","description":" BIP32 root node representing the seed"},"children":[{"key":"0-0","data":{"name":" \\\\_\\\\_D","type":" _Buffer_","description":""}},{"key":"0-1","data":{"name":" \\\\_\\\\_Q","type":" _Buffer_","description":""}},{"key":"0-2","data":{"name":" chainCode","type":" _Buffer_","description":""}},{"key":"0-3","data":{"name":" network","type":" [ Network ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":""}},{"key":"0-4","data":{"name":" \\\\_\\\\_DEPTH","type":" _Number_","description":""}},{"key":"0-5","data":{"name":" \\\\_\\\\_INDEX","type":" _Number_","description":""}},{"key":"0-6","data":{"name":" \\\\_\\\\_PARENT\\\\_FINGERPRINT","type":" _Number_","description":""}},{"key":"0-7","data":{"type":" lowR","description":" _Boolean_"}}]}]'),tt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" The resulting PSBT object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" notaryAssets","type":" ??????????","description":" Asset objects require notarization, fetch signatures via fetchNotarizationFromEndPoint()","required":" yes"}},{"key":"2","data":{"name":" rawTx","type":" _String_","description":""}}]'),at=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" PSBT output notarized along with index"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),st=JSON.parse('[{"key":"0","data":{"name":" password","type":" _String_","description":" Decryption password to unlock seed phrase","required":" yes"}}]'),nt=JSON.parse('[{"key":"0","data":{"type":" _Boolean_","description":" On success or fail of restore"}}]'),it=JSON.parse('[{"key":"0","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" The [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address to fetch UTXOs for","required":" yes"}},{"key":"1","data":{"name":" utxoObject","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Back-end provider UTXO JSON object to be sanitized","required":" yes"},"children":[{"key":"1-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"1-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"1-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"1-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"1-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"1-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"1-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"1-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"1-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"1-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"1-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"1-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"1-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"1-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"1-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"1-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"1-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"1-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"1-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"1-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"1-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" Defaults to Syscoin Mainnet. Network to be used to create address for notary and auxfee payout address if those features exist for the asset","required":" no"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]},{"key":"3","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" If this is passed in we use assetWhiteList field of options to skip over (if assetWhiteList is null) UTXOs if they use notarization for an asset that is not a part of assetMap","required":" no"},"children":[{"key":"3-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"3-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"3-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"3-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"4","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Destination outputs for a transaction requiring UTXO sanitizing, used in assetWhiteList, check described above","required":" no"},"children":[{"key":"4-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"4-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"4-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"4-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"5","data":{"name":" excludeZeroConf","type":" _Boolean_","description":" False by default. Filtering out 0 conf UTXO, new/update/send asset transactions must use confirmed inputs only as per Syscoin Core mempool policy","required":" no"}}]'),rt=JSON.parse('[{"key":"0","data":{"type":" [ _SanitizedUTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxos)","description":" Sanitized UTXO object for use internally in this library"},"children":[{"key":"0-0","data":{"name":" utxos","type":" [ _SanitizedUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedutxo) _Array_","description":""},"children":[{"key":"0-0-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-0-1","data":{"name":" address","type":" _String_","description":""}},{"key":"0-0-2","data":{"name":" txId","type":" _String_","description":""}},{"key":"0-0-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-0-4","data":{"name":" vout","type":" _Number_","description":""}},{"key":"0-0-5","data":{"name":" value","type":" _BN_","description":""}},{"key":"0-0-6","data":{"name":" locktime","type":"","description":""}},{"key":"0-0-7","data":{"type":" assetInfo","description":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)"},"children":[{"key":"0-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-1","data":{"name":" assets","type":" [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) _Map_","description":" Mapped from asset GUIDs to [ _SanitizedAssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#sanitizedassetdetails) objects."},"children":[{"key":"0-1-0","data":{"name":" contract","type":" _Buffer_","description":" Hex buffer with the ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"0-1-1","data":{"name":" pubdata","type":" _Buffer_","description":" Hex buffer with the public data information of the token"}},{"key":"0-1-2","data":{"name":" maxsupply","type":" _BN_","description":" Maximum supply in sats"}},{"key":"0-1-3","data":{"name":" precision","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"0-1-4","data":{"name":" updatecapabilityflags","type":" _Number_","description":" Update capabilities on this asset"}}]}]}]'),ot=JSON.parse('[{"key":"0","data":{"name":" backendURL","type":" ` Object`","description":" Fully qualified URL for blockbook","required":" yes"}},{"key":"1","data":{"name":" txHex","type":" _Boolean_","description":" Raw transaction hex","required":" yes"}},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":" Signer object if you wish to update change/receiving indexes from backend provider through [ fetchBackendAccount() ](#fetchbackendaccount)"}}]'),dt=JSON.parse('[{"key":"0","data":{"type":" _String_","description":" Returns txid in response or error"}}]'),ct=JSON.parse('[{"key":"0","data":{"name":" accountIndex","type":" _Number_","description":" Account number to use","required":" yes"}}]'),pt=JSON.parse('[{"key":"0","data":{"name":" tokens","type":" _Array_","description":" [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) tokens from the provider response to [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) account details","required":" yes"}}]'),ut=JSON.parse('[{"key":"0","data":{"name":" rawHex","type":" _String_","description":" Raw transaction hex","required":" yes"}},{"key":"1","data":{"name":" memoHeader","type":" _String_","description":" Memo prefix, application specific","required":" yes"}},{"key":"2","data":{"name":" buffMemo","type":" _Buffer_","description":" Buffer memo to put into the transaction","required":" yes"}}]'),yt=JSON.parse('[{"key":"0","data":{"type":" [ _Transaction_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transaction)","description":" Returns the transaction with the memo appended to the inside of the OP\\\\_RETURN output, or null if not found"}}]'),_t=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]}]'),mt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"1-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"1-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"1-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]},{"key":"2","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer)","description":" Signer used to sign transaction","required":" no"}},{"key":"3","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),ft=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),kt=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" Signer","type":" [ _Signer_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#Signer)","description":"","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),lt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),ht=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" _String_","description":" Private key in [ WIF ](https://en.bitcoin.it/wiki/Wallet_import_format) format to sign inputs of the transaction for","required":" yes"}},{"key":"2","data":{"name":" notaryAssets","type":" [ _NotaryDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#notarydetails)","description":" Asset objects that are required for notarization, fetch signatures via [ fetchNotarizationFromEndPoint() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#fetchnotarizationfromendpoint)","required":" no"},"children":[{"key":"2-0","data":{"name":" endpoint","type":" _String_","description":" Fully qualified URL of the notary endpoint. The endpoint will be sent a POST request with the transaction hex and some other details in a JSON object and requires a signature signing the transaction following notarization protocol"}},{"key":"2-1","data":{"name":" instanttransfers","type":" _Boolean_","description":" Default is 0 (false). Instant transfers by blocking double-spends from inputs. Since notarization is happening via API the API can block any double-spend attempts thereby allowing for instant transactions"}},{"key":"2-2","data":{"name":" hdrequired","type":" _Boolean_","description":" Default is 0 (false). If HD account [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) and [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths) information is required by the notary to verify change addresses belong to the sender account"}}]}]'),bt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A signed [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if successful or unsigned if it failed"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),vt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" Partially signed transaction object","required":" yes"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]},{"key":"1","data":{"name":" pathIn","type":" _String_","description":" Custom HD BIP32 path useful if signing from a specific address like a multisig","required":" no"}}]'),gt=JSON.parse('[{"key":"0","data":{"type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),St=JSON.parse('[{"key":"0","data":{"name":" res","type":" [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res)","description":" The resulting object passed in which is assigned from syscointx.createTransaction() / syscointx.createAssetTransaction()","required":" yes"},"children":[{"key":"0-0","data":{"name":" txVersion","type":" _Number_","description":" Transaction version number"}},{"key":"0-1","data":{"name":" inputs","type":" [ _ResInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#resinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" type","type":" _String_","description":""}},{"key":"0-1-1","data":{"name":" address","type":" _String_","description":" Syscoin address funds are being sent from"}},{"key":"0-1-2","data":{"name":" txId","type":" _String_","description":" Transaction ID"}},{"key":"0-1-3","data":{"name":" path","type":" _String_","description":""}},{"key":"0-1-4","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"0-1-5","data":{"name":" value","type":" _BN_","description":" Value of the transaction"}},{"key":"0-1-6","data":{"name":" locktime","type":" _Number_","description":" Raw locktime. Non-0 value also locktime-activates inputs"}},{"key":"0-1-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset to be sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"0-2","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-2-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-2-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-2-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-2-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-2-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-2-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-2-4","data":{"type":" script","description":" _Buffer_"}}]}]},{"key":"1","data":{"name":" wif","type":" ` ?????????`","description":" Private key in WIF format to sign inputs with","required":" yes"}},{"key":"2","data":{"name":" network","type":" [ _Network_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#network)","description":" bitcoinjs-lib Network object","required":" yes"},"children":[{"key":"2-0","data":{"name":" messagePrefix","type":" _String_","description":""}},{"key":"2-1","data":{"name":" bech32","type":" _String_","description":""}},{"key":"2-2","data":{"name":" bip32","type":" [ _BIP32_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#bip32)","description":""}},{"key":"2-3","data":{"name":" pubKeyHash","type":" ` Hex`","description":""}},{"key":"2-4","data":{"name":" scriptHash","type":" ` Hex`","description":""}},{"key":"2-5","data":{"type":" wif","description":" ` Hex`"}}]}]'),jt=JSON.parse('[{"key":"0","data":{"name":" psbt","type":" [ _PSBT_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt)","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) from bitcoinjs-lib"},"children":[{"key":"0-0","data":{"name":" inputs","type":" [ _PSBTInput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbtinput) _Array_","description":" Inputs for the transaction"},"children":[{"key":"0-0-0","data":{"name":" unknownKeyVals","type":" [ _UnknownKeyValue_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#unknownkeyvalue)","description":""},"children":[{"key":"0-0-0-0","data":{"name":" key","type":" _Buffer_","description":""}},{"key":"0-0-0-1","data":{"type":" value","description":" _Buffer_"}}]},{"key":"0-0-1","data":{"name":" witnessUtxo","type":" [ _WitnessUTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#witnessutxo)","description":""},"children":[{"key":"0-0-1-0","data":{"name":" script","type":" _Buffer_","description":""}},{"key":"0-0-1-1","data":{"type":" value","description":" _BN_"}}]},{"key":"0-0-2","data":{"type":" finalScriptWitness","description":" _Buffer_"}}]},{"key":"0-1","data":{"name":" outputs","type":" [ _Output_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#output) _Array_","description":" Outputs for the transaction"},"children":[{"key":"0-1-0","data":{"name":" address","type":" _String_","description":" Address the funds will be sent to"}},{"key":"0-1-1","data":{"name":" value","type":" _BN_","description":" Value of funds to send"}},{"key":"0-1-2","data":{"name":" changeIndex","type":" _Number_","description":""}},{"key":"0-1-3","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information of an asset sent in the transaction"},"children":[{"key":"0-1-3-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"0-1-3-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]},{"key":"0-1-4","data":{"type":" script","description":" _Buffer_"}}]},{"key":"0-2","data":{"type":" globalMap","description":" ` Object`"}}]}]'),wt=JSON.parse('[{"key":"0","data":{"name":" txOpts","type":" [ _TransactionOptions_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#transactionoptions)","description":" Transaction options","required":" no"},"children":[{"key":"0-0","data":{"name":" rbf","type":" _Boolean_","description":" Replace-by-fee, enables a token to use the high-speed Z-DAG protocol. Should be false for SYS transactions"}},{"key":"0-1","data":{"name":" memo","type":" _String_","description":" Text message/Memo to be included with the transaction"}},{"key":"0-2","data":{"name":" memoHeader","type":" _String_","description":" Header of the memo"}},{"key":"0-3","data":{"name":" assetWhiteList","type":" _Map_","description":" Allows UTXOs to be added from assets in the whitelist or the asset being sent"}}]},{"key":"1","data":{"name":" assetMap","type":" [ _AssetOutputs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutputs) _Map_","description":" Mapping of asset GUIDs to their desired outputs","required":" yes"},"children":[{"key":"1-0","data":{"name":" changeAddress","type":" _String_","description":" The change address where the left over amount should be sent to"}},{"key":"1-1","data":{"name":" outputs","type":" [ _AssetOutput_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetoutput) _Array_","description":" An array of outputs containing which address to send the asset to and the value to send"},"children":[{"key":"1-1-0","data":{"name":" value","type":" _BN_","description":" The amount of the asset to send"}},{"key":"1-1-1","data":{"name":" address","type":" _String_","description":" Address to send the asset to"}}]}]},{"key":"2","data":{"name":" sysChangeAddress","type":" _String_","description":" Change address if defined is where Syscoin only change outputs are sent to. If not defined and [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is defined then a new change address will be automatically created using the next available change address index in the [ HD path ](https://learnmeabitcoin.com/technical/derivation-paths)","required":" no"}},{"key":"3","data":{"name":" feeRate","type":" _BN_","description":" Defaults to 10 satoshi per byte. How many satoshi per byte the network fee should be paid out as","required":" no"}},{"key":"4","data":{"name":" sysFromXpubOrAddress","type":" _String_","description":" If wanting to fund from a specific [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address this field should be set","required":" no"}},{"key":"5","data":{"name":" utxos","type":" [ _UTXOs_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxos)","description":" Pass in specific UTXOs to fund a transaction, should be sanitized using [ utils.sanitizeBlockbookUTXOs() ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#sanitizeblockbookutxos)","required":" no"},"children":[{"key":"5-0","data":{"name":" utxos","type":" [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) _Array_","description":" Inputs/outputs of the transaction"},"children":[{"key":"5-0-0","data":{"name":" txid","type":" _String_","description":" Transaction ID"}},{"key":"5-0-1","data":{"name":" vout","type":" _Number_","description":" Output number"}},{"key":"5-0-2","data":{"name":" value","type":" _String_","description":" Value being transferred"}},{"key":"5-0-3","data":{"name":" height","type":" _Number_","description":" Block height"}},{"key":"5-0-4","data":{"name":" confirmations","type":" _Number_","description":" Number of confirmations"}},{"key":"5-0-5","data":{"name":" address","type":" _String_","description":" Address the funds are being/have been sent to"}},{"key":"5-0-6","data":{"name":" path","type":" _String_","description":""}},{"key":"5-0-7","data":{"name":" assetInfo","type":" [ _AssetInfo_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetinfo)","description":" Information on an asset included in the UTXO"},"children":[{"key":"5-0-7-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-0-7-1","data":{"name":" value","type":" _BN_ / _String_","description":" Value transferred. Type will be _BN_ if within a [ _Res_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#res) object, _String_ if within a [ _UTXO_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#utxo) object"}}]}]},{"key":"5-1","data":{"name":" assets","type":" [ _AssetDetails_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#assetdetails) _Array_","description":" Details of any assets involved in the transaction"},"children":[{"key":"5-1-0","data":{"name":" assetGuid","type":" _String_","description":" Unique, numeric identifier of the token generated on creation"}},{"key":"5-1-1","data":{"name":" contract","type":" _String_","description":" ERC20 address of the contract connected to this SPT for use in the SysEthereum bridge"}},{"key":"5-1-2","data":{"name":" symbol","type":" _String_","description":" Token symbol (in base64)"}},{"key":"5-1-3","data":{"name":" pubData","type":" [ _AssetPublicData_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#publicdata)","description":" Public data information of the token"},"children":[{"key":"5-1-3-0","data":{"name":" desc","type":" _String_","description":" Base64 encoded string describing the token"}}]},{"key":"5-1-4","data":{"name":" totalSupply","type":" _String_","description":" Total current issued supply"}},{"key":"5-1-5","data":{"name":" maxSupply","type":" _String_","description":" Maximum supply in sats"}},{"key":"5-1-6","data":{"name":" decimals","type":" _Number_","description":" Number of digits of precision for the token"}},{"key":"5-1-7","data":{"name":" updateCapabilityFlags","type":" _Number_","description":" Update capabilities on this asset"}}]},{"key":"5-2","data":{"name":" addressOrXpub","type":" _String_","description":" An address or [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) to fetch UTXOs for"}}]},{"key":"6","data":{"name":" redeemOrWitnessScript","type":" _String_","description":" Redeem script for P2SH and witnessScript for P2WSH spending conditions","required":" no"}}]'),xt=JSON.parse('[{"key":"0","data":{"type":" ` Object`","description":" A [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) if the [ Signer ](/docs/dev-resources/documentation/javascript-sdk-ref/utils#Signer) is set or a result object (res) which is used to create a [ PSBT ](/docs/dev-resources/documentation/javascript-sdk-ref/types#psbt) and sign/send if an [ _xPub_ ](/docs/dev-resources/documentation/javascript-sdk-ref/types#xpub) or address are passed in to the fund transaction"}}]')},59560:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u,frontMatter:()=>o,metadata:()=>d,toc:()=>c});var s=a(87462),n=(a(67294),a(3905)),i=a(89262),r=a(99752);const o={sidebar_position:4},d={unversionedId:"dev-resources/documentation/javascript-sdk-ref/hdsigner",id:"dev-resources/documentation/javascript-sdk-ref/hdsigner",isDocsHomePage:!1,title:"HDSigner",description:"These are the HDSigner exported functions, the HDSigner is used to manage and sign transactions internally using your XPUB (HD wallets). BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH.",source:"@site/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner.mdx",sourceDirName:"dev-resources/documentation/javascript-sdk-ref",slug:"/dev-resources/documentation/javascript-sdk-ref/hdsigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner",version:"current",sidebarPosition:4,frontMatter:{sidebar_position:4},sidebar:"tutorialSidebar",previous:{title:"Utils",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/utils"},next:{title:"TrezorSigner",permalink:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner"}},c=[{value:"backup",id:"backup",children:[]},{value:"createAccount",id:"createaccount",children:[]},{value:"createKeypair",id:"createkeypair",children:[]},{value:"deriveAccount",id:"deriveaccount",children:[]},{value:"deriveKeypair",id:"derivekeypair",children:[]},{value:"derivePubKey",id:"derivepubkey",children:[]},{value:"getAccountXpub",id:"getaccountxpub",children:[]},{value:"getAddressFromKeypair",id:"getaddressfromkeypair",children:[]},{value:"getAddressFromPubKey",id:"getaddressfrompubkey",children:[]},{value:"getMasterFingerprint",id:"getmasterfingerprint",children:[]},{value:"getNewChangeAddress",id:"getnewchangeaddress",children:[]},{value:"getNewReceivingAddress",id:"getnewreceivingaddress",children:[]},{value:"getRootNode",id:"getrootnode",children:[]},{value:"restore",id:"restore",children:[]},{value:"setAccountIndex",id:"setaccountindex",children:[]},{value:"setLatestIndexesFromXPubTokens",id:"setlatestindexesfromxpubtokens",children:[]},{value:"sign",id:"sign",children:[]},{value:"signPSBT",id:"signpsbt",children:[]}],p={toc:c};function u(e){let{components:t,...a}=e;return(0,n.kt)("wrapper",(0,s.Z)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"These are the HDSigner exported functions, the HDSigner is used to manage and sign transactions internally using your XPUB (HD wallets). BIP44/BIP84 are supported. P2WPKH, P2WSH, P2PKH, P2SH."),(0,n.kt)("h3",{id:"backup"},"backup"),(0,n.kt)("h5",{id:"backup-1"},(0,n.kt)("em",{parentName:"h5"},"backup()")),(0,n.kt)("p",null,"Encrypt to password and backup to local storage for persistence."),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createaccount"},"createAccount"),(0,n.kt)("h5",{id:"createaccount-1"},(0,n.kt)("em",{parentName:"h5"},"createAccount()")),(0,n.kt)("p",null,"Create and derive a new account."),(0,n.kt)(i.Z,{returnTable:r.lV,anchor:"#createaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"createkeypair"},"createKeypair"),(0,n.kt)("h5",{id:"createkeypair-addressindex-ischange"},(0,n.kt)("em",{parentName:"h5"},"createKeypair( addressIndex, isChange)")),(0,n.kt)("p",null,"Derives a bitcoinjs-lib key pair based on the address index and change marker provided."),(0,n.kt)(i.Z,{paramTable:r.WC,returnTable:r.D_,anchor:"#createkeypair",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"deriveaccount"},"deriveAccount"),(0,n.kt)("h5",{id:"deriveaccount-index-"},(0,n.kt)("em",{parentName:"h5"},"deriveAccount( index )")),(0,n.kt)("p",null,"Derive a HD account based on the index number passed in."),(0,n.kt)(i.Z,{paramTable:r.Pk,returnTable:r.z0,anchor:"#deriveaccount",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"derivekeypair"},"deriveKeypair"),(0,n.kt)("h5",{id:"derivekeypair-keypath-"},(0,n.kt)("em",{parentName:"h5"},"deriveKeypair( keypath )")),(0,n.kt)("p",null,"Takes an HD path and derives the key pair from it."),(0,n.kt)(i.Z,{paramTable:r.VB,returnTable:r.AI,anchor:"#derivekeypair",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"derivepubkey"},"derivePubKey"),(0,n.kt)("h5",{id:"derivepubkey-keypath-"},(0,n.kt)("em",{parentName:"h5"},"derivePubKey( keypath )")),(0,n.kt)("p",null,"Takes an HD path, derives a key pair from it and returns the public key."),(0,n.kt)(i.Z,{paramTable:r.sY,returnTable:r.vo,anchor:"#derivepubkey",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaccountxpub"},"getAccountXpub"),(0,n.kt)("h5",{id:"getaccountxpub-1"},(0,n.kt)("em",{parentName:"h5"},"getAccountXpub()")),(0,n.kt)("p",null,"Gets the ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," for the account currently in use by the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner"),", useful for public provider look-ups based on ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," accounts."),(0,n.kt)(i.Z,{returnTable:r.y5,anchor:"#getaccountxpub",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaddressfromkeypair"},"getAddressFromKeypair"),(0,n.kt)("h5",{id:"getaddressfromkeypair-keypair-"},(0,n.kt)("em",{parentName:"h5"},"getAddressFromKeypair( keyPair )")),(0,n.kt)("p",null,"Takes a key pair and gives back a P2WPKH address."),(0,n.kt)(i.Z,{paramTable:r.p1,returnTable:r.x2,anchor:"#getaddressfromkeypair",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getaddressfrompubkey"},"getAddressFromPubKey"),(0,n.kt)("h5",{id:"getaddressfrompubkey-pubkey-"},(0,n.kt)("em",{parentName:"h5"},"getAddressFromPubKey( pubKey )")),(0,n.kt)("p",null,"Takes a public key and gives back a P2WPKH address."),(0,n.kt)(i.Z,{paramTable:r.XN,returnTable:r.Yl,anchor:"#getaddressfrompubkey",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getmasterfingerprint"},"getMasterFingerprint"),(0,n.kt)("h5",{id:"getmasterfingerprint-1"},(0,n.kt)("em",{parentName:"h5"},"getMasterFingerprint()")),(0,n.kt)("p",null,"Get the master seed fingerprint used for signing bitcoinjs-lib ",(0,n.kt)("a",{parentName:"p",href:"https://github.com/bitcoin/bitcoin/blob/master/doc/psbt.md"},"PSBTs"),"."),(0,n.kt)(i.Z,{returnTable:r.hY,anchor:"#getmasterfingerprint",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewchangeaddress"},"getNewChangeAddress"),(0,n.kt)("h5",{id:"getnewchangeaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewChangeAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending change to."),(0,n.kt)(i.Z,{paramTable:r.Nt,returnTable:r.tf,anchor:"#getnewchangeaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getnewreceivingaddress"},"getNewReceivingAddress"),(0,n.kt)("h5",{id:"getnewreceivingaddress-skipincrement-"},(0,n.kt)("em",{parentName:"h5"},"getNewReceivingAddress( skipIncrement )")),(0,n.kt)("p",null,"Get new address for sending coins to."),(0,n.kt)(i.Z,{paramTable:r.M6,returnTable:r.K9,anchor:"#getnewreceivingaddress",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"getrootnode"},"getRootNode"),(0,n.kt)("h5",{id:"getrootnode-1"},(0,n.kt)("em",{parentName:"h5"},"getRootNode()")),(0,n.kt)("p",null,"Returns the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner"),"'s BIP32 root node."),(0,n.kt)(i.Z,{returnTable:r.Ue,anchor:"#getrootnode",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"restore"},"restore"),(0,n.kt)("h5",{id:"restore-password-"},(0,n.kt)("em",{parentName:"h5"},"restore( password )")),(0,n.kt)("p",null,"Restore on load from local storage and decrypt data to de-serialize objects."),(0,n.kt)(i.Z,{paramTable:r.nu,returnTable:r.W$,anchor:"#restore",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setaccountindex"},"setAccountIndex"),(0,n.kt)("h5",{id:"setaccountindex-accountindex-"},(0,n.kt)("em",{parentName:"h5"},"setAccountIndex( accountIndex )")),(0,n.kt)("p",null,"Set HD account based on accountIndex number passed in so HD indexes (change/receiving) will be updated accordingly to this account."),(0,n.kt)(i.Z,{paramTable:r.ju,anchor:"#setaccountindex",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"setlatestindexesfromxpubtokens"},"setLatestIndexesFromXPubTokens"),(0,n.kt)("h5",{id:"setlatestindexesfromxpubtokens-tokens-"},(0,n.kt)("em",{parentName:"h5"},"setLatestIndexesFromXPubTokens( tokens )")),(0,n.kt)("p",null,"Sets the change and receiving indexes from ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," tokens passed in, from a back-end provider response."),(0,n.kt)(i.Z,{paramTable:r.En,anchor:"#setlatestindexesfromxpubtokens",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"sign"},"sign"),(0,n.kt)("h5",{id:"sign-res-"},(0,n.kt)("em",{parentName:"h5"},"sign( res )")),(0,n.kt)("p",null,"Create signing information based on the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner")," (if set)"),(0,n.kt)(i.Z,{paramTable:r.Xx,anchor:"#sign",mdxType:"ShowInfoComponent"}),(0,n.kt)("hr",null),(0,n.kt)("h3",{id:"signpsbt"},"signPSBT"),(0,n.kt)("h5",{id:"signpsbt-psbt-ownedindexes-"},(0,n.kt)("em",{parentName:"h5"},"signPSBT( psbt, ownedIndexes )")),(0,n.kt)("p",null,"Signs a ",(0,n.kt)("a",{parentName:"p",href:"types/#psbt"},"PSBT")," with ",(0,n.kt)("a",{parentName:"p",href:"types/#xpub"},"xPub")," information from the ",(0,n.kt)("a",{parentName:"p",href:"utils/#hdsigner"},"HDSigner"),"."),(0,n.kt)(i.Z,{paramTable:r.Rf,returnTable:r.jK,anchor:"#signpsbt",mdxType:"ShowInfoComponent"}))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ea313555.9147907e.js b/assets/js/ea313555.9147907e.js new file mode 100644 index 00000000..4b41c2df --- /dev/null +++ b/assets/js/ea313555.9147907e.js @@ -0,0 +1 @@ +(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7937],{74002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var s=n(67294);n(68903);class o extends s.Component{constructor(e){super(e),this.state={address:null,added:!1,network:this.props.network,window:null},this.connectWallet=this.connectWallet.bind(this)}componentDidMount(){window.ethereum&&this.setState({address:window.ethereum.selectedAddress})}async connectWallet(){const e={chainId:"0x"+57..toString(16),chainName:"Syscoin",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},rpcUrls:["https://rpc.ankr.com/syscoin","wss://rpc.syscoin.org/wss"],blockExplorerUrls:["https://explorer.syscoin.org"]},t={chainId:"0x"+5700..toString(16),chainName:"Syscoin Tanenbaum",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc.tanenbaum.io/"],blockExplorerUrls:["https://tanenbaum.io/"]},n={chainId:"0x"+57e3.toString(16),chainName:"Rollux Testnet",iconUrls:[""],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc-tanenbaum.rollux.com"],blockExplorerUrls:["https://rollux.tanenbaum.io/"]};if(window.ethereum){var s;switch(await window.ethereum.send("eth_requestAccounts"),this.state.network){case"Mainnet":s={method:"wallet_addEthereumChain",params:[e,this.state.selectedAddress]};break;case"Tanenbaum Testnet":s={method:"wallet_addEthereumChain",params:[t,this.state.selectedAddress]};break;case"Rollux Optimistic Testnet":s={method:"wallet_addEthereumChain",params:[n,this.state.selectedAddress]}}try{await window.ethereum.request(s)}catch(o){return console.log(o),!1}return this.setState({added:!0}),!0}}render(){return this.state.added?s.createElement("section",{className:"section"},s.createElement("button",{className:"addButton"},"Added")):s.createElement("section",{className:"section"},s.createElement("button",{onClick:this.connectWallet,className:"addButton"},"Add to MetaMask"))}}const i=o},76264:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d,frontMatter:()=>a,metadata:()=>r,toc:()=>c});var s=n(87462),o=(n(67294),n(3905)),i=n(74002);const a={},r={unversionedId:"faq",id:"faq",isDocsHomePage:!1,title:"FAQ",description:"How do I add Syscoin to MetaMask?",source:"@site/docs/faq.mdx",sourceDirName:".",slug:"/faq",permalink:"/docs/faq",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Merged Mining Setup Guide",permalink:"/docs/guides/mining_setup"}},c=[{value:"How do I add Syscoin to MetaMask?",id:"how-do-i-add-syscoin-to-metamask",children:[]},{value:"What is NEVM?",id:"what-is-nevm",children:[]},{value:"Is Syscoin Proof of Work (PoW) or Proof of Stake (PoS)?",id:"is-syscoin-proof-of-work-pow-or-proof-of-stake-pos",children:[]},{value:"What is Syscoin's max supply?",id:"what-is-syscoins-max-supply",children:[]},{value:"How do I transfer SYS to the NEVM chain for using smart contracts?",id:"how-do-i-transfer-sys-to-the-nevm-chain-for-using-smart-contracts",children:[]},{value:"What is Syscoin's block time?",id:"what-is-syscoins-block-time",children:[]},{value:"How secure is Syscoin?",id:"how-secure-is-syscoin",children:[]},{value:"Where can I buy Syscoin?",id:"where-can-i-buy-syscoin",children:[]}],l={toc:c};function d(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,s.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h2",{id:"how-do-i-add-syscoin-to-metamask"},"How do I add Syscoin to MetaMask?"),(0,o.kt)("p",null,"You can add Syscoin to MetaMask using the table below. If this fails for any reason then please follow the guide ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"here"),". Welcome to Syscoin!"),(0,o.kt)("table",null,(0,o.kt)("thead",{parentName:"table"},(0,o.kt)("tr",{parentName:"thead"},(0,o.kt)("th",{parentName:"tr",align:"left"},"Network"),(0,o.kt)("th",{parentName:"tr",align:null}))),(0,o.kt)("tbody",{parentName:"table"},(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Mainnet"),(0,o.kt)("td",{parentName:"tr",align:null},(0,o.kt)(i.Z,{network:"Mainnet",mdxType:"AddNetworkComponent"}))),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Tanenbaum (Testnet)"),(0,o.kt)("td",{parentName:"tr",align:null},(0,o.kt)(i.Z,{network:"Tanenbaum Testnet",mdxType:"AddNetworkComponent"}))),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Syscoin Rollux Testnet"),(0,o.kt)("td",{parentName:"tr",align:null},(0,o.kt)(i.Z,{network:"Rollux Optimistic Testnet",mdxType:"AddNetworkComponent"}))))),(0,o.kt)("p",null,"Learn about ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/rollux"},"Syscoin Rollux"),"."),(0,o.kt)("hr",null),(0,o.kt)("h2",{id:"what-is-nevm"},"What is NEVM?"),(0,o.kt)("p",null,"NEVM stands for Network-Enhanced Virtual Machine, this is what powers Syscoin's smart contract layer and enables dApps to be built on top of the Syscoin blockchain. It is a version of ",(0,o.kt)("a",{parentName:"p",href:"https://ethereum.org/en/developers/docs/evm/"},"Ethereum's EVM")," but modified to operate in tandem with the Syscoin main chain. You can read more about NEVM ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},"here"),"."),(0,o.kt)("h2",{id:"is-syscoin-proof-of-work-pow-or-proof-of-stake-pos"},"Is Syscoin Proof of Work (PoW) or Proof of Stake (PoS)?"),(0,o.kt)("p",null,"Syscoin is Proof of Work and is merged-mined with Bitcoin, meaning that Bitcoin miners who also decide to mine Syscoin don't have to expend any extra energy to mine the Syscoin blockchain; the energy that goes into mining Bitcoin can be used to mine Syscoin at no extra cost. On top of this Proof of Work model, Syscoin provides a network of masternodes that provide additive security in the form of multi-quorums that generate chainlocks as an efficient and effective source of decentralized finality. Syscoin's network of masternodes is on the decentralized side of the spectrum with typically well over two-thousand masternodes being independently owned and operated at any time. In this sense, Syscoin could be considered a hybrid of Proof of Work and Proof of Service."),(0,o.kt)("h2",{id:"what-is-syscoins-max-supply"},"What is Syscoin's max supply?"),(0,o.kt)("p",null,"SYS coinomics are very similar to Ethereum's ",(0,o.kt)("a",{parentName:"p",href:"https://eips.ethereum.org/EIPS/eip-1559"},"EIP-1559"),". With the release of NEVM, Syscoin Protocol balances inflation/deflation dynamically and no longer has a maximum supply. Any gas fees spent on smart contracts are burned. The purpose is to provide an ideal utility-focused economy for a global user base, now and into the future."),(0,o.kt)("h2",{id:"how-do-i-transfer-sys-to-the-nevm-chain-for-using-smart-contracts"},"How do I transfer SYS to the NEVM chain for using smart contracts?"),(0,o.kt)("p",null,"To transfer your SYS from the base chain to the NEVM chain you can use the ",(0,o.kt)("a",{parentName:"p",href:"https://bridge.syscoin.org/"},"Bridge dApp"),", created by the Syscoin developers."),(0,o.kt)("h2",{id:"what-is-syscoins-block-time"},"What is Syscoin's block time?"),(0,o.kt)("p",null,"Syscoin's Layer-1 block time is 2.5 minutes. Syscoin's Layer-2 blocktime is near-instant. This serves several purposes. For one, this disincentivizes direct use of the L1 by end users who actually belong on L2. Additionally, it is a sufficient window of time to ensure a very high probability of achieving a multi-quorum chainlock. Syscoin uses ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"chainlocks")," to further secure its blockchain with finality in addition to Bitcoin ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mining"),". Syscoin's L1 is designed to serve as a secure settlement layer for Optimistic Rollups and ZK-Rollups where the vast majority of dApps are destined to operate. As such, end users will never experience the 2.5 minute block time while using rollups. Their blockchain interactions, whether DeFi, GameFi or other uses, will be near-instant and extremely low cost while being secured by Syscoin's L1 in the background."),(0,o.kt)("h2",{id:"how-secure-is-syscoin"},"How secure is Syscoin?"),(0,o.kt)("p",null,"Syscoin is ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merged-mined")," with Bitcoin, what this means is that the miners mining Bitcoin can mine Syscoin at the same time, with no extra power required. At time of writing Syscoin has around 25% of Bitcoin's hashrate (mining power). The Syscoin hashrate can be seen ",(0,o.kt)("a",{parentName:"p",href:"https://minerstat.com/coin/SYS/network-hashrate"},"here"),". We are looking to onboard more miners for even more security. Besides having 25%~ of Bitcoin's hashrate Syscoin also has ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"chainlocks"),", which help to secure the chain even further by preventing ",(0,o.kt)("a",{parentName:"p",href:"https://www.investopedia.com/terms/s/selfish-mining.asp"},"selfish mining"),"."),(0,o.kt)("h2",{id:"where-can-i-buy-syscoin"},"Where can I buy Syscoin?"),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://www.coingecko.com/en/coins/syscoin#markets"},"Here")," is a list of some exchanges where you can buy Syscoin."))}d.isMDXComponent=!0},46601:()=>{}}]); \ No newline at end of file diff --git a/assets/js/ea313555.ae395721.js b/assets/js/ea313555.ae395721.js deleted file mode 100644 index 5a4b6dc1..00000000 --- a/assets/js/ea313555.ae395721.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[7937],{74002:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var s=n(67294);n(68903);class o extends s.Component{constructor(e){super(e),this.state={address:null,added:!1,network:this.props.network,window:null},this.connectWallet=this.connectWallet.bind(this)}componentDidMount(){window.ethereum&&this.setState({address:window.ethereum.selectedAddress})}async connectWallet(){const e={chainId:"0x"+57..toString(16),chainName:"Syscoin",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Syscoin",symbol:"SYS",decimals:18},rpcUrls:["https://rpc.ankr.com/syscoin","wss://rpc.syscoin.org/wss"],blockExplorerUrls:["https://explorer.syscoin.org"]},t={chainId:"0x"+5700..toString(16),chainName:"Syscoin Tanenbaum",iconUrls:["https://syscoin.org/images/syscoin-blue-flat-logo.svg"],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc.tanenbaum.io/"],blockExplorerUrls:["https://tanenbaum.io/"]},n={chainId:"0x"+57e3.toString(16),chainName:"Rollux Testnet",iconUrls:[""],nativeCurrency:{name:"Testnet Syscoin",symbol:"TSYS",decimals:18},rpcUrls:["https://rpc-tanenbaum.rollux.com"],blockExplorerUrls:["https://rollux.tanenbaum.io/"]};if(window.ethereum){var s;switch(await window.ethereum.send("eth_requestAccounts"),this.state.network){case"Mainnet":s={method:"wallet_addEthereumChain",params:[e,this.state.selectedAddress]};break;case"Tanenbaum Testnet":s={method:"wallet_addEthereumChain",params:[t,this.state.selectedAddress]};break;case"Rollux Optimistic Testnet":s={method:"wallet_addEthereumChain",params:[n,this.state.selectedAddress]}}try{await window.ethereum.request(s)}catch(o){return console.log(o),!1}return this.setState({added:!0}),!0}}render(){return this.state.added?s.createElement("section",{className:"section"},s.createElement("button",{className:"addButton"},"Added")):s.createElement("section",{className:"section"},s.createElement("button",{onClick:this.connectWallet,className:"addButton"},"Add to MetaMask"))}}const i=o},76264:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>c});var s=n(87462),o=(n(67294),n(3905)),i=n(74002);const a={},r={unversionedId:"faq",id:"faq",isDocsHomePage:!1,title:"FAQ",description:"How do I add Syscoin to MetaMask?",source:"@site/docs/faq.mdx",sourceDirName:".",slug:"/faq",permalink:"/docs/faq",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Merged Mining Setup Guide",permalink:"/docs/guides/mining_setup"}},c=[{value:"How do I add Syscoin to MetaMask?",id:"how-do-i-add-syscoin-to-metamask",children:[]},{value:"What is NEVM?",id:"what-is-nevm",children:[]},{value:"Is Syscoin Proof of Work (PoW) or Proof of Stake (PoS)?",id:"is-syscoin-proof-of-work-pow-or-proof-of-stake-pos",children:[]},{value:"What is Syscoin's max supply?",id:"what-is-syscoins-max-supply",children:[]},{value:"How do I transfer SYS to the NEVM chain for using smart contracts?",id:"how-do-i-transfer-sys-to-the-nevm-chain-for-using-smart-contracts",children:[]},{value:"What is Syscoin's block time?",id:"what-is-syscoins-block-time",children:[]},{value:"How secure is Syscoin?",id:"how-secure-is-syscoin",children:[]},{value:"Where can I buy Syscoin?",id:"where-can-i-buy-syscoin",children:[]}],l={toc:c},d="wrapper";function h(e){let{components:t,...n}=e;return(0,o.kt)(d,(0,s.Z)({},l,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h2",{id:"how-do-i-add-syscoin-to-metamask"},"How do I add Syscoin to MetaMask?"),(0,o.kt)("p",null,"You can add Syscoin to MetaMask using the table below. If this fails for any reason then please follow the guide ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"here"),". Welcome to Syscoin!"),(0,o.kt)("table",null,(0,o.kt)("thead",{parentName:"table"},(0,o.kt)("tr",{parentName:"thead"},(0,o.kt)("th",{parentName:"tr",align:"left"},"Network"),(0,o.kt)("th",{parentName:"tr",align:null}))),(0,o.kt)("tbody",{parentName:"table"},(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Mainnet"),(0,o.kt)("td",{parentName:"tr",align:null},(0,o.kt)(i.Z,{network:"Mainnet",mdxType:"AddNetworkComponent"}))),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Syscoin NEVM Tanenbaum (Testnet)"),(0,o.kt)("td",{parentName:"tr",align:null},(0,o.kt)(i.Z,{network:"Tanenbaum Testnet",mdxType:"AddNetworkComponent"}))),(0,o.kt)("tr",{parentName:"tbody"},(0,o.kt)("td",{parentName:"tr",align:"left"},"Syscoin Rollux Testnet"),(0,o.kt)("td",{parentName:"tr",align:null},(0,o.kt)(i.Z,{network:"Rollux Optimistic Testnet",mdxType:"AddNetworkComponent"}))))),(0,o.kt)("p",null,"Learn about ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/rollux"},"Syscoin Rollux"),"."),(0,o.kt)("hr",null),(0,o.kt)("h2",{id:"what-is-nevm"},"What is NEVM?"),(0,o.kt)("p",null,"NEVM stands for Network-Enhanced Virtual Machine, this is what powers Syscoin's smart contract layer and enables dApps to be built on top of the Syscoin blockchain. It is a version of ",(0,o.kt)("a",{parentName:"p",href:"https://ethereum.org/en/developers/docs/evm/"},"Ethereum's EVM")," but modified to operate in tandem with the Syscoin main chain. You can read more about NEVM ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/nevm"},"here"),"."),(0,o.kt)("h2",{id:"is-syscoin-proof-of-work-pow-or-proof-of-stake-pos"},"Is Syscoin Proof of Work (PoW) or Proof of Stake (PoS)?"),(0,o.kt)("p",null,"Syscoin is Proof of Work and is merged-mined with Bitcoin, meaning that Bitcoin miners who also decide to mine Syscoin don't have to expend any extra energy to mine the Syscoin blockchain; the energy that goes into mining Bitcoin can be used to mine Syscoin at no extra cost. On top of this Proof of Work model, Syscoin provides a network of masternodes that provide additive security in the form of multi-quorums that generate chainlocks as an efficient and effective source of decentralized finality. Syscoin's network of masternodes is on the decentralized side of the spectrum with typically well over two-thousand masternodes being independently owned and operated at any time. In this sense, Syscoin could be considered a hybrid of Proof of Work and Proof of Service."),(0,o.kt)("h2",{id:"what-is-syscoins-max-supply"},"What is Syscoin's max supply?"),(0,o.kt)("p",null,"SYS coinomics are very similar to Ethereum's ",(0,o.kt)("a",{parentName:"p",href:"https://eips.ethereum.org/EIPS/eip-1559"},"EIP-1559"),". With the release of NEVM, Syscoin Protocol balances inflation/deflation dynamically and no longer has a maximum supply. Any gas fees spent on smart contracts are burned. The purpose is to provide an ideal utility-focused economy for a global user base, now and into the future."),(0,o.kt)("h2",{id:"how-do-i-transfer-sys-to-the-nevm-chain-for-using-smart-contracts"},"How do I transfer SYS to the NEVM chain for using smart contracts?"),(0,o.kt)("p",null,"To transfer your SYS from the base chain to the NEVM chain you can use the ",(0,o.kt)("a",{parentName:"p",href:"https://bridge.syscoin.org/"},"Bridge dApp"),", created by the Syscoin developers."),(0,o.kt)("h2",{id:"what-is-syscoins-block-time"},"What is Syscoin's block time?"),(0,o.kt)("p",null,"Syscoin's Layer-1 block time is 2.5 minutes. Syscoin's Layer-2 blocktime is near-instant. This serves several purposes. For one, this disincentivizes direct use of the L1 by end users who actually belong on L2. Additionally, it is a sufficient window of time to ensure a very high probability of achieving a multi-quorum chainlock. Syscoin uses ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"chainlocks")," to further secure its blockchain with finality in addition to Bitcoin ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merge-mining"),". Syscoin's L1 is designed to serve as a secure settlement layer for Optimistic Rollups and ZK-Rollups where the vast majority of dApps are destined to operate. As such, end users will never experience the 2.5 minute block time while using rollups. Their blockchain interactions, whether DeFi, GameFi or other uses, will be near-instant and extremely low cost while being secured by Syscoin's L1 in the background."),(0,o.kt)("h2",{id:"how-secure-is-syscoin"},"How secure is Syscoin?"),(0,o.kt)("p",null,"Syscoin is ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/merged-mining"},"merged-mined")," with Bitcoin, what this means is that the miners mining Bitcoin can mine Syscoin at the same time, with no extra power required. At time of writing Syscoin has around 25% of Bitcoin's hashrate (mining power). The Syscoin hashrate can be seen ",(0,o.kt)("a",{parentName:"p",href:"https://minerstat.com/coin/SYS/network-hashrate"},"here"),". We are looking to onboard more miners for even more security. Besides having 25%~ of Bitcoin's hashrate Syscoin also has ",(0,o.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"chainlocks"),", which help to secure the chain even further by preventing ",(0,o.kt)("a",{parentName:"p",href:"https://www.investopedia.com/terms/s/selfish-mining.asp"},"selfish mining"),"."),(0,o.kt)("h2",{id:"where-can-i-buy-syscoin"},"Where can I buy Syscoin?"),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://www.coingecko.com/en/coins/syscoin#markets"},"Here")," is a list of some exchanges where you can buy Syscoin."))}h.isMDXComponent=!0},46601:()=>{}}]); \ No newline at end of file diff --git a/assets/js/eab5d44b.3ec6d6a9.js b/assets/js/eab5d44b.3ec6d6a9.js deleted file mode 100644 index 3078639b..00000000 --- a/assets/js/eab5d44b.3ec6d6a9.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8478],{3905:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>f});var r=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},m=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},u="mdxType",p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,m=s(e,["components","mdxType","originalType","parentName"]),u=l(n),d=i,f=u["".concat(c,".").concat(d)]||u[d]||p[d]||o;return n?r.createElement(f,a(a({ref:t},m),{},{components:n})):r.createElement(f,a({ref:t},m))}));function f(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,a=new Array(o);a[0]=d;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s[u]="string"==typeof e?e:i,a[1]=s;for(var l=2;l{n.r(t),n.d(t,{default:()=>m,frontMatter:()=>o,metadata:()=>a,toc:()=>s});var r=n(87462),i=(n(67294),n(3905));const o={},a={unversionedId:"tech/merged-mining",id:"tech/merged-mining",isDocsHomePage:!1,title:"Merged Mining",description:"Also known as Auxiliary Proof-of-Work or simply AuxPoW, merged mining enables you to mine multiple blockchains at the same time without spending additional energy on mining. It is carbon-neutral as it re-uses the proof from work already performed. It could be seen as someone (the miner) entering a lottery of sorts. With merged-mining the miner can submit the same lottery ticket and numbers to different lotteries (merge-mined blockchains), increasing their rewards.",source:"@site/docs/tech/merged-mining.mdx",sourceDirName:"tech",slug:"/tech/merged-mining",permalink:"/docs/tech/merged-mining",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Masternodes",permalink:"/docs/tech/masternodes"},next:{title:"NEVM Chain (EVM)",permalink:"/docs/tech/nevm"}},s=[],c={toc:s},l="wrapper";function m(e){let{components:t,...n}=e;return(0,i.kt)(l,(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Also known as Auxiliary Proof-of-Work or simply AuxPoW, merged mining enables you to mine multiple blockchains at the same time without spending additional energy on mining. It is carbon-neutral as it re-uses the proof from work already performed. It could be seen as someone (the miner) entering a lottery of sorts. With merged-mining the miner can submit the same lottery ticket and numbers to different lotteries (merge-mined blockchains), increasing their rewards."),(0,i.kt)("p",null,"Merged mining was first presented by Satoshi Nakamoto in 2010, and was subsequently introduced to Bitcoin Core. It can be considered a Bitcoin primitive. See Bitcoin's ",(0,i.kt)("a",{parentName:"p",href:"https://en.bitcoin.it/wiki/Merged_mining_specification"},"Merged Mining Specification"),"."),(0,i.kt)("p",null,"From our perspective, it will be proven over time to be a critical component for incentivizing a robust and decentralized Bitcoin network as BTC block rewards will continue to diminish. Without merged-mining, revenue from mining Bitcoin would eventually be limited to Bitcoin\u2019s flat network fees."),(0,i.kt)("p",null,"Furthermore, merged mining enables Bitcoin\u2019s hashrate to be extensible and support blockchains that offer important utility beyond the scope and best-purpose of the Bitcoin protocol itself."),(0,i.kt)("p",null,"Note: Blockchains that naively use merge-mined settlement are subject to the same vectors of PoW in general. A solution now exists to solve those challenges, and it comes in the form of a hybrid consensus system that provides decentralized Finality on top of merged-mining. Such a solution is present in Syscoin. Dig into Syscoin's ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"Finality"),"."),(0,i.kt)("p",null,"For more information or to set up your miner(s) to merge-mine Syscoin, refer to the ",(0,i.kt)("a",{parentName:"p",href:"/docs/guides/mining_setup"},"Merged Mining Setup Guide"),"."))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/eab5d44b.c0d1636d.js b/assets/js/eab5d44b.c0d1636d.js new file mode 100644 index 00000000..6413d2ff --- /dev/null +++ b/assets/js/eab5d44b.c0d1636d.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[8478],{3905:(e,t,n)=>{n.d(t,{Zo:()=>m,kt:()=>d});var r=n(67294);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=r.createContext({}),l=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},m=function(e){var t=l(e.components);return r.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},p=r.forwardRef((function(e,t){var n=e.components,i=e.mdxType,o=e.originalType,c=e.parentName,m=s(e,["components","mdxType","originalType","parentName"]),p=l(n),d=i,f=p["".concat(c,".").concat(d)]||p[d]||u[d]||o;return n?r.createElement(f,a(a({ref:t},m),{},{components:n})):r.createElement(f,a({ref:t},m))}));function d(e,t){var n=arguments,i=t&&t.mdxType;if("string"==typeof e||i){var o=n.length,a=new Array(o);a[0]=p;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:i,a[1]=s;for(var l=2;l{n.r(t),n.d(t,{default:()=>l,frontMatter:()=>o,metadata:()=>a,toc:()=>s});var r=n(87462),i=(n(67294),n(3905));const o={},a={unversionedId:"tech/merged-mining",id:"tech/merged-mining",isDocsHomePage:!1,title:"Merged Mining",description:"Also known as Auxiliary Proof-of-Work or simply AuxPoW, merged mining enables you to mine multiple blockchains at the same time without spending additional energy on mining. It is carbon-neutral as it re-uses the proof from work already performed. It could be seen as someone (the miner) entering a lottery of sorts. With merged-mining the miner can submit the same lottery ticket and numbers to different lotteries (merge-mined blockchains), increasing their rewards.",source:"@site/docs/tech/merged-mining.mdx",sourceDirName:"tech",slug:"/tech/merged-mining",permalink:"/docs/tech/merged-mining",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Masternodes",permalink:"/docs/tech/masternodes"},next:{title:"NEVM Chain (EVM)",permalink:"/docs/tech/nevm"}},s=[],c={toc:s};function l(e){let{components:t,...n}=e;return(0,i.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,i.kt)("p",null,"Also known as Auxiliary Proof-of-Work or simply AuxPoW, merged mining enables you to mine multiple blockchains at the same time without spending additional energy on mining. It is carbon-neutral as it re-uses the proof from work already performed. It could be seen as someone (the miner) entering a lottery of sorts. With merged-mining the miner can submit the same lottery ticket and numbers to different lotteries (merge-mined blockchains), increasing their rewards."),(0,i.kt)("p",null,"Merged mining was first presented by Satoshi Nakamoto in 2010, and was subsequently introduced to Bitcoin Core. It can be considered a Bitcoin primitive. See Bitcoin's ",(0,i.kt)("a",{parentName:"p",href:"https://en.bitcoin.it/wiki/Merged_mining_specification"},"Merged Mining Specification"),"."),(0,i.kt)("p",null,"From our perspective, it will be proven over time to be a critical component for incentivizing a robust and decentralized Bitcoin network as BTC block rewards will continue to diminish. Without merged-mining, revenue from mining Bitcoin would eventually be limited to Bitcoin\u2019s flat network fees."),(0,i.kt)("p",null,"Furthermore, merged mining enables Bitcoin\u2019s hashrate to be extensible and support blockchains that offer important utility beyond the scope and best-purpose of the Bitcoin protocol itself."),(0,i.kt)("p",null,"Note: Blockchains that naively use merge-mined settlement are subject to the same vectors of PoW in general. A solution now exists to solve those challenges, and it comes in the form of a hybrid consensus system that provides decentralized Finality on top of merged-mining. Such a solution is present in Syscoin. Dig into Syscoin's ",(0,i.kt)("a",{parentName:"p",href:"/docs/tech/finality"},"Finality"),"."),(0,i.kt)("p",null,"For more information or to set up your miner(s) to merge-mine Syscoin, refer to the ",(0,i.kt)("a",{parentName:"p",href:"/docs/guides/mining_setup"},"Merged Mining Setup Guide"),"."))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/eb7c48ea.5b6505ab.js b/assets/js/eb7c48ea.5b6505ab.js deleted file mode 100644 index 94f5664e..00000000 --- a/assets/js/eb7c48ea.5b6505ab.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[795],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>f});var r=n(67294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),s=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},p="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},d=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),p=s(n),d=a,f=p["".concat(c,".").concat(d)]||p[d]||m[d]||o;return n?r.createElement(f,i(i({ref:t},u),{},{components:n})):r.createElement(f,i({ref:t},u))}));function f(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,i=new Array(o);i[0]=d;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l[p]="string"==typeof e?e:a,i[1]=l;for(var s=2;s{n.r(t),n.d(t,{default:()=>u,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var r=n(87462),a=(n(67294),n(3905));const o={},i={unversionedId:"tech/finality",id:"tech/finality",isDocsHomePage:!1,title:"Finality",description:"Decentralized and Fault Tolerant",source:"@site/docs/tech/finality.mdx",sourceDirName:"tech",slug:"/tech/finality",permalink:"/docs/tech/finality",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Bitcoin Technology",permalink:"/docs/tech/bitcoin-tech"},next:{title:"Masternodes",permalink:"/docs/tech/masternodes"}},l=[],c={toc:l},s="wrapper";function u(e){let{components:t,...n}=e;return(0,a.kt)(s,(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"Decentralized and Fault Tolerant"),(0,a.kt)("p",null,"Finality is the affirmation that all well-formed blocks will not be revoked once committed to the blockchain. The chain is not subject to the risk of reorganization further back than the most recent block that achieved finality. On the Syscoin network, all nodes recognize finalized blocks as valid and accepted. Any nodes with chains that differ further back than the last chainlock are not accepted as valid peers on the network."),(0,a.kt)("p",null,"Syscoin\u2019s finality uses chainlocks which are sourced from a multi-quorum consisting of 4 groups of 400 masternodes (1,600 total). These quorums are randomly selected among the entirety of Syscoin's network of masternodes (currently ~2,500 at time of documenting). Each quorum is reformed every few hours. 3 out of 4 quorums must agree on a block in order to establish a chainlock. "),(0,a.kt)("p",null,"This mechanism provides a high probability of finality in a decentralized way, and fault tolerance is inherited from the underlying Nakamoto consensus. In the rare event that finality cannot be achieved on a block, the network falls back to the longest chain rule - a seamless and non-breaking event."),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"}),(0,a.kt)("th",{parentName:"tr",align:null},"Time to finality after block"),(0,a.kt)("th",{parentName:"tr",align:null},"Blocktime"),(0,a.kt)("th",{parentName:"tr",align:null},"Resilience absent finality"),(0,a.kt)("th",{parentName:"tr",align:null},"Mechanism"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("strong",{parentName:"td"},"Syscoin")),(0,a.kt)("td",{parentName:"tr",align:null},"~12.5 minutes"),(0,a.kt)("td",{parentName:"tr",align:null},"2.5 minutes"),(0,a.kt)("td",{parentName:"tr",align:null},"Nakamoto longest chain rule"),(0,a.kt)("td",{parentName:"tr",align:null},"PoW + Quorums")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("strong",{parentName:"td"},"Ethereum")),(0,a.kt)("td",{parentName:"tr",align:null},"~14 minutes (~3 epochs)"),(0,a.kt)("td",{parentName:"tr",align:null},"10 seconds"),(0,a.kt)("td",{parentName:"tr",align:null},"None. No finality = breaking event"),(0,a.kt)("td",{parentName:"tr",align:null},"PoS + Casper")))),(0,a.kt)("p",null,"This provides effective resistance to 51%, malicious long-range MEV, and selfish mining attacks, while retaining PoW as the underlying consensus mechanism. Attackers must accomplish two expensive and challenging tasks to achieve a successful 51% attack: 1) Control greater than 50% of Bitcoin's hash power supplied to Syscoin, plus 2) Control a super-majority of Syscoin masternodes."),(0,a.kt)("p",null,"Chainlocks can be viewed by using Syscoin Core RPC ",(0,a.kt)("inlineCode",{parentName:"p"},"getchainlocks"),"."))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/eb7c48ea.fe13ff67.js b/assets/js/eb7c48ea.fe13ff67.js new file mode 100644 index 00000000..9178b579 --- /dev/null +++ b/assets/js/eb7c48ea.fe13ff67.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[795],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>d});var r=n(67294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var c=r.createContext({}),s=function(e){var t=r.useContext(c),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},u=function(e){var t=s(e.components);return r.createElement(c.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,o=e.originalType,c=e.parentName,u=l(e,["components","mdxType","originalType","parentName"]),m=s(n),d=a,f=m["".concat(c,".").concat(d)]||m[d]||p[d]||o;return n?r.createElement(f,i(i({ref:t},u),{},{components:n})):r.createElement(f,i({ref:t},u))}));function d(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var o=n.length,i=new Array(o);i[0]=m;var l={};for(var c in t)hasOwnProperty.call(t,c)&&(l[c]=t[c]);l.originalType=e,l.mdxType="string"==typeof e?e:a,i[1]=l;for(var s=2;s{n.r(t),n.d(t,{default:()=>s,frontMatter:()=>o,metadata:()=>i,toc:()=>l});var r=n(87462),a=(n(67294),n(3905));const o={},i={unversionedId:"tech/finality",id:"tech/finality",isDocsHomePage:!1,title:"Finality",description:"Decentralized and Fault Tolerant",source:"@site/docs/tech/finality.mdx",sourceDirName:"tech",slug:"/tech/finality",permalink:"/docs/tech/finality",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Bitcoin Technology",permalink:"/docs/tech/bitcoin-tech"},next:{title:"Masternodes",permalink:"/docs/tech/masternodes"}},l=[],c={toc:l};function s(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},c,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,"Decentralized and Fault Tolerant"),(0,a.kt)("p",null,"Finality is the affirmation that all well-formed blocks will not be revoked once committed to the blockchain. The chain is not subject to the risk of reorganization further back than the most recent block that achieved finality. On the Syscoin network, all nodes recognize finalized blocks as valid and accepted. Any nodes with chains that differ further back than the last chainlock are not accepted as valid peers on the network."),(0,a.kt)("p",null,"Syscoin\u2019s finality uses chainlocks which are sourced from a multi-quorum consisting of 4 groups of 400 masternodes (1,600 total). These quorums are randomly selected among the entirety of Syscoin's network of masternodes (currently ~2,500 at time of documenting). Each quorum is reformed every few hours. 3 out of 4 quorums must agree on a block in order to establish a chainlock. "),(0,a.kt)("p",null,"This mechanism provides a high probability of finality in a decentralized way, and fault tolerance is inherited from the underlying Nakamoto consensus. In the rare event that finality cannot be achieved on a block, the network falls back to the longest chain rule - a seamless and non-breaking event."),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:"left"}),(0,a.kt)("th",{parentName:"tr",align:null},"Time to finality after block"),(0,a.kt)("th",{parentName:"tr",align:null},"Blocktime"),(0,a.kt)("th",{parentName:"tr",align:null},"Resilience absent finality"),(0,a.kt)("th",{parentName:"tr",align:null},"Mechanism"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("strong",{parentName:"td"},"Syscoin")),(0,a.kt)("td",{parentName:"tr",align:null},"~12.5 minutes"),(0,a.kt)("td",{parentName:"tr",align:null},"2.5 minutes"),(0,a.kt)("td",{parentName:"tr",align:null},"Nakamoto longest chain rule"),(0,a.kt)("td",{parentName:"tr",align:null},"PoW + Quorums")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:"left"},(0,a.kt)("strong",{parentName:"td"},"Ethereum")),(0,a.kt)("td",{parentName:"tr",align:null},"~14 minutes (~3 epochs)"),(0,a.kt)("td",{parentName:"tr",align:null},"10 seconds"),(0,a.kt)("td",{parentName:"tr",align:null},"None. No finality = breaking event"),(0,a.kt)("td",{parentName:"tr",align:null},"PoS + Casper")))),(0,a.kt)("p",null,"This provides effective resistance to 51%, malicious long-range MEV, and selfish mining attacks, while retaining PoW as the underlying consensus mechanism. Attackers must accomplish two expensive and challenging tasks to achieve a successful 51% attack: 1) Control greater than 50% of Bitcoin's hash power supplied to Syscoin, plus 2) Control a super-majority of Syscoin masternodes."),(0,a.kt)("p",null,"Chainlocks can be viewed by using Syscoin Core RPC ",(0,a.kt)("inlineCode",{parentName:"p"},"getchainlocks"),"."))}s.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/eea8d354.4c301543.js b/assets/js/eea8d354.4c301543.js deleted file mode 100644 index 8777b4f9..00000000 --- a/assets/js/eea8d354.4c301543.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9011],{3705:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var a=n(67294),s=n(86010),r=n(61952),l=(n(36742),n(52263));const c={heroBanner:"heroBanner_etFc",buttons:"buttons_+YzY",mainline:"mainline_jjKP",tagline:"tagline_0m2L"};var i=n(87462);const o={features:"features_n4mZ",featurePng:"featurePng_4RoP",feature:"feature_TYIJ",featureButton:"featureButton_EIHW",box:"box_DDom"},m=[{title:"Developer Documentation",png:"img/getSys-01.png",pngSmall:"img/getSys-01-sm.png",link:"docs/dev-resources/nevm/resources",color:"#DCEAFF"},{title:"Deploy a NEVM Smart Contract",png:"img/feature-function-02.png",pngSmall:"img/feature-function-02-sm.png",link:"docs/dev-resources/nevm/guides-and-tuts",color:"#DDEBF6"},{title:"What is Syscoin?",png:"img/feature-security-02.png",pngSmall:"img/feature-security-02-sm.png",link:"docs/intro/syscoin-what",color:"#CFE8EB"},{title:"User Guides",png:"img/connect-01.png",pngSmall:"img/connect-01-sm.png",link:"docs/guides/overview",color:"#EBE8CF"},{title:"Get SYS",png:"img/exchanges-01.png",pngSmall:"img/exchanges-01-sm.png",link:"docs/dev-resources/tsys",color:"#EBD2CF"}];function u(e){let{png:t,pngSmall:n,title:r,description:l,link:c,color:i}=e;return a.createElement("div",{className:(0,s.Z)(o.box)},a.createElement("a",{href:c,className:o.featureButton},a.createElement("div",{className:((0,s.Z)("col col--2"),o.feature),style:{background:i}},a.createElement("picture",null,a.createElement("source",{media:"(min-width: 650px)",srcSet:t}),a.createElement("source",{media:"(min-width: 200px)",srcSet:n}),a.createElement("img",{className:o.featurePng,alt:r,src:t})),a.createElement("h3",null,r))))}function g(){return a.createElement("section",{className:o.features},a.createElement("div",{className:"container"},a.createElement("div",{className:"row",className:o.features},m.map(((e,t)=>a.createElement(u,(0,i.Z)({key:t},e)))))))}function d(){const{siteConfig:e}=(0,l.default)();return a.createElement("header",{className:(0,s.Z)(c.heroBanner)},a.createElement("div",{className:"container"},a.createElement("h1",{className:(0,s.Z)(c.mainline)},"Build the Future on Syscoin"),a.createElement("p",{className:(0,s.Z)(c.tagline)},"Documentation for builders, futurists and revolutionaries")))}function f(){const{siteConfig:e}=(0,l.default)();return a.createElement(r.Z,{title:`Home ${e.title}`,description:"Syscoin Docs | Home of the buidlers"},a.createElement(d,null),a.createElement("main",null,a.createElement(g,null)))}}}]); \ No newline at end of file diff --git a/assets/js/eea8d354.7f16cc68.js b/assets/js/eea8d354.7f16cc68.js new file mode 100644 index 00000000..507090fe --- /dev/null +++ b/assets/js/eea8d354.7f16cc68.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[9011],{3705:(e,t,n)=>{n.r(t),n.d(t,{default:()=>y});var s=n(67294),c=n(86010),l=n(61952),a=(n(36742),n(52263));const r="heroBanner_etFc",i="mainline_jjKP",o="tagline_0m2L";var m=n(87462);const u="features_n4mZ",g="featurePng_4RoP",d="feature_TYIJ",p="featureButton_EIHW",E="box_DDom",f=[{title:"Developer Documentation",png:"img/getSys-01.png",pngSmall:"img/getSys-01-sm.png",link:"docs/dev-resources/nevm/resources",color:"#DCEAFF"},{title:"Deploy a NEVM Smart Contract",png:"img/feature-function-02.png",pngSmall:"img/feature-function-02-sm.png",link:"docs/dev-resources/nevm/guides-and-tuts",color:"#DDEBF6"},{title:"What is Syscoin?",png:"img/feature-security-02.png",pngSmall:"img/feature-security-02-sm.png",link:"docs/intro/syscoin-what",color:"#CFE8EB"},{title:"User Guides",png:"img/connect-01.png",pngSmall:"img/connect-01-sm.png",link:"docs/guides/overview",color:"#EBE8CF"},{title:"Get SYS",png:"img/exchanges-01.png",pngSmall:"img/exchanges-01-sm.png",link:"docs/dev-resources/tsys",color:"#EBD2CF"}];function h(e){let{png:t,pngSmall:n,title:l,description:a,link:r,color:i}=e;return s.createElement("div",{className:(0,c.Z)(E)},s.createElement("a",{href:r,className:p},s.createElement("div",{className:((0,c.Z)("col col--2"),d),style:{background:i}},s.createElement("picture",null,s.createElement("source",{media:"(min-width: 650px)",srcSet:t}),s.createElement("source",{media:"(min-width: 200px)",srcSet:n}),s.createElement("img",{className:g,alt:l,src:t})),s.createElement("h3",null,l))))}function v(){return s.createElement("section",{className:u},s.createElement("div",{className:"container"},s.createElement("div",{className:"row",className:u},f.map(((e,t)=>s.createElement(h,(0,m.Z)({key:t},e)))))))}function S(){const{siteConfig:e}=(0,a.default)();return s.createElement("header",{className:(0,c.Z)(r)},s.createElement("div",{className:"container"},s.createElement("h1",{className:(0,c.Z)(i)},"Build the Future on Syscoin"),s.createElement("p",{className:(0,c.Z)(o)},"Documentation for builders, futurists and revolutionaries")))}function y(){const{siteConfig:e}=(0,a.default)();return s.createElement(l.Z,{title:`Home ${e.title}`,description:"Syscoin Docs | Home of the buidlers"},s.createElement(S,null),s.createElement("main",null,s.createElement(v,null)))}}}]); \ No newline at end of file diff --git a/assets/js/ef6cd603.6f9c8b94.js b/assets/js/ef6cd603.6f9c8b94.js new file mode 100644 index 00000000..db32d7b7 --- /dev/null +++ b/assets/js/ef6cd603.6f9c8b94.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6492],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>m});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),d=p(r),m=o,f=d["".concat(c,".").concat(m)]||d[m]||u[m]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=d;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i.mdxType="string"==typeof e?e:o,s[1]=i;for(var p=2;p{r.r(t),r.d(t,{default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var n=r(87462),o=(r(67294),r(3905));const a={},s={unversionedId:"dev-resources/nevm/docs-and-libs",id:"dev-resources/nevm/docs-and-libs",isDocsHomePage:!1,title:"Documentation & Libraries",description:"These are the main libraries that are used in the creation of smart contracts and dApps. Gaining knowledge and experience with these will future-proof your smart contract and Web3 abilities. For tutorials on how to use these in practice, check here.",source:"@site/docs/dev-resources/nevm/docs-and-libs.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/docs-and-libs",permalink:"/docs/dev-resources/nevm/docs-and-libs",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Communities",permalink:"/docs/dev-resources/nevm/communities"},next:{title:"Courses, Guides & Tutorials",permalink:"/docs/dev-resources/nevm/guides-and-tuts"}},i=[],c={toc:i};function p(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"These are the main libraries that are used in the creation of smart contracts and dApps. Gaining knowledge and experience with these will future-proof your smart contract and Web3 abilities. For tutorials on how to use these in practice, check ",(0,o.kt)("a",{parentName:"p",href:"guides-and-tuts"},"here"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Solidity Documentation")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://docs.soliditylang.org/"},"Solidity")," is the programming language used to write smart contracts on EVM-based blockchains."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Web3.js Documentation")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://web3js.readthedocs.io/en/v1.5.2/"},"Web3.js")," is one of the foremost Javascript libraries used for creating browser dApps for EVM-compatible chains."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Ethers.js Documentation")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://github.com/ethers-io/ethers.js/"},"Ethers.js")," is a Javascript library that is similar to Web3.js that has gained a lot of popularity with dApp developers."))}p.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/ef6cd603.736179e8.js b/assets/js/ef6cd603.736179e8.js deleted file mode 100644 index e3d7a085..00000000 --- a/assets/js/ef6cd603.736179e8.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6492],{3905:(e,t,r)=>{r.d(t,{Zo:()=>l,kt:()=>f});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var c=n.createContext({}),p=function(e){var t=n.useContext(c),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},l=function(e){var t=p(e.components);return n.createElement(c.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,c=e.parentName,l=i(e,["components","mdxType","originalType","parentName"]),u=p(r),m=o,f=u["".concat(c,".").concat(m)]||u[m]||d[m]||a;return r?n.createElement(f,s(s({ref:t},l),{},{components:r})):n.createElement(f,s({ref:t},l))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=m;var i={};for(var c in t)hasOwnProperty.call(t,c)&&(i[c]=t[c]);i.originalType=e,i[u]="string"==typeof e?e:o,s[1]=i;for(var p=2;p{r.r(t),r.d(t,{default:()=>l,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var n=r(87462),o=(r(67294),r(3905));const a={},s={unversionedId:"dev-resources/nevm/docs-and-libs",id:"dev-resources/nevm/docs-and-libs",isDocsHomePage:!1,title:"Documentation & Libraries",description:"These are the main libraries that are used in the creation of smart contracts and dApps. Gaining knowledge and experience with these will future-proof your smart contract and Web3 abilities. For tutorials on how to use these in practice, check here.",source:"@site/docs/dev-resources/nevm/docs-and-libs.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/docs-and-libs",permalink:"/docs/dev-resources/nevm/docs-and-libs",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Communities",permalink:"/docs/dev-resources/nevm/communities"},next:{title:"Courses, Guides & Tutorials",permalink:"/docs/dev-resources/nevm/guides-and-tuts"}},i=[],c={toc:i},p="wrapper";function l(e){let{components:t,...r}=e;return(0,o.kt)(p,(0,n.Z)({},c,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"These are the main libraries that are used in the creation of smart contracts and dApps. Gaining knowledge and experience with these will future-proof your smart contract and Web3 abilities. For tutorials on how to use these in practice, check ",(0,o.kt)("a",{parentName:"p",href:"guides-and-tuts"},"here"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Solidity Documentation")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://docs.soliditylang.org/"},"Solidity")," is the programming language used to write smart contracts on EVM-based blockchains."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Web3.js Documentation")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://web3js.readthedocs.io/en/v1.5.2/"},"Web3.js")," is one of the foremost Javascript libraries used for creating browser dApps for EVM-compatible chains."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Ethers.js Documentation")),(0,o.kt)("p",null,(0,o.kt)("a",{parentName:"p",href:"https://github.com/ethers-io/ethers.js/"},"Ethers.js")," is a Javascript library that is similar to Web3.js that has gained a lot of popularity with dApp developers."))}l.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/fbf3c524.13895d71.js b/assets/js/fbf3c524.13895d71.js new file mode 100644 index 00000000..caabf6ef --- /dev/null +++ b/assets/js/fbf3c524.13895d71.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6886],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>m});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),d=u(r),m=o,f=d["".concat(l,".").concat(m)]||d[m]||p[m]||a;return r?n.createElement(f,s(s({ref:t},c),{},{components:r})):n.createElement(f,s({ref:t},c))}));function m(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=d;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i.mdxType="string"==typeof e?e:o,s[1]=i;for(var u=2;u{r.r(t),r.d(t,{default:()=>u,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var n=r(87462),o=(r(67294),r(3905));const a={},s={unversionedId:"dev-resources/nevm/guides-and-tuts",id:"dev-resources/nevm/guides-and-tuts",isDocsHomePage:!1,title:"Courses, Guides & Tutorials",description:"Below are some courses, guides and tutorials that will either give you a simple and gentle introduction to getting started with the tooling for creating and deploying smart contracts, or they will take you on the full journey towards dApp development.",source:"@site/docs/dev-resources/nevm/guides-and-tuts.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/guides-and-tuts",permalink:"/docs/dev-resources/nevm/guides-and-tuts",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Documentation & Libraries",permalink:"/docs/dev-resources/nevm/docs-and-libs"},next:{title:"Tooling",permalink:"/docs/dev-resources/nevm/tooling"}},i=[],l={toc:i};function u(e){let{components:t,...r}=e;return(0,o.kt)("wrapper",(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Below are some courses, guides and tutorials that will either give you a simple and gentle introduction to getting started with the tooling for creating and deploying smart contracts, or they will take you on the full journey towards dApp development."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"CryptoZombies")),(0,o.kt)("p",null,"The most popular course for how to create smart contracts, ",(0,o.kt)("a",{parentName:"p",href:"https://cryptozombies.io/"},"CryptoZombies")," has taught over 415,672 students how to code in Solidity and create dApps."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Create and Deploy Smart Contracts using Remix")),(0,o.kt)("p",null,"Follow the guide ",(0,o.kt)("a",{parentName:"p",href:"https://remix-ide.readthedocs.io/en/latest/create_deploy.html"},"here"),". To change your network to NEVM in MetaMask follow the guide ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"here"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Create and Deploy Smart Contracts using Truffle")),(0,o.kt)("p",null,"Follow the guide ",(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/truffle"},"here"),"."))}u.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/fbf3c524.2a1fa516.js b/assets/js/fbf3c524.2a1fa516.js deleted file mode 100644 index d09a6de6..00000000 --- a/assets/js/fbf3c524.2a1fa516.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[6886],{3905:(e,t,r)=>{r.d(t,{Zo:()=>c,kt:()=>f});var n=r(67294);function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=n.createContext({}),u=function(e){var t=n.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):s(s({},t),e)),r},c=function(e){var t=u(e.components);return n.createElement(l.Provider,{value:t},e.children)},p="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,o=e.mdxType,a=e.originalType,l=e.parentName,c=i(e,["components","mdxType","originalType","parentName"]),p=u(r),m=o,f=p["".concat(l,".").concat(m)]||p[m]||d[m]||a;return r?n.createElement(f,s(s({ref:t},c),{},{components:r})):n.createElement(f,s({ref:t},c))}));function f(e,t){var r=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=r.length,s=new Array(a);s[0]=m;var i={};for(var l in t)hasOwnProperty.call(t,l)&&(i[l]=t[l]);i.originalType=e,i[p]="string"==typeof e?e:o,s[1]=i;for(var u=2;u{r.r(t),r.d(t,{default:()=>c,frontMatter:()=>a,metadata:()=>s,toc:()=>i});var n=r(87462),o=(r(67294),r(3905));const a={},s={unversionedId:"dev-resources/nevm/guides-and-tuts",id:"dev-resources/nevm/guides-and-tuts",isDocsHomePage:!1,title:"Courses, Guides & Tutorials",description:"Below are some courses, guides and tutorials that will either give you a simple and gentle introduction to getting started with the tooling for creating and deploying smart contracts, or they will take you on the full journey towards dApp development.",source:"@site/docs/dev-resources/nevm/guides-and-tuts.mdx",sourceDirName:"dev-resources/nevm",slug:"/dev-resources/nevm/guides-and-tuts",permalink:"/docs/dev-resources/nevm/guides-and-tuts",version:"current",frontMatter:{},sidebar:"tutorialSidebar",previous:{title:"Documentation & Libraries",permalink:"/docs/dev-resources/nevm/docs-and-libs"},next:{title:"Tooling",permalink:"/docs/dev-resources/nevm/tooling"}},i=[],l={toc:i},u="wrapper";function c(e){let{components:t,...r}=e;return(0,o.kt)(u,(0,n.Z)({},l,r,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Below are some courses, guides and tutorials that will either give you a simple and gentle introduction to getting started with the tooling for creating and deploying smart contracts, or they will take you on the full journey towards dApp development."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"CryptoZombies")),(0,o.kt)("p",null,"The most popular course for how to create smart contracts, ",(0,o.kt)("a",{parentName:"p",href:"https://cryptozombies.io/"},"CryptoZombies")," has taught over 415,672 students how to code in Solidity and create dApps."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Create and Deploy Smart Contracts using Remix")),(0,o.kt)("p",null,"Follow the guide ",(0,o.kt)("a",{parentName:"p",href:"https://remix-ide.readthedocs.io/en/latest/create_deploy.html"},"here"),". To change your network to NEVM in MetaMask follow the guide ",(0,o.kt)("a",{parentName:"p",href:"/docs/guides/nevm/metamask"},"here"),"."),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Create and Deploy Smart Contracts using Truffle")),(0,o.kt)("p",null,"Follow the guide ",(0,o.kt)("a",{parentName:"p",href:"/docs/dev-resources/nevm/truffle"},"here"),"."))}c.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/assets/js/main.0ec636c4.js b/assets/js/main.0ec636c4.js deleted file mode 100644 index f2147dbb..00000000 --- a/assets/js/main.0ec636c4.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see main.0ec636c4.js.LICENSE.txt */ -(self.webpackChunksys_docs=self.webpackChunksys_docs||[]).push([[179],{99782:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={title:"Syscoin Docs",tagline:"Documentation for the buidlers!",url:"https://Syscoin.github.io/sys-docs",baseUrl:"/",onBrokenLinks:"throw",onBrokenMarkdownLinks:"warn",favicon:"img/sys-logo.svg",organizationName:"Syscoin",projectName:"sys-docs",themeConfig:{hideableSidebar:!0,navbar:{title:"Syscoin Docs",logo:{alt:"Syscoin Logo",src:"img/sys-logo.svg",href:"https://docs.syscoin.org/docs/intro/syscoin-what/"},items:[{href:"https://github.com/syscoin",label:"GitHub",position:"right"}],hideOnScroll:!1},footer:{style:"dark",links:[{title:"Docs",items:[{label:"JS SDK Reference",to:"docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs"}]},{title:"Community",items:[{label:"Discord",href:"https://discord.gg/syscoin"},{label:"Twitter",href:"https://twitter.com/syscoin"}]},{title:"More",items:[{label:"GitHub",href:"https://github.com/syscoin"}]}],copyright:"Copyright \xa9 2023 Syscoin. Built with Docusaurus."},colorMode:{defaultMode:"light",disableSwitch:!1,respectPrefersColorScheme:!1,switchConfig:{darkIcon:"\ud83d\udd06",darkIconStyle:{},lightIcon:"\ud83c\udf19",lightIconStyle:{}}},docs:{versionPersistence:"localStorage"},metadatas:[],prism:{additionalLanguages:[]}},presets:[["@docusaurus/preset-classic",{docs:{sidebarPath:"/home/monocyte/Development/syscoin/sys-docs/sidebars.js"},theme:{customCss:"/home/monocyte/Development/syscoin/sys-docs/src/css/custom.css"}}]],plugins:[],baseUrlIssueBanner:!0,i18n:{defaultLocale:"en",locales:["en"],localeConfigs:{}},onDuplicateRoutes:"warn",customFields:{},themes:[],titleDelimiter:"|",noIndex:!1}},28845:(e,t,n)=>{"use strict";var r=n(67294),a=n(73935),o=n(73727),i=n(82203),l=n.n(i);const s=e=>{let{error:t,retry:n,pastDelay:a}=e;return t?r.createElement("div",{style:{align:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"}},r.createElement("p",null,t.message),r.createElement("div",null,r.createElement("button",{type:"button",onClick:n},"Retry"))):a?r.createElement("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"}},r.createElement("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb"},r.createElement("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2"},r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0"},r.createElement("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),r.createElement("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})),r.createElement("circle",{cx:"22",cy:"22",r:"8"},r.createElement("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"}))))):null},u=JSON.parse('{"/index_back-2e6":{"component":"eea8d354","config":"5e9f5e1a"},"/docs-93c":{"component":"1be78505","versionMetadata":"935f2afb"},"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook-e8b":{"component":"17896441","content":"da6e3234"},"/docs/dev-resources/documentation/javascript-sdk-ref/examples-90f":{"component":"17896441","content":"7fb06139"},"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner-018":{"component":"17896441","content":"e67d531c"},"/docs/dev-resources/documentation/javascript-sdk-ref/overview-16b":{"component":"17896441","content":"4b288558"},"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs-79f":{"component":"17896441","content":"a991d789"},"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner-b1c":{"component":"17896441","content":"0f5337d7"},"/docs/dev-resources/documentation/javascript-sdk-ref/types-6b8":{"component":"17896441","content":"a2b80acb"},"/docs/dev-resources/documentation/javascript-sdk-ref/utils-775":{"component":"17896441","content":"626b2642"},"/docs/dev-resources/nevm/communities-cda":{"component":"17896441","content":"45b38303"},"/docs/dev-resources/nevm/docs-and-libs-357":{"component":"17896441","content":"ef6cd603"},"/docs/dev-resources/nevm/guides-and-tuts-9c8":{"component":"17896441","content":"fbf3c524"},"/docs/dev-resources/nevm/resources-26d":{"component":"17896441","content":"d4f51590"},"/docs/dev-resources/nevm/tooling-e18":{"component":"17896441","content":"0c5fc6bd"},"/docs/dev-resources/nevm/truffle-aad":{"component":"17896441","content":"24866cdd"},"/docs/dev-resources/nevm/zk-rollups-f88":{"component":"17896441","content":"186c746e"},"/docs/dev-resources/sys/asset-index-392":{"component":"17896441","content":"75d97c0d"},"/docs/dev-resources/sys/exchange-integration-acc":{"component":"17896441","content":"4e379c15"},"/docs/dev-resources/sys/testnet-36e":{"component":"17896441","content":"2c70be15"},"/docs/dev-resources/sys/testnet_mn-96d":{"component":"17896441","content":"03a5b487"},"/docs/dev-resources/sys/z-dag-f4b":{"component":"17896441","content":"157b295e"},"/docs/dev-resources/tsys-b0a":{"component":"17896441","content":"31d91691"},"/docs/faq-9aa":{"component":"17896441","content":"ea313555"},"/docs/guides/mining_setup-c89":{"component":"17896441","content":"cd4e8672"},"/docs/guides/mn_setup-e93":{"component":"17896441","content":"68865756"},"/docs/guides/nevm/metamask-db1":{"component":"17896441","content":"961dd717"},"/docs/guides/nevm/sysgeth-967":{"component":"17896441","content":"b2de18a9"},"/docs/guides/overview-a21":{"component":"17896441","content":"b3cf3865"},"/docs/guides/rollux/metamask-392":{"component":"17896441","content":"3e93e8e5"},"/docs/guides/spts/aux-fees-9db":{"component":"17896441","content":"a0964cc0"},"/docs/guides/spts/create-issue-tokens-a28":{"component":"17896441","content":"75a64746"},"/docs/guides/spts/notary-business-rulesets-28c":{"component":"17896441","content":"202fef56"},"/docs/guides/spts/use-tokens-890":{"component":"17896441","content":"4311ecdf"},"/docs/intro/syscoin-what-a18":{"component":"17896441","content":"7637bbfc"},"/docs/tech/bitcoin-tech-180":{"component":"17896441","content":"52386b31"},"/docs/tech/finality-468":{"component":"17896441","content":"eb7c48ea"},"/docs/tech/masternodes-a78":{"component":"17896441","content":"784e1b47"},"/docs/tech/merged-mining-23b":{"component":"17896441","content":"eab5d44b"},"/docs/tech/nevm-31a":{"component":"17896441","content":"af623beb"},"/docs/tech/notary-827":{"component":"17896441","content":"038b7bcf"},"/docs/tech/poda-ccb":{"component":"17896441","content":"e0833ef8"},"/docs/tech/rollux-715":{"component":"17896441","content":"41a4b76b"},"/docs/tech/tokens-eb9":{"component":"17896441","content":"38964cd2"},"/docs/tech/z-dag-1c5":{"component":"17896441","content":"5be3bbaa"}}'),c={"038b7bcf":[()=>n.e(5522).then(n.bind(n,20108)),"@site/docs/tech/notary.mdx",20108],"03a5b487":[()=>n.e(9847).then(n.bind(n,38989)),"@site/docs/dev-resources/sys/testnet_mn.mdx",38989],"0c5fc6bd":[()=>n.e(8474).then(n.bind(n,30126)),"@site/docs/dev-resources/nevm/tooling.mdx",30126],"0f5337d7":[()=>Promise.all([n.e(532),n.e(2399),n.e(8638)]).then(n.bind(n,64094)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner.mdx",64094],"157b295e":[()=>n.e(9272).then(n.bind(n,42620)),"@site/docs/dev-resources/sys/z-dag.mdx",42620],17896441:[()=>Promise.all([n.e(532),n.e(5486),n.e(7918)]).then(n.bind(n,73852)),"@theme/DocItem",73852],"186c746e":[()=>n.e(5782).then(n.bind(n,65025)),"@site/docs/dev-resources/nevm/zk-rollups.mdx",65025],"1be78505":[()=>Promise.all([n.e(532),n.e(5486),n.e(1952),n.e(9514)]).then(n.bind(n,46402)),"@theme/DocPage",46402],"202fef56":[()=>n.e(5921).then(n.bind(n,11906)),"@site/docs/guides/spts/notary-business-rulesets.mdx",11906],"24866cdd":[()=>n.e(917).then(n.bind(n,66422)),"@site/docs/dev-resources/nevm/truffle.mdx",66422],"2c70be15":[()=>n.e(8596).then(n.bind(n,54026)),"@site/docs/dev-resources/sys/testnet.mdx",54026],"31d91691":[()=>n.e(6428).then(n.bind(n,32736)),"@site/docs/dev-resources/tsys.mdx",32736],"38964cd2":[()=>n.e(8877).then(n.bind(n,70929)),"@site/docs/tech/tokens.mdx",70929],"3e93e8e5":[()=>Promise.all([n.e(532),n.e(5436),n.e(8742)]).then(n.bind(n,25223)),"@site/docs/guides/rollux/metamask.mdx",25223],"41a4b76b":[()=>n.e(4934).then(n.bind(n,87637)),"@site/docs/tech/rollux.mdx",87637],"4311ecdf":[()=>n.e(8433).then(n.bind(n,5945)),"@site/docs/guides/spts/use-tokens.mdx",5945],"45b38303":[()=>n.e(6002).then(n.bind(n,60645)),"@site/docs/dev-resources/nevm/communities.mdx",60645],"4b288558":[()=>n.e(8249).then(n.bind(n,30880)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/overview.mdx",30880],"4e379c15":[()=>n.e(605).then(n.bind(n,61150)),"@site/docs/dev-resources/sys/exchange-integration.mdx",61150],"52386b31":[()=>n.e(3958).then(n.bind(n,65849)),"@site/docs/tech/bitcoin-tech.mdx",65849],"5be3bbaa":[()=>n.e(5613).then(n.bind(n,71553)),"@site/docs/tech/z-dag.mdx",71553],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,99782)),"@generated/docusaurus.config",99782],"626b2642":[()=>Promise.all([n.e(532),n.e(2399),n.e(1777)]).then(n.bind(n,16608)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/utils.mdx",16608],68865756:[()=>n.e(8692).then(n.bind(n,40704)),"@site/docs/guides/mn_setup.mdx",40704],"75a64746":[()=>n.e(9160).then(n.bind(n,50218)),"@site/docs/guides/spts/create-issue-tokens.mdx",50218],"75d97c0d":[()=>n.e(1174).then(n.bind(n,2804)),"@site/docs/dev-resources/sys/asset-index.mdx",2804],"7637bbfc":[()=>n.e(7283).then(n.bind(n,31072)),"@site/docs/intro/syscoin-what.mdx",31072],"784e1b47":[()=>n.e(9804).then(n.bind(n,4244)),"@site/docs/tech/masternodes.mdx",4244],"7fb06139":[()=>Promise.all([n.e(532),n.e(2399),n.e(4728)]).then(n.bind(n,40528)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/examples.mdx",40528],"935f2afb":[()=>n.e(53).then(n.t.bind(n,1109,19)),"~docs/default/version-current-metadata-prop-751.json",1109],"961dd717":[()=>Promise.all([n.e(532),n.e(5436),n.e(1636)]).then(n.bind(n,80253)),"@site/docs/guides/nevm/metamask.mdx",80253],a0964cc0:[()=>n.e(3640).then(n.bind(n,86592)),"@site/docs/guides/spts/aux-fees.mdx",86592],a2b80acb:[()=>Promise.all([n.e(532),n.e(2399),n.e(4250)]).then(n.bind(n,7386)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/types.mdx",7386],a991d789:[()=>Promise.all([n.e(532),n.e(2399),n.e(2555)]).then(n.bind(n,50482)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs.mdx",50482],af623beb:[()=>n.e(3255).then(n.bind(n,30660)),"@site/docs/tech/nevm.mdx",30660],b2de18a9:[()=>n.e(3856).then(n.bind(n,35441)),"@site/docs/guides/nevm/sysgeth.mdx",35441],b3cf3865:[()=>n.e(7850).then(n.bind(n,54125)),"@site/docs/guides/overview.mdx",54125],cd4e8672:[()=>n.e(9526).then(n.bind(n,98298)),"@site/docs/guides/mining_setup.mdx",98298],d4f51590:[()=>n.e(7912).then(n.bind(n,48689)),"@site/docs/dev-resources/nevm/resources.mdx",48689],da6e3234:[()=>n.e(457).then(n.bind(n,80504)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/blockbook.mdx",80504],e0833ef8:[()=>n.e(540).then(n.bind(n,46043)),"@site/docs/tech/poda.mdx",46043],e67d531c:[()=>Promise.all([n.e(532),n.e(2399),n.e(373)]).then(n.bind(n,59560)),"@site/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner.mdx",59560],ea313555:[()=>Promise.all([n.e(532),n.e(5436),n.e(7937)]).then(n.bind(n,76264)),"@site/docs/faq.mdx",76264],eab5d44b:[()=>n.e(8478).then(n.bind(n,75648)),"@site/docs/tech/merged-mining.mdx",75648],eb7c48ea:[()=>n.e(795).then(n.bind(n,83092)),"@site/docs/tech/finality.mdx",83092],eea8d354:[()=>Promise.all([n.e(532),n.e(5486),n.e(1952),n.e(9011)]).then(n.bind(n,3705)),"@site/src/pages/index_back.js",3705],ef6cd603:[()=>n.e(6492).then(n.bind(n,93956)),"@site/docs/dev-resources/nevm/docs-and-libs.mdx",93956],fbf3c524:[()=>n.e(6886).then(n.bind(n,42404)),"@site/docs/dev-resources/nevm/guides-and-tuts.mdx",42404]};const d=function(e){const t={};return function e(n,r){Object.keys(n).forEach((a=>{const o=n[a],i=r?r+"."+a:a;"object"===typeof o&&!!o&&Object.keys(o).length?e(o,i):t[i]=o}))}(e),t};const p=function(e,t){if("*"===e)return l()({loading:s,loader:()=>Promise.all([n.e(532),n.e(5486),n.e(1952),n.e(4608)]).then(n.bind(n,24608))});const a=u[`${e}-${t}`],o=[],i=[],p={},f=d(a);return Object.keys(f).forEach((e=>{const t=c[f[e]];t&&(p[e]=t[0],o.push(t[1]),i.push(t[2]))})),l().Map({loading:s,loader:p,modules:o,webpack:()=>i,render:(e,t)=>{const n=JSON.parse(JSON.stringify(a));Object.keys(e).forEach((t=>{let r=n;const a=t.split(".");for(let e=0;e"default"!==e));o&&o.length&&o.forEach((n=>{r[a[a.length-1]][n]=e[t][n]}))}));const o=n.component;return delete n.component,r.createElement(o,Object.assign({},n,t))}})},f=[{path:"/index_back",component:p("/index_back","2e6"),exact:!0},{path:"/docs",component:p("/docs","93c"),routes:[{path:"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/blockbook","e8b"),exact:!0},{path:"/docs/dev-resources/documentation/javascript-sdk-ref/examples",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/examples","90f"),exact:!0},{path:"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner","018"),exact:!0},{path:"/docs/dev-resources/documentation/javascript-sdk-ref/overview",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/overview","16b"),exact:!0},{path:"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs","79f"),exact:!0},{path:"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner","b1c"),exact:!0},{path:"/docs/dev-resources/documentation/javascript-sdk-ref/types",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/types","6b8"),exact:!0},{path:"/docs/dev-resources/documentation/javascript-sdk-ref/utils",component:p("/docs/dev-resources/documentation/javascript-sdk-ref/utils","775"),exact:!0},{path:"/docs/dev-resources/nevm/communities",component:p("/docs/dev-resources/nevm/communities","cda"),exact:!0},{path:"/docs/dev-resources/nevm/docs-and-libs",component:p("/docs/dev-resources/nevm/docs-and-libs","357"),exact:!0},{path:"/docs/dev-resources/nevm/guides-and-tuts",component:p("/docs/dev-resources/nevm/guides-and-tuts","9c8"),exact:!0},{path:"/docs/dev-resources/nevm/resources",component:p("/docs/dev-resources/nevm/resources","26d"),exact:!0},{path:"/docs/dev-resources/nevm/tooling",component:p("/docs/dev-resources/nevm/tooling","e18"),exact:!0},{path:"/docs/dev-resources/nevm/truffle",component:p("/docs/dev-resources/nevm/truffle","aad"),exact:!0},{path:"/docs/dev-resources/nevm/zk-rollups",component:p("/docs/dev-resources/nevm/zk-rollups","f88"),exact:!0},{path:"/docs/dev-resources/sys/asset-index",component:p("/docs/dev-resources/sys/asset-index","392"),exact:!0},{path:"/docs/dev-resources/sys/exchange-integration",component:p("/docs/dev-resources/sys/exchange-integration","acc"),exact:!0},{path:"/docs/dev-resources/sys/testnet",component:p("/docs/dev-resources/sys/testnet","36e"),exact:!0},{path:"/docs/dev-resources/sys/testnet_mn",component:p("/docs/dev-resources/sys/testnet_mn","96d"),exact:!0},{path:"/docs/dev-resources/sys/z-dag",component:p("/docs/dev-resources/sys/z-dag","f4b"),exact:!0},{path:"/docs/dev-resources/tsys",component:p("/docs/dev-resources/tsys","b0a"),exact:!0},{path:"/docs/faq",component:p("/docs/faq","9aa"),exact:!0},{path:"/docs/guides/mining_setup",component:p("/docs/guides/mining_setup","c89"),exact:!0},{path:"/docs/guides/mn_setup",component:p("/docs/guides/mn_setup","e93"),exact:!0},{path:"/docs/guides/nevm/metamask",component:p("/docs/guides/nevm/metamask","db1"),exact:!0},{path:"/docs/guides/nevm/sysgeth",component:p("/docs/guides/nevm/sysgeth","967"),exact:!0},{path:"/docs/guides/overview",component:p("/docs/guides/overview","a21"),exact:!0},{path:"/docs/guides/rollux/metamask",component:p("/docs/guides/rollux/metamask","392"),exact:!0},{path:"/docs/guides/spts/aux-fees",component:p("/docs/guides/spts/aux-fees","9db"),exact:!0},{path:"/docs/guides/spts/create-issue-tokens",component:p("/docs/guides/spts/create-issue-tokens","a28"),exact:!0},{path:"/docs/guides/spts/notary-business-rulesets",component:p("/docs/guides/spts/notary-business-rulesets","28c"),exact:!0},{path:"/docs/guides/spts/use-tokens",component:p("/docs/guides/spts/use-tokens","890"),exact:!0},{path:"/docs/intro/syscoin-what",component:p("/docs/intro/syscoin-what","a18"),exact:!0},{path:"/docs/tech/bitcoin-tech",component:p("/docs/tech/bitcoin-tech","180"),exact:!0},{path:"/docs/tech/finality",component:p("/docs/tech/finality","468"),exact:!0},{path:"/docs/tech/masternodes",component:p("/docs/tech/masternodes","a78"),exact:!0},{path:"/docs/tech/merged-mining",component:p("/docs/tech/merged-mining","23b"),exact:!0},{path:"/docs/tech/nevm",component:p("/docs/tech/nevm","31a"),exact:!0},{path:"/docs/tech/notary",component:p("/docs/tech/notary","827"),exact:!0},{path:"/docs/tech/poda",component:p("/docs/tech/poda","ccb"),exact:!0},{path:"/docs/tech/rollux",component:p("/docs/tech/rollux","715"),exact:!0},{path:"/docs/tech/tokens",component:p("/docs/tech/tokens","eb9"),exact:!0},{path:"/docs/tech/z-dag",component:p("/docs/tech/z-dag","1c5"),exact:!0}]},{path:"*",component:p("*")}];var m=n(10412),h=n(99782);const g=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/docs","mainDocId":"intro/syscoin-what","docs":[{"id":"dev-resources/documentation/javascript-sdk-ref/blockbook","path":"/docs/dev-resources/documentation/javascript-sdk-ref/blockbook","sidebar":"tutorialSidebar"},{"id":"dev-resources/documentation/javascript-sdk-ref/examples","path":"/docs/dev-resources/documentation/javascript-sdk-ref/examples","sidebar":"tutorialSidebar"},{"id":"dev-resources/documentation/javascript-sdk-ref/hdsigner","path":"/docs/dev-resources/documentation/javascript-sdk-ref/hdsigner","sidebar":"tutorialSidebar"},{"id":"dev-resources/documentation/javascript-sdk-ref/overview","path":"/docs/dev-resources/documentation/javascript-sdk-ref/overview","sidebar":"tutorialSidebar"},{"id":"dev-resources/documentation/javascript-sdk-ref/syscoinjs","path":"/docs/dev-resources/documentation/javascript-sdk-ref/syscoinjs","sidebar":"tutorialSidebar"},{"id":"dev-resources/documentation/javascript-sdk-ref/trezorsigner","path":"/docs/dev-resources/documentation/javascript-sdk-ref/trezorsigner","sidebar":"tutorialSidebar"},{"id":"dev-resources/documentation/javascript-sdk-ref/types","path":"/docs/dev-resources/documentation/javascript-sdk-ref/types","sidebar":"tutorialSidebar"},{"id":"dev-resources/documentation/javascript-sdk-ref/utils","path":"/docs/dev-resources/documentation/javascript-sdk-ref/utils","sidebar":"tutorialSidebar"},{"id":"dev-resources/nevm/communities","path":"/docs/dev-resources/nevm/communities","sidebar":"tutorialSidebar"},{"id":"dev-resources/nevm/docs-and-libs","path":"/docs/dev-resources/nevm/docs-and-libs","sidebar":"tutorialSidebar"},{"id":"dev-resources/nevm/guides-and-tuts","path":"/docs/dev-resources/nevm/guides-and-tuts","sidebar":"tutorialSidebar"},{"id":"dev-resources/nevm/resources","path":"/docs/dev-resources/nevm/resources","sidebar":"tutorialSidebar"},{"id":"dev-resources/nevm/tooling","path":"/docs/dev-resources/nevm/tooling","sidebar":"tutorialSidebar"},{"id":"dev-resources/nevm/truffle","path":"/docs/dev-resources/nevm/truffle","sidebar":"tutorialSidebar"},{"id":"dev-resources/nevm/zk-rollups","path":"/docs/dev-resources/nevm/zk-rollups","sidebar":"tutorialSidebar"},{"id":"dev-resources/sys/asset-index","path":"/docs/dev-resources/sys/asset-index","sidebar":"tutorialSidebar"},{"id":"dev-resources/sys/exchange-integration","path":"/docs/dev-resources/sys/exchange-integration","sidebar":"tutorialSidebar"},{"id":"dev-resources/sys/testnet","path":"/docs/dev-resources/sys/testnet","sidebar":"tutorialSidebar"},{"id":"dev-resources/sys/testnet_mn","path":"/docs/dev-resources/sys/testnet_mn","sidebar":"tutorialSidebar"},{"id":"dev-resources/sys/z-dag","path":"/docs/dev-resources/sys/z-dag","sidebar":"tutorialSidebar"},{"id":"dev-resources/tsys","path":"/docs/dev-resources/tsys","sidebar":"tutorialSidebar"},{"id":"faq","path":"/docs/faq","sidebar":"tutorialSidebar"},{"id":"guides/mining_setup","path":"/docs/guides/mining_setup","sidebar":"tutorialSidebar"},{"id":"guides/mn_setup","path":"/docs/guides/mn_setup","sidebar":"tutorialSidebar"},{"id":"guides/nevm/metamask","path":"/docs/guides/nevm/metamask","sidebar":"tutorialSidebar"},{"id":"guides/nevm/sysgeth","path":"/docs/guides/nevm/sysgeth","sidebar":"tutorialSidebar"},{"id":"guides/overview","path":"/docs/guides/overview","sidebar":"tutorialSidebar"},{"id":"guides/rollux/metamask","path":"/docs/guides/rollux/metamask","sidebar":"tutorialSidebar"},{"id":"guides/spts/aux-fees","path":"/docs/guides/spts/aux-fees","sidebar":"tutorialSidebar"},{"id":"guides/spts/create-issue-tokens","path":"/docs/guides/spts/create-issue-tokens","sidebar":"tutorialSidebar"},{"id":"guides/spts/notary-business-rulesets","path":"/docs/guides/spts/notary-business-rulesets","sidebar":"tutorialSidebar"},{"id":"guides/spts/use-tokens","path":"/docs/guides/spts/use-tokens","sidebar":"tutorialSidebar"},{"id":"intro/syscoin-what","path":"/docs/intro/syscoin-what","sidebar":"tutorialSidebar"},{"id":"tech/bitcoin-tech","path":"/docs/tech/bitcoin-tech","sidebar":"tutorialSidebar"},{"id":"tech/finality","path":"/docs/tech/finality","sidebar":"tutorialSidebar"},{"id":"tech/masternodes","path":"/docs/tech/masternodes","sidebar":"tutorialSidebar"},{"id":"tech/merged-mining","path":"/docs/tech/merged-mining","sidebar":"tutorialSidebar"},{"id":"tech/nevm","path":"/docs/tech/nevm","sidebar":"tutorialSidebar"},{"id":"tech/notary","path":"/docs/tech/notary","sidebar":"tutorialSidebar"},{"id":"tech/poda","path":"/docs/tech/poda","sidebar":"tutorialSidebar"},{"id":"tech/rollux","path":"/docs/tech/rollux","sidebar":"tutorialSidebar"},{"id":"tech/tokens","path":"/docs/tech/tokens","sidebar":"tutorialSidebar"},{"id":"tech/z-dag","path":"/docs/tech/z-dag","sidebar":"tutorialSidebar"}]}]}}}'),v=JSON.parse('{"defaultLocale":"en","locales":["en"],"currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr"}}}');var b=n(57529);const y=JSON.parse('{"docusaurusVersion":"2.0.0-beta.0","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"2.0.0-beta.0"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"2.0.0-beta.0"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"2.0.0-beta.0"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"2.0.0-beta.0"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"2.0.0-beta.0"}}}');var w=n(46291),k=n(24748),S=n(16550),E=n(74865),x=n.n(E);const T=[n(27771),n(27771),n(27771),n(32497),n(95345),n(52295)];function C(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{var r,a;const o=null!==(a=null===(r=null==t?void 0:t.default)||void 0===r?void 0:r[e])&&void 0!==a?a:t[e];o&&o(...n)}))}const _={onRouteUpdate(){for(var e=arguments.length,t=new Array(e),n=0;n{const{component:t}=e.route;if(t&&t.preload)return t.preload()})))}const R={};const P=function(e){if(R[e.pathname])return{...e,pathname:R[e.pathname]};let t=e.pathname||"/";return t=t.trim().replace(/\/index\.html$/,""),""===t&&(t="/"),R[e.pathname]=t,{...e,pathname:t}};x().configure({showSpinner:!1});class L extends r.Component{constructor(e){super(e),this.previousLocation=null,this.progressBarTimeout=null,this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){const n=e.location!==this.props.location,{routes:r,delay:a=1e3}=this.props;if(n){const t=P(e.location);return this.startProgressBar(a),this.previousLocation=P(this.props.location),this.setState({nextRouteHasLoaded:!1}),O(r,t.pathname).then((()=>{_.onRouteUpdate({previousLocation:this.previousLocation,location:t}),this.previousLocation=null,this.setState({nextRouteHasLoaded:!0},this.stopProgressBar);const{hash:e}=t;if(e){const t=decodeURIComponent(e.substring(1)),n=document.getElementById(t);n&&n.scrollIntoView()}else window.scrollTo(0,0)})).catch((e=>console.warn(e))),!1}return!!t.nextRouteHasLoaded}clearProgressBarTimeout(){this.progressBarTimeout&&(clearTimeout(this.progressBarTimeout),this.progressBarTimeout=null)}startProgressBar(e){this.clearProgressBarTimeout(),this.progressBarTimeout=setTimeout((()=>{_.onRouteUpdateDelayed({location:P(this.props.location)}),x().start()}),e)}stopProgressBar(){this.clearProgressBarTimeout(),x().done()}render(){const{children:e,location:t}=this.props;return r.createElement(S.AW,{location:P(t),render:()=>e})}}const N=(0,S.EN)(L);var D=n(99105),I=n(52263);const F="docusaurus-base-url-issue-banner-container",j="docusaurus-base-url-issue-banner",M="docusaurus-base-url-issue-banner-suggestion-container",B="__DOCUSAURUS_INSERT_BASEURL_BANNER";function z(e){return`\nwindow['${B}'] = true;\n\ndocument.addEventListener('DOMContentLoaded', maybeInsertBanner);\n\nfunction maybeInsertBanner() {\n var shouldInsert = window['${B}'];\n shouldInsert && insertBanner();\n}\n\nfunction insertBanner() {\n var bannerContainer = document.getElementById('${F}');\n if (!bannerContainer) {\n return;\n }\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

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

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{window[B]=!1}),[]),r.createElement(r.Fragment,null,!m.Z.canUseDOM&&r.createElement(D.Z,null,r.createElement("script",null,z(e))),r.createElement("div",{id:F}))}function $(){const{siteConfig:{baseUrl:e,baseUrlIssueBanner:t}}=(0,I.default)(),{pathname:n}=(0,S.TH)();return t&&n===e?r.createElement(U,null):null}const q=function(e){let{children:t}=e;return r.createElement(r.Fragment,null,t)};const G=function(){const[e,t]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{t(!0)}),[]),r.createElement(k.Z.Provider,{value:{siteConfig:h.default,siteMetadata:y,globalData:g,i18n:v,codeTranslations:b,isClient:e}},r.createElement(q,null,r.createElement($,null),r.createElement(N,{routes:f},(0,w.Z)(f))))};const H=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=t,r.onerror=n;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))},W={};const V=function(e){return new Promise((t=>{W[e]?t():H(e).then((()=>{t(),W[e]=!0})).catch((()=>{}))}))},Z={},K={},Y=()=>!(!("connection"in navigator)||-1===(navigator.connection.effectiveType||"").indexOf("2g")||!navigator.connection.saveData),Q=e=>Array.prototype.concat.apply([],e),X={prefetch:e=>{if(!(e=>!Y()&&!K[e]&&!Z[e])(e))return!1;Z[e]=!0;const t=(0,A.f)(f,e);return Q(t.map((e=>{return t=e.route.path,Q(Object.entries(u).filter((e=>{let[n]=e;return n.replace(/(-[^-]+)$/,"")===t})).map((e=>{let[,t]=e;return Object.values(d(t))})));var t}))).forEach((e=>{const t=n.gca(e);t&&!/undefined/.test(t)&&V(t)})),!0},preload:e=>!!(e=>!Y()&&!K[e])(e)&&(K[e]=!0,O(f,e),!0)};if(m.Z.canUseDOM){window.docusaurus=X;const e=a.hydrate;O(f,window.location.pathname).then((()=>{e(r.createElement(o.VK,null,r.createElement(G,null)),document.getElementById("__docusaurus"))}))}},10412:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const r=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:r,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&!!window.screen}},99105:(e,t,n)=>{"use strict";n.d(t,{Z:()=>me});var r,a,o,i,l=n(67294),s=n(45697),u=n.n(s),c=n(83524),d=n.n(c),p=n(69590),f=n.n(p),m=n(27418),h=n.n(m),g="bodyAttributes",v="htmlAttributes",b="titleAttributes",y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},w=(Object.keys(y).map((function(e){return y[e]})),"charset"),k="cssText",S="href",E="http-equiv",x="innerHTML",T="itemprop",C="name",_="property",A="rel",O="src",R="target",P={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},L="defaultTitle",N="defer",D="encodeSpecialCharacters",I="onChangeClientState",F="titleTemplate",j=Object.keys(P).reduce((function(e,t){return e[P[t]]=t,e}),{}),M=[y.NOSCRIPT,y.SCRIPT,y.STYLE],B="data-react-helmet",z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},G=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},H=function(e){var t=Y(e,y.TITLE),n=Y(e,F);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Y(e,L);return t||r||void 0},W=function(e){return Y(e,I)||function(){}},V=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return $({},e,t)}),{})},Z=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),a=0;a=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},Q=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){Q(e)}),0)}),X=function(e){return clearTimeout(e)},J="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Q:n.g.requestAnimationFrame||Q,ee="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||X:n.g.cancelAnimationFrame||X,te=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ne=null,re=function(e,t){var n=e.baseTag,r=e.bodyAttributes,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,l=e.noscriptTags,s=e.onChangeClientState,u=e.scriptTags,c=e.styleTags,d=e.title,p=e.titleAttributes;ie(y.BODY,r),ie(y.HTML,a),oe(d,p);var f={baseTag:le(y.BASE,n),linkTags:le(y.LINK,o),metaTags:le(y.META,i),noscriptTags:le(y.NOSCRIPT,l),scriptTags:le(y.SCRIPT,u),styleTags:le(y.STYLE,c)},m={},h={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(m[e]=n),r.length&&(h[e]=f[e].oldTags)})),t&&t(),s(e,m,h)},ae=function(e){return Array.isArray(e)?e.join(""):e},oe=function(e,t){void 0!==e&&document.title!==e&&(document.title=ae(e)),ie(y.TITLE,t)},ie=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(B),a=r?r.split(","):[],o=[].concat(a),i=Object.keys(t),l=0;l=0;d--)n.removeAttribute(o[d]);a.length===o.length?n.removeAttribute(B):n.getAttribute(B)!==i.join(",")&&n.setAttribute(B,i.join(","))}},le=function(e,t){var n=document.head||document.querySelector(y.HEAD),r=n.querySelectorAll(e+"["+B+"]"),a=Array.prototype.slice.call(r),o=[],i=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===x)n.innerHTML=t.innerHTML;else if(r===k)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var l=void 0===t[r]?"":t[r];n.setAttribute(r,l)}n.setAttribute(B,"true"),a.some((function(e,t){return i=t,n.isEqualNode(e)}))?a.splice(i,1):o.push(n)})),a.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:a,newTags:o}},se=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},ue=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[P[n]||n]=e[n],t}),t)},ce=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[B]=!0,a=ue(n,r),[l.createElement(y.TITLE,a,e)];var e,n,r,a},toString:function(){return function(e,t,n,r){var a=se(n),o=ae(t);return a?"<"+e+" "+B+'="true" '+a+">"+G(o,r)+"":"<"+e+" "+B+'="true">'+G(o,r)+""}(e,t.title,t.titleAttributes,n)}};case g:case v:return{toComponent:function(){return ue(t)},toString:function(){return se(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,a=((r={key:n})[B]=!0,r);return Object.keys(t).forEach((function(e){var n=P[e]||e;if(n===x||n===k){var r=t.innerHTML||t.cssText;a.dangerouslySetInnerHTML={__html:r}}else a[n]=t[e]})),l.createElement(e,a)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var a=Object.keys(r).filter((function(e){return!(e===x||e===k)})).reduce((function(e,t){var a=void 0===r[t]?t:t+'="'+G(r[t],n)+'"';return e?e+" "+a:a}),""),o=r.innerHTML||r.cssText||"",i=-1===M.indexOf(e);return t+"<"+e+" "+B+'="true" '+a+(i?"/>":">"+o+"")}),"")}(e,t,n)}}}},de=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,a=e.htmlAttributes,o=e.linkTags,i=e.metaTags,l=e.noscriptTags,s=e.scriptTags,u=e.styleTags,c=e.title,d=void 0===c?"":c,p=e.titleAttributes;return{base:ce(y.BASE,t,r),bodyAttributes:ce(g,n,r),htmlAttributes:ce(v,a,r),link:ce(y.LINK,o,r),meta:ce(y.META,i,r),noscript:ce(y.NOSCRIPT,l,r),script:ce(y.SCRIPT,s,r),style:ce(y.STYLE,u,r),title:ce(y.TITLE,{title:d,titleAttributes:p},r)}},pe=d()((function(e){return{baseTag:Z([S,R],e),bodyAttributes:V(g,e),defer:Y(e,N),encode:Y(e,D),htmlAttributes:V(v,e),linkTags:K(y.LINK,[A,S],e),metaTags:K(y.META,[C,w,E,_,T],e),noscriptTags:K(y.NOSCRIPT,[x],e),onChangeClientState:W(e),scriptTags:K(y.SCRIPT,[O,x],e),styleTags:K(y.STYLE,[k],e),title:H(e),titleAttributes:V(b,e)}}),(function(e){ne&&ee(ne),e.defer?ne=J((function(){re(e,(function(){ne=null}))})):(re(e),ne=null)}),de)((function(){return null})),fe=(a=pe,i=o=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!f()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,a=e.newChildProps,o=e.nestedChildren;return $({},r,((t={})[n.type]=[].concat(r[n.type]||[],[$({},a,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,a=e.newProps,o=e.newChildProps,i=e.nestedChildren;switch(r.type){case y.TITLE:return $({},a,((t={})[r.type]=i,t.titleAttributes=$({},o),t));case y.BODY:return $({},a,{bodyAttributes:$({},o)});case y.HTML:return $({},a,{htmlAttributes:$({},o)})}return $({},a,((n={})[r.type]=$({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=$({},t);return Object.keys(e).forEach((function(t){var r;n=$({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return l.Children.forEach(e,(function(e){if(e&&e.props){var a=e.props,o=a.children,i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[j[n]||n]=e[n],t}),t)}(q(a,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:i,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:i,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=q(e,["children"]),r=$({},n);return t&&(r=this.mapChildrenToProps(t,r)),l.createElement(a,r)},U(t,null,[{key:"canUseDOM",set:function(e){a.canUseDOM=e}}]),t}(l.Component),o.propTypes={base:u().object,bodyAttributes:u().object,children:u().oneOfType([u().arrayOf(u().node),u().node]),defaultTitle:u().string,defer:u().bool,encodeSpecialCharacters:u().bool,htmlAttributes:u().object,link:u().arrayOf(u().object),meta:u().arrayOf(u().object),noscript:u().arrayOf(u().object),onChangeClientState:u().func,script:u().arrayOf(u().object),style:u().arrayOf(u().object),title:u().string,titleAttributes:u().object,titleTemplate:u().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=a.peek,o.rewind=function(){var e=a.rewind();return e||(e=de({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},i);fe.renderStatic=fe.rewind;const me=function(e){return l.createElement(fe,Object.assign({},e))}},24748:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(67294).createContext(null)},46291:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(18790).H},52263:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(67294),a=n(24748);const o=function(){const e=(0,r.useContext)(a.Z);if(null===e)throw new Error("Docusaurus context not provided");return e}},82203:(e,t,n)=>{"use strict";function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(){return i=Object.assign||function(e){for(var t=1;t{"use strict";n.r(t);var r=n(87410),a=n(10412),o=n(99782);(e=>{if(a.Z.canUseDOM){const{themeConfig:{prism:{additionalLanguages:t=[]}={}}}=o.default;window.Prism=e,t.forEach((e=>{n(6726)(`./prism-${e}`)})),delete window.Prism}})(r.Z)},90071:(e,t,n)=>{"use strict";n.d(t,{lX:()=>E,q_:()=>O,ob:()=>h,PP:()=>P,Ep:()=>m,Hp:()=>g});var r=n(87462);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!u)for(;d--;d)i.unshift("..");!u||""===i[0]||i[0]&&a(i[0])||i.unshift("");var m=i.join("/");return n&&"/"!==m.substr(-1)&&(m+="/"),m};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}const s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=l(t),a=l(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1};var u=n(38776);function c(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function p(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function f(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function m(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function h(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=h(e,t,p(),w.location);c.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(59864),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=f(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=s(t),h=s(n),g=0;g{"use strict";n.r(t)},27771:(e,t,n)=>{"use strict";n.r(t)},52295:(e,t,n)=>{"use strict";n.r(t)},74865:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),u=o.querySelector(r.barSelector),c=r.speed,d=r.easing;return o.offsetWidth,l((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,i(e,c,d)),1===e?(s(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){s(o,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),c)}),c)):setTimeout(t,c)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),l=e?"-100":o(n.status||0),u=document.querySelector(r.parent);return s(i,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&f(a),u!=document.body&&c(u,"nprogress-custom-parent"),u.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&f(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),s=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function u(e,t){return("string"==typeof e?e:p(e)).indexOf(" "+t+" ")>=0}function c(e,t){var n=p(e),r=n+t;u(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=p(e);u(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function p(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function f(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},27418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,a){for(var o,i,l=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s{"use strict";n.d(t,{Z:()=>o});var r=function(){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,t=0,n={},r={util:{encode:function e(t){return t instanceof a?new a(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=d.reach);E+=S.value.length,S=S.next){var x=S.value;if(t.length>e.length)return;if(!(x instanceof a)){var T,C=1;if(b){if(!(T=o(k,E,e,v))||T.index>=e.length)break;var _=T.index,A=T.index+T[0].length,O=E;for(O+=S.value.length;_>=O;)O+=(S=S.next).value.length;if(E=O-=S.value.length,S.value instanceof a)continue;for(var R=S;R!==t.tail&&(Od.reach&&(d.reach=D);var I=S.prev;if(L&&(I=s(t,I,L),E+=L.length),u(t,I,C),S=s(t,I,new a(p,g?r.tokenize(P,g):P,y,P)),N&&s(t,S,N),C>1){var F={cause:p+","+m,reach:D};i(e,t,n,S.prev,E,F),d&&F.reach>d.reach&&(d.reach=F.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function s(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a"+o.content+""},r}(),a=r;r.default=r,a.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))})),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[t]},n.cdata=/^$/i;var r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:a.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},a.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(e,t){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:a.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.c=a.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),a.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),a.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},a.languages.c.string],char:a.languages.c.char,comment:a.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:a.languages.c}}}}),a.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete a.languages.c.boolean,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,(function(){return t.source}))),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,(function(){return n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(a),function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(a),function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(a),a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(a),function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return e}));return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return r}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return r})).replace(/<>/g,(function(){return"(?:"+a+"|"+o+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(a),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return r})),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])}))})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},s=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(a),a.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:a.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},a.hooks.add("after-tokenize",(function(e){if("graphql"===e.language)for(var t=e.tokens.filter((function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type})),n=0;n0)){var l=p(/^\{$/,/^\}$/);if(-1===l)continue;for(var s=n;s=0&&f(u,"variable-input")}}}}function c(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function l(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function u(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function c(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,c={},d=s(a.map((function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=l(i++,r)););return c[n]=a,n})).join(""),n,r),p=Object.keys(c);return i=0,function e(t){for(var n=0;n=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=p[i],o="string"==typeof r?r:r.content,l=o.indexOf(a);if(-1!==l){++i;var s=o.substring(0,l),d=u(c[a]),f=o.substring(l+a.length),m=[];if(s&&m.push(s),m.push(d),f){var h=[f];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",(function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(a),function(e){function t(e,t){return RegExp(e.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r*\.{3}(?:[^{}]|)*\})/.source;function o(e,t){return e=e.replace(//g,(function(){return n})).replace(//g,(function(){return r})).replace(//g,(function(){return a})),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},l=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var s=i(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(s=i(t[r-1])+s,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",s,null,s)}a.content&&"string"!=typeof a.content&&l(a.content)}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||l(e.tokens)}))}(a),function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach((function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}})),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(a),a.languages.git={comment:/^#.*/m,deleted:/^[-\u2013].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m},a.languages.go=a.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),a.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete a.languages.go["class-name"],function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,l=i.length;-1!==n.code.indexOf(a=t(r,l));)++l;return i[l]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(l){for(var s=0;s=o.length);s++){var u=l[s];if("string"==typeof u||u.content&&"string"==typeof u.content){var c=o[a],d=n.tokenStack[c],p="string"==typeof u?u:u.content,f=t(r,c),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),v=p.substring(m+f.length),b=[];h&&b.push.apply(b,i([h])),b.push(g),v&&b.push.apply(b,i([v])),"string"==typeof u?l.splice.apply(l,[s,1].concat(b)):u.content=b}}else u.content&&i(u.content)}return l}(n.tokens)}}}})}(a),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",(function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")})),e.languages.hbs=e.languages.handlebars}(a),a.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},a.languages.webmanifest=a.languages.json,a.languages.less=a.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),a.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}}),a.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/},a.languages.objectivec=a.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete a.languages.objectivec["class-name"],a.languages.objc=a.languages.objectivec,a.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/},a.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},a.languages.python["string-interpolation"].inside.interpolation.inside.rest=a.languages.python,a.languages.py=a.languages.python,a.languages.reason=a.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),a.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete a.languages.reason.function,function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(a),a.languages.scss=a.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),a.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),a.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),a.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),a.languages.scss.atrule.inside.rest=a.languages.scss,function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(a),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(a),a.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/};const o=a},29901:e=>{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},2885:(e,t,n)=>{const r=n(29901),a=n(39642),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(16500).resolve(t)],delete Prism.languages[e],n(16500)(t),o.add(e)}))}i.silent=!1,e.exports=i},6726:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=6726},16500:(e,t,n)=>{var r={"./":2885};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=16500},39642:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var l={},s=e[r];if(s){function u(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in l))for(var i in a(t,o),l[t]=!0,n[t])l[i]=!0}t(s.require,u),t(s.optional,u),t(s.modify,u)}n[r]=l,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,l){var s=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),u=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(s);i=i.map(u),l=(l||[]).map(u);var c=n(i),d=n(l);i.forEach((function e(n){var r=s[n];t(r&&r.require,(function(t){t in d||(c[t]=!0,e(t))}))}));for(var p,f=r(s),m=c;a(m);){for(var h in p={},m){var g=s[h];t(g&&g.modify,(function(e){e in d&&(p[e]=!0)}))}for(var v in d)if(!(v in c))for(var b in f(v))if(b in c){p[v]=!0;break}for(var y in m=p)c[y]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,l={},s={};function u(e){if(e in l)return l[e];s[e]=!0;var a,c=[];for(var d in t(e))d in n&&c.push(d);if(0===c.length)a=r(e);else{var p=i(c.map((function(e){var t=u(e);return delete s[e],t})));o?a=o(p,(function(){return r(e)})):r(e)}return l[e]=a}for(var c in n)u(c);var d=[];for(var p in s)d.push(l[p]);return i(d)}(f,c,t,n)}};return w}}();e.exports=t},92703:(e,t,n)=>{"use strict";var r=n(50414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},45697:(e,t,n)=>{e.exports=n(92703)()},50414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},64448:(e,t,n)=>{"use strict";var r=n(67294),a=n(27418),o=n(54142);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n